From 16deb2b094412bd07193200335ced89d40f5b41c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 1 Apr 2023 00:01:55 +0000 Subject: [PATCH 1/2] feat: Add client library support for AssetService v1 AnalyzeOrgPolicies API feat: Add client library support for AssetService v1 AnalyzeOrgPolicyGovernedContainers API feat: Add client library support for AssetService v1 AnalyzeOrgPolicyGovernedAssets API PiperOrigin-RevId: 520696122 Source-Link: https://github.com/googleapis/googleapis/commit/fb446a2f9b93ddc39f4417d65e0334e71908811d Source-Link: https://github.com/googleapis/googleapis-gen/commit/f4b9936403faf847180a353636be515d21d5cac4 Copy-Tag: eyJwIjoiamF2YS1hc3NldC8uT3dsQm90LnlhbWwiLCJoIjoiZjRiOTkzNjQwM2ZhZjg0NzE4MGEzNTM2MzZiZTUxNWQyMWQ1Y2FjNCJ9 --- .../cloud/asset/v1/AssetServiceGrpc.java | 3201 ------------ .../asset/v1p2beta1/AssetServiceGrpc.java | 814 --- ...IamPolicyLongrunningResponseOrBuilder.java | 24 - .../AnalyzerOrgPolicyConstraintOrBuilder.java | 112 - .../com/google/cloud/asset/v1/AssetProto.java | 620 --- .../cloud/asset/v1/AssetServiceProto.java | 1670 ------ .../asset/v1/DeleteFeedRequestOrBuilder.java | 60 - .../asset/v1/GetFeedRequestOrBuilder.java | 60 - .../v1/GetSavedQueryRequestOrBuilder.java | 60 - .../cloud/asset/v1/MoveImpactOrBuilder.java | 50 - .../v1/QueryAssetsOutputConfigOrBuilder.java | 67 - .../cloud/asset/v1p1beta1/AssetProto.java | 163 - .../asset/v1p1beta1/AssetServiceProto.java | 150 - .../cloud/asset/v1p2beta1/AssetProto.java | 126 - .../asset/v1p2beta1/AssetServiceProto.java | 270 - .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 60 - .../v1p2beta1/GetFeedRequestOrBuilder.java | 60 - .../cloud/asset/v1p5beta1/AssetProto.java | 132 - .../asset/v1p5beta1/AssetServiceProto.java | 125 - .../cloud/asset/v1p7beta1/AssetProto.java | 193 - .../asset/v1p7beta1/AssetServiceProto.java | 226 - .../cloud/asset/v1/AssetServiceClient.java | 10 +- .../cloud/asset/v1/AssetServiceSettings.java | 1 + .../google/cloud/asset/v1/gapic_metadata.json | 0 .../google/cloud/asset/v1/package-info.java | 0 .../cloud/asset/v1/stub/AssetServiceStub.java | 0 .../v1/stub/AssetServiceStubSettings.java | 12 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../asset/v1/stub/GrpcAssetServiceStub.java | 1 + .../HttpJsonAssetServiceCallableFactory.java | 0 .../v1/stub/HttpJsonAssetServiceStub.java | 1 + .../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 | 2475 +++++++++ .../AnalyzeIamPolicyLongrunningMetadata.java | 407 +- ...IamPolicyLongrunningMetadataOrBuilder.java | 35 +- .../AnalyzeIamPolicyLongrunningRequest.java | 641 +-- ...eIamPolicyLongrunningRequestOrBuilder.java | 67 +- .../AnalyzeIamPolicyLongrunningResponse.java | 265 +- ...IamPolicyLongrunningResponseOrBuilder.java | 9 + .../asset/v1/AnalyzeIamPolicyRequest.java | 616 +-- .../v1/AnalyzeIamPolicyRequestOrBuilder.java | 67 +- .../asset/v1/AnalyzeIamPolicyResponse.java | 1549 ++---- .../v1/AnalyzeIamPolicyResponseOrBuilder.java | 83 +- .../cloud/asset/v1/AnalyzeMoveRequest.java | 522 +- .../asset/v1/AnalyzeMoveRequestOrBuilder.java | 42 +- .../cloud/asset/v1/AnalyzeMoveResponse.java | 407 +- .../v1/AnalyzeMoveResponseOrBuilder.java | 36 +- .../asset/v1/AnalyzeOrgPoliciesRequest.java | 580 +-- .../AnalyzeOrgPoliciesRequestOrBuilder.java | 60 +- .../asset/v1/AnalyzeOrgPoliciesResponse.java | 1269 ++--- .../AnalyzeOrgPoliciesResponseOrBuilder.java | 77 +- ...AnalyzeOrgPolicyGovernedAssetsRequest.java | 610 +-- ...gPolicyGovernedAssetsRequestOrBuilder.java | 60 +- ...nalyzeOrgPolicyGovernedAssetsResponse.java | 3790 +++++--------- ...PolicyGovernedAssetsResponseOrBuilder.java | 79 +- ...yzeOrgPolicyGovernedContainersRequest.java | 622 +-- ...icyGovernedContainersRequestOrBuilder.java | 60 +- ...zeOrgPolicyGovernedContainersResponse.java | 1609 ++---- ...cyGovernedContainersResponseOrBuilder.java | 80 +- .../cloud/asset/v1/AnalyzerOrgPolicy.java | 1807 +++---- .../asset/v1/AnalyzerOrgPolicyConstraint.java | 4039 +++++---------- .../AnalyzerOrgPolicyConstraintOrBuilder.java | 65 + .../asset/v1/AnalyzerOrgPolicyOrBuilder.java | 60 +- .../java/com/google/cloud/asset/v1/Asset.java | 1619 ++---- .../google/cloud/asset/v1/AssetOrBuilder.java | 164 +- .../com/google/cloud/asset/v1/AssetProto.java | 505 ++ .../cloud/asset/v1/AssetServiceProto.java | 1474 ++++++ .../cloud/asset/v1/AttachedResource.java | 455 +- .../asset/v1/AttachedResourceOrBuilder.java | 45 +- .../v1/BatchGetAssetsHistoryRequest.java | 818 ++- ...BatchGetAssetsHistoryRequestOrBuilder.java | 105 +- .../v1/BatchGetAssetsHistoryResponse.java | 416 +- ...atchGetAssetsHistoryResponseOrBuilder.java | 36 +- .../BatchGetEffectiveIamPoliciesRequest.java | 526 +- ...tEffectiveIamPoliciesRequestOrBuilder.java | 69 +- .../BatchGetEffectiveIamPoliciesResponse.java | 1991 +++----- ...EffectiveIamPoliciesResponseOrBuilder.java | 62 +- .../cloud/asset/v1/BigQueryDestination.java | 557 +- .../v1/BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1/ConditionEvaluation.java | 386 +- .../v1/ConditionEvaluationOrBuilder.java | 24 +- .../google/cloud/asset/v1/ContentType.java | 110 +- .../cloud/asset/v1/CreateFeedRequest.java | 487 +- .../asset/v1/CreateFeedRequestOrBuilder.java | 48 +- .../asset/v1/CreateSavedQueryRequest.java | 598 +-- .../v1/CreateSavedQueryRequestOrBuilder.java | 72 +- .../cloud/asset/v1/DeleteFeedRequest.java | 350 +- .../asset/v1/DeleteFeedRequestOrBuilder.java | 35 + .../asset/v1/DeleteSavedQueryRequest.java | 353 +- .../v1/DeleteSavedQueryRequestOrBuilder.java | 35 +- .../cloud/asset/v1/ExportAssetsRequest.java | 833 ++- .../v1/ExportAssetsRequestOrBuilder.java | 105 +- .../cloud/asset/v1/ExportAssetsResponse.java | 528 +- .../v1/ExportAssetsResponseOrBuilder.java | 42 +- .../java/com/google/cloud/asset/v1/Feed.java | 886 ++-- .../com/google/cloud/asset/v1/FeedName.java | 0 .../google/cloud/asset/v1/FeedOrBuilder.java | 115 +- .../cloud/asset/v1/FeedOutputConfig.java | 377 +- .../asset/v1/FeedOutputConfigOrBuilder.java | 26 +- .../com/google/cloud/asset/v1/FolderName.java | 0 .../google/cloud/asset/v1/GcsDestination.java | 468 +- .../asset/v1/GcsDestinationOrBuilder.java | 42 +- .../cloud/asset/v1/GcsOutputResult.java | 347 +- .../asset/v1/GcsOutputResultOrBuilder.java | 36 +- .../google/cloud/asset/v1/GetFeedRequest.java | 343 +- .../asset/v1/GetFeedRequestOrBuilder.java | 35 + .../cloud/asset/v1/GetSavedQueryRequest.java | 346 +- .../v1/GetSavedQueryRequestOrBuilder.java | 35 + .../v1/IamPolicyAnalysisOutputConfig.java | 1843 +++---- ...amPolicyAnalysisOutputConfigOrBuilder.java | 67 +- .../asset/v1/IamPolicyAnalysisQuery.java | 3260 +++++------- .../v1/IamPolicyAnalysisQueryOrBuilder.java | 139 +- .../asset/v1/IamPolicyAnalysisResult.java | 4473 ++++++----------- .../v1/IamPolicyAnalysisResultOrBuilder.java | 91 +- .../asset/v1/IamPolicyAnalysisState.java | 369 +- .../v1/IamPolicyAnalysisStateOrBuilder.java | 33 +- .../cloud/asset/v1/IamPolicySearchResult.java | 1959 +++----- .../v1/IamPolicySearchResultOrBuilder.java | 88 +- .../cloud/asset/v1/ListAssetsRequest.java | 792 ++- .../asset/v1/ListAssetsRequestOrBuilder.java | 97 +- .../cloud/asset/v1/ListAssetsResponse.java | 563 +-- .../asset/v1/ListAssetsResponseOrBuilder.java | 54 +- .../cloud/asset/v1/ListFeedsRequest.java | 318 +- .../asset/v1/ListFeedsRequestOrBuilder.java | 27 +- .../cloud/asset/v1/ListFeedsResponse.java | 412 +- .../asset/v1/ListFeedsResponseOrBuilder.java | 37 +- .../asset/v1/ListSavedQueriesRequest.java | 548 +- .../v1/ListSavedQueriesRequestOrBuilder.java | 60 +- .../asset/v1/ListSavedQueriesResponse.java | 489 +- .../v1/ListSavedQueriesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/MoveAnalysis.java | 534 +- .../cloud/asset/v1/MoveAnalysisOrBuilder.java | 43 +- .../cloud/asset/v1/MoveAnalysisResult.java | 560 +-- .../asset/v1/MoveAnalysisResultOrBuilder.java | 54 +- .../com/google/cloud/asset/v1/MoveImpact.java | 311 +- .../cloud/asset/v1/MoveImpactOrBuilder.java | 29 + .../cloud/asset/v1/OrganizationName.java | 0 .../google/cloud/asset/v1/OutputConfig.java | 468 +- .../cloud/asset/v1/OutputConfigOrBuilder.java | 34 +- .../google/cloud/asset/v1/OutputResult.java | 372 +- .../cloud/asset/v1/OutputResultOrBuilder.java | 26 +- .../google/cloud/asset/v1/PartitionSpec.java | 373 +- .../asset/v1/PartitionSpecOrBuilder.java | 24 +- .../google/cloud/asset/v1/ProjectName.java | 168 + .../cloud/asset/v1/PubsubDestination.java | 318 +- .../asset/v1/PubsubDestinationOrBuilder.java | 27 +- .../asset/v1/QueryAssetsOutputConfig.java | 963 ++-- .../v1/QueryAssetsOutputConfigOrBuilder.java | 36 + .../cloud/asset/v1/QueryAssetsRequest.java | 1217 ++--- .../asset/v1/QueryAssetsRequestOrBuilder.java | 136 +- .../cloud/asset/v1/QueryAssetsResponse.java | 676 +-- .../v1/QueryAssetsResponseOrBuilder.java | 54 +- .../google/cloud/asset/v1/QueryResult.java | 604 +-- .../cloud/asset/v1/QueryResultOrBuilder.java | 57 +- .../google/cloud/asset/v1/RelatedAsset.java | 556 +- .../cloud/asset/v1/RelatedAssetOrBuilder.java | 63 +- .../google/cloud/asset/v1/RelatedAssets.java | 516 +- .../asset/v1/RelatedAssetsOrBuilder.java | 45 +- .../cloud/asset/v1/RelatedResource.java | 390 +- .../asset/v1/RelatedResourceOrBuilder.java | 36 +- .../cloud/asset/v1/RelatedResources.java | 393 +- .../asset/v1/RelatedResourcesOrBuilder.java | 36 +- .../asset/v1/RelationshipAttributes.java | 544 +- .../v1/RelationshipAttributesOrBuilder.java | 55 +- .../com/google/cloud/asset/v1/Resource.java | 753 ++- .../cloud/asset/v1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1/ResourceSearchResult.java | 2713 ++++------ .../v1/ResourceSearchResultOrBuilder.java | 357 +- .../com/google/cloud/asset/v1/SavedQuery.java | 1541 +++--- .../google/cloud/asset/v1/SavedQueryName.java | 0 .../cloud/asset/v1/SavedQueryOrBuilder.java | 129 +- .../asset/v1/SearchAllIamPoliciesRequest.java | 683 +-- .../SearchAllIamPoliciesRequestOrBuilder.java | 75 +- .../v1/SearchAllIamPoliciesResponse.java | 490 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../asset/v1/SearchAllResourcesRequest.java | 799 ++- .../SearchAllResourcesRequestOrBuilder.java | 92 +- .../asset/v1/SearchAllResourcesResponse.java | 486 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../cloud/asset/v1/TableFieldSchema.java | 620 +-- .../asset/v1/TableFieldSchemaOrBuilder.java | 63 +- .../google/cloud/asset/v1/TableSchema.java | 400 +- .../cloud/asset/v1/TableSchemaOrBuilder.java | 36 +- .../google/cloud/asset/v1/TemporalAsset.java | 685 +-- .../asset/v1/TemporalAssetOrBuilder.java | 51 +- .../com/google/cloud/asset/v1/TimeWindow.java | 408 +- .../cloud/asset/v1/TimeWindowOrBuilder.java | 34 +- .../cloud/asset/v1/UpdateFeedRequest.java | 457 +- .../asset/v1/UpdateFeedRequestOrBuilder.java | 43 +- .../asset/v1/UpdateSavedQueryRequest.java | 526 +- .../v1/UpdateSavedQueryRequestOrBuilder.java | 55 +- .../cloud/asset/v1/VersionedResource.java | 401 +- .../asset/v1/VersionedResourceOrBuilder.java | 35 +- .../google/cloud/asset/v1/asset_service.proto | 32 +- .../proto/google/cloud/asset/v1/assets.proto | 4 +- .../AsyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../AsyncAnalyzeIamPolicyLongrunning.java | 0 .../AsyncAnalyzeIamPolicyLongrunningLRO.java | 0 .../SyncAnalyzeIamPolicyLongrunning.java | 0 .../analyzemove/AsyncAnalyzeMove.java | 0 .../analyzemove/SyncAnalyzeMove.java | 0 .../AsyncAnalyzeOrgPolicies.java | 0 .../AsyncAnalyzeOrgPoliciesPaged.java | 0 .../SyncAnalyzeOrgPolicies.java | 0 ...cAnalyzeOrgPoliciesStringStringString.java | 0 .../AsyncAnalyzeOrgPolicyGovernedAssets.java | 0 ...ncAnalyzeOrgPolicyGovernedAssetsPaged.java | 0 .../SyncAnalyzeOrgPolicyGovernedAssets.java | 0 ...olicyGovernedAssetsStringStringString.java | 0 ...yncAnalyzeOrgPolicyGovernedContainers.java | 0 ...alyzeOrgPolicyGovernedContainersPaged.java | 0 ...yncAnalyzeOrgPolicyGovernedContainers.java | 0 ...yGovernedContainersStringStringString.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 .../v1/assetservice/getfeed/AsyncGetFeed.java | 0 .../v1/assetservice/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 .../assetservice/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 .../queryassets/AsyncQueryAssets.java | 0 .../queryassets/SyncQueryAssets.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 | 0 .../asset/v1p1beta1/AssetServiceSettings.java | 1 + .../cloud/asset/v1p1beta1/gapic_metadata.json | 0 .../cloud/asset/v1p1beta1/package-info.java | 0 .../v1p1beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../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 | 328 +- .../cloud/asset/v1p1beta1/AssetProto.java | 129 + .../asset/v1p1beta1/AssetServiceProto.java | 132 + .../v1p1beta1/IamPolicySearchResult.java | 1196 ++--- .../IamPolicySearchResultOrBuilder.java | 55 +- .../cloud/asset/v1p1beta1/Permissions.java | 347 +- .../asset/v1p1beta1/PermissionsOrBuilder.java | 36 +- .../SearchAllIamPoliciesRequest.java | 517 +- .../SearchAllIamPoliciesRequestOrBuilder.java | 48 +- .../SearchAllIamPoliciesResponse.java | 487 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../v1p1beta1/SearchAllResourcesRequest.java | 683 +-- .../SearchAllResourcesRequestOrBuilder.java | 75 +- .../v1p1beta1/SearchAllResourcesResponse.java | 493 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/StandardResourceMetadata.java | 1147 ++--- .../StandardResourceMetadataOrBuilder.java | 138 +- .../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 | 0 .../SyncSearchAllResources.java | 0 .../SyncSearchAllResources.java | 0 .../asset/v1p2beta1/AssetServiceClient.java | 0 .../asset/v1p2beta1/AssetServiceSettings.java | 1 + .../cloud/asset/v1p2beta1/gapic_metadata.json | 0 .../cloud/asset/v1p2beta1/package-info.java | 0 .../v1p2beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../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 | 671 +++ .../google/cloud/asset/v1p2beta1/Asset.java | 664 +-- .../cloud/asset/v1p2beta1/AssetOrBuilder.java | 70 +- .../cloud/asset/v1p2beta1/AssetProto.java | 108 + .../asset/v1p2beta1/AssetServiceProto.java | 245 + .../cloud/asset/v1p2beta1/ContentType.java | 82 +- .../asset/v1p2beta1/CreateFeedRequest.java | 516 +- .../v1p2beta1/CreateFeedRequestOrBuilder.java | 53 +- .../asset/v1p2beta1/DeleteFeedRequest.java | 357 +- .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 35 + .../google/cloud/asset/v1p2beta1/Feed.java | 720 +-- .../cloud/asset/v1p2beta1/FeedName.java | 0 .../cloud/asset/v1p2beta1/FeedOrBuilder.java | 89 +- .../asset/v1p2beta1/FeedOutputConfig.java | 397 +- .../v1p2beta1/FeedOutputConfigOrBuilder.java | 26 +- .../cloud/asset/v1p2beta1/GcsDestination.java | 379 +- .../v1p2beta1/GcsDestinationOrBuilder.java | 30 +- .../cloud/asset/v1p2beta1/GetFeedRequest.java | 349 +- .../v1p2beta1/GetFeedRequestOrBuilder.java | 35 + .../asset/v1p2beta1/ListFeedsRequest.java | 325 +- .../v1p2beta1/ListFeedsRequestOrBuilder.java | 27 +- .../asset/v1p2beta1/ListFeedsResponse.java | 417 +- .../v1p2beta1/ListFeedsResponseOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/OutputConfig.java | 377 +- .../v1p2beta1/OutputConfigOrBuilder.java | 26 +- .../asset/v1p2beta1/PubsubDestination.java | 325 +- .../v1p2beta1/PubsubDestinationOrBuilder.java | 27 +- .../cloud/asset/v1p2beta1/Resource.java | 690 +-- .../asset/v1p2beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p2beta1/TemporalAsset.java | 471 +- .../v1p2beta1/TemporalAssetOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/TimeWindow.java | 415 +- .../asset/v1p2beta1/TimeWindowOrBuilder.java | 34 +- .../asset/v1p2beta1/UpdateFeedRequest.java | 500 +- .../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 | 0 .../deletefeed/SyncDeleteFeedFeedname.java | 0 .../deletefeed/SyncDeleteFeedString.java | 0 .../assetservice/getfeed/AsyncGetFeed.java | 0 .../assetservice/getfeed/SyncGetFeed.java | 0 .../getfeed/SyncGetFeedFeedname.java | 0 .../getfeed/SyncGetFeedString.java | 0 .../listfeeds/AsyncListFeeds.java | 0 .../assetservice/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/v1p5beta1/AssetServiceClient.java | 0 .../asset/v1p5beta1/AssetServiceSettings.java | 1 + .../cloud/asset/v1p5beta1/gapic_metadata.json | 0 .../cloud/asset/v1p5beta1/package-info.java | 0 .../v1p5beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../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 | 211 +- .../google/cloud/asset/v1p5beta1/Asset.java | 1204 ++--- .../cloud/asset/v1p5beta1/AssetOrBuilder.java | 118 +- .../cloud/asset/v1p5beta1/AssetProto.java | 107 + .../asset/v1p5beta1/AssetServiceProto.java | 109 + .../cloud/asset/v1p5beta1/ContentType.java | 96 +- .../asset/v1p5beta1/ListAssetsRequest.java | 701 +-- .../v1p5beta1/ListAssetsRequestOrBuilder.java | 79 +- .../asset/v1p5beta1/ListAssetsResponse.java | 568 +-- .../ListAssetsResponseOrBuilder.java | 53 +- .../cloud/asset/v1p5beta1/Resource.java | 690 +-- .../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 .../SyncListAssetsResourcename.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssets.java | 0 .../asset/v1p7beta1/AssetServiceClient.java | 0 .../asset/v1p7beta1/AssetServiceSettings.java | 1 + .../cloud/asset/v1p7beta1/gapic_metadata.json | 0 .../cloud/asset/v1p7beta1/package-info.java | 0 .../v1p7beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../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 | 203 +- .../google/cloud/asset/v1p7beta1/Asset.java | 1389 ++--- .../cloud/asset/v1p7beta1/AssetOrBuilder.java | 134 +- .../cloud/asset/v1p7beta1/AssetProto.java | 157 + .../asset/v1p7beta1/AssetServiceProto.java | 199 + .../asset/v1p7beta1/BigQueryDestination.java | 565 +-- .../BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1p7beta1/ContentType.java | 103 +- .../asset/v1p7beta1/ExportAssetsRequest.java | 841 ++-- .../ExportAssetsRequestOrBuilder.java | 105 +- .../asset/v1p7beta1/ExportAssetsResponse.java | 534 +- .../ExportAssetsResponseOrBuilder.java | 42 +- .../cloud/asset/v1p7beta1/GcsDestination.java | 474 +- .../v1p7beta1/GcsDestinationOrBuilder.java | 42 +- .../asset/v1p7beta1/GcsOutputResult.java | 357 +- .../v1p7beta1/GcsOutputResultOrBuilder.java | 36 +- .../cloud/asset/v1p7beta1/OutputConfig.java | 489 +- .../v1p7beta1/OutputConfigOrBuilder.java | 34 +- .../cloud/asset/v1p7beta1/OutputResult.java | 376 +- .../v1p7beta1/OutputResultOrBuilder.java | 26 +- .../cloud/asset/v1p7beta1/PartitionSpec.java | 379 +- .../v1p7beta1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1p7beta1/RelatedAsset.java | 493 +- .../v1p7beta1/RelatedAssetOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/RelatedAssets.java | 543 +- .../v1p7beta1/RelatedAssetsOrBuilder.java | 47 +- .../v1p7beta1/RelationshipAttributes.java | 546 +- .../RelationshipAttributesOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/Resource.java | 762 ++- .../asset/v1p7beta1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1p7beta1/asset_service.proto | 0 .../google/cloud/asset/v1p7beta1/assets.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../exportassets/AsyncExportAssets.java | 0 .../exportassets/AsyncExportAssetsLRO.java | 0 .../exportassets/SyncExportAssets.java | 0 .../exportassets/SyncExportAssets.java | 0 .../exportassets/SyncExportAssets.java | 0 492 files changed, 41721 insertions(+), 69920 deletions(-) delete mode 100644 java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java delete mode 100644 java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java delete mode 100644 java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java (100%) create mode 100644 owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java (60%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java (53%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java (65%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java (60%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java (58%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java (77%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java (79%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java (59%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java (80%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java (56%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java (63%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java (77%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java (89%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java (62%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java (64%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java (90%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java (55%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java (66%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java (62%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java (62%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java (64%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java (50%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java (79%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java (87%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java (89%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java (61%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java (84%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java (62%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java (63%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java (64%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java (66%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java (50%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java (58%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java (89%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java (89%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java (59%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java (55%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java (77%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java (79%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java (64%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java (60%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java (55%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java (65%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java (50%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java (68%) create mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java (79%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java (80%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java (60%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java (64%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java (65%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java (83%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java (91%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java (84%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java (92%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java (86%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java (93%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java (61%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java (80%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java (66%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java (65%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java (80%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto (99%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1}/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java (54%) create mode 100644 owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java create mode 100644 owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java (61%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java (78%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java (71%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p1beta1}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java (100%) create mode 100644 owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java create mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java (66%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java (76%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java (62%) create mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java (83%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java (63%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java (63%) create mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java (60%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java (59%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java (62%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java (65%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java (51%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java (73%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p2beta1}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java (55%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java (78%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java (90%) create mode 100644 owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java create mode 100644 owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java (78%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java (86%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p5beta1}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java (99%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java (63%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java (78%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java (90%) create mode 100644 owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java create mode 100644 owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java (89%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java (78%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java (86%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java (81%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java (74%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java (62%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java (67%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java (61%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java (68%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java (56%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java (80%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java (69%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java (72%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java (70%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java (66%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java (75%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java (82%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java (100%) rename {java-asset => owl-bot-staging/java-asset/v1p7beta1}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java (100%) diff --git a/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java deleted file mode 100644 index e767cdd1692e..000000000000 --- a/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java +++ /dev/null @@ -1,3201 +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.QueryAssetsRequest, - com.google.cloud.asset.v1.QueryAssetsResponse> - getQueryAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryAssets", - requestType = com.google.cloud.asset.v1.QueryAssetsRequest.class, - responseType = com.google.cloud.asset.v1.QueryAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.QueryAssetsRequest, - com.google.cloud.asset.v1.QueryAssetsResponse> - getQueryAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.QueryAssetsRequest, - com.google.cloud.asset.v1.QueryAssetsResponse> - getQueryAssetsMethod; - if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { - AssetServiceGrpc.getQueryAssetsMethod = - getQueryAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.QueryAssetsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.QueryAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("QueryAssets")) - .build(); - } - } - } - return getQueryAssetsMethod; - } - - 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; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> - getAnalyzeOrgPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicies", - requestType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> - getAnalyzeOrgPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> - getAnalyzeOrgPoliciesMethod; - if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { - AssetServiceGrpc.getAnalyzeOrgPoliciesMethod = - getAnalyzeOrgPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicies")) - .build(); - } - } - } - return getAnalyzeOrgPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> - getAnalyzeOrgPolicyGovernedContainersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedContainers", - requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> - getAnalyzeOrgPolicyGovernedContainersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> - getAnalyzeOrgPolicyGovernedContainersMethod; - if ((getAnalyzeOrgPolicyGovernedContainersMethod = - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) - == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeOrgPolicyGovernedContainersMethod = - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) - == null) { - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod = - getAnalyzeOrgPolicyGovernedContainersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "AnalyzeOrgPolicyGovernedContainers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier( - "AnalyzeOrgPolicyGovernedContainers")) - .build(); - } - } - } - return getAnalyzeOrgPolicyGovernedContainersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> - getAnalyzeOrgPolicyGovernedAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedAssets", - requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> - getAnalyzeOrgPolicyGovernedAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> - getAnalyzeOrgPolicyGovernedAssetsMethod; - if ((getAnalyzeOrgPolicyGovernedAssetsMethod = - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) - == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeOrgPolicyGovernedAssetsMethod = - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) - == null) { - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod = - getAnalyzeOrgPolicyGovernedAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicyGovernedAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier( - "AnalyzeOrgPolicyGovernedAssets")) - .build(); - } - } - } - return getAnalyzeOrgPolicyGovernedAssetsMethod; - } - - /** 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 interface AsyncService { - - /** - * - * - *
-     * 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void deleteFeed( - com.google.cloud.asset.v1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches all Google 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void analyzeMove( - com.google.cloud.asset.v1.AnalyzeMoveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeMoveMethod(), responseObserver); - } - - /** - * - * - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - default void queryAssets( - com.google.cloud.asset.v1.QueryAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getQueryAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void batchGetEffectiveIamPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetEffectiveIamPoliciesMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - default void analyzeOrgPolicies( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeOrgPoliciesMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - default void analyzeOrgPolicyGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeOrgPolicyGovernedContainersMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - default void analyzeOrgPolicyGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeOrgPolicyGovernedAssetsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AssetService. - * - *
-   * Asset service definition.
-   * 
- */ - public abstract static class AssetServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AssetServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AssetService. - * - *
-   * 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 Google 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); - } - - /** - * - * - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - public void queryAssets( - com.google.cloud.asset.v1.QueryAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryAssetsMethod(), 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); - } - - /** - * - * - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - public void analyzeOrgPolicies( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - public void analyzeOrgPolicyGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - public void analyzeOrgPolicyGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AssetService. - * - *
-   * 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 Google 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); - } - - /** - * - * - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - public com.google.cloud.asset.v1.QueryAssetsResponse queryAssets( - com.google.cloud.asset.v1.QueryAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryAssetsMethod(), 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); - } - - /** - * - * - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse analyzeOrgPolicies( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeOrgPoliciesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - analyzeOrgPolicyGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - analyzeOrgPolicyGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - * - *
-   * 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 Google 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); - } - - /** - * - * - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.QueryAssetsResponse> - queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryAssetsMethod(), 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); - } - - /** - * - * - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> - analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> - analyzeOrgPolicyGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> - analyzeOrgPolicyGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), 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_QUERY_ASSETS = 13; - private static final int METHODID_CREATE_SAVED_QUERY = 14; - private static final int METHODID_GET_SAVED_QUERY = 15; - private static final int METHODID_LIST_SAVED_QUERIES = 16; - private static final int METHODID_UPDATE_SAVED_QUERY = 17; - private static final int METHODID_DELETE_SAVED_QUERY = 18; - private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 19; - private static final int METHODID_ANALYZE_ORG_POLICIES = 20; - private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS = 21; - private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS = 22; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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_QUERY_ASSETS: - serviceImpl.queryAssets( - (com.google.cloud.asset.v1.QueryAssetsRequest) 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; - case METHODID_ANALYZE_ORG_POLICIES: - serviceImpl.analyzeOrgPolicies( - (com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS: - serviceImpl.analyzeOrgPolicyGovernedContainers( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse>) - responseObserver); - break; - case METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS: - serviceImpl.analyzeOrgPolicyGovernedAssets( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExportAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ExportAssetsRequest, - com.google.longrunning.Operation>(service, METHODID_EXPORT_ASSETS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListAssetsRequest, - com.google.cloud.asset.v1.ListAssetsResponse>(service, METHODID_LIST_ASSETS))) - .addMethod( - getBatchGetAssetsHistoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( - service, 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>( - service, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed>( - service, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListFeedsRequest, - com.google.cloud.asset.v1.ListFeedsResponse>(service, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed>( - service, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_FEED))) - .addMethod( - getSearchAllResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse>( - service, 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>( - service, 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>( - service, METHODID_ANALYZE_IAM_POLICY))) - .addMethod( - getAnalyzeIamPolicyLongrunningMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation>( - service, 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>(service, METHODID_ANALYZE_MOVE))) - .addMethod( - getQueryAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.QueryAssetsRequest, - com.google.cloud.asset.v1.QueryAssetsResponse>(service, METHODID_QUERY_ASSETS))) - .addMethod( - getCreateSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.CreateSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>(service, 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>(service, 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>( - service, 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>(service, METHODID_UPDATE_SAVED_QUERY))) - .addMethod( - getDeleteSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty>( - service, 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>( - service, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) - .addMethod( - getAnalyzeOrgPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse>( - service, METHODID_ANALYZE_ORG_POLICIES))) - .addMethod( - getAnalyzeOrgPolicyGovernedContainersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse>( - service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS))) - .addMethod( - getAnalyzeOrgPolicyGovernedAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse>( - service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS))) - .build(); - } - - 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(getQueryAssetsMethod()) - .addMethod(getCreateSavedQueryMethod()) - .addMethod(getGetSavedQueryMethod()) - .addMethod(getListSavedQueriesMethod()) - .addMethod(getUpdateSavedQueryMethod()) - .addMethod(getDeleteSavedQueryMethod()) - .addMethod(getBatchGetEffectiveIamPoliciesMethod()) - .addMethod(getAnalyzeOrgPoliciesMethod()) - .addMethod(getAnalyzeOrgPolicyGovernedContainersMethod()) - .addMethod(getAnalyzeOrgPolicyGovernedAssetsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java deleted file mode 100644 index f345060c57ec..000000000000 --- a/java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java +++ /dev/null @@ -1,814 +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 interface AsyncService { - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void deleteFeed( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AssetService. - * - *
-   * Asset service definition.
-   * 
- */ - public abstract static class AssetServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AssetServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AssetService. - * - *
-   * 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AssetService. - * - *
-   * 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); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - * - *
-   * 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - 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>(service, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>(service, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( - service, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>(service, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_FEED))) - .build(); - } - - 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java deleted file mode 100644 index 6d3510e8230e..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java deleted file mode 100644 index ef2a02c71edc..000000000000 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java +++ /dev/null @@ -1,112 +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 AnalyzerOrgPolicyConstraintOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The definition of the canned constraint defined by Google.
-   * 
- * - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - * - * @return Whether the googleDefinedConstraint field is set. - */ - boolean hasGoogleDefinedConstraint(); - /** - * - * - *
-   * The definition of the canned constraint defined by Google.
-   * 
- * - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - * - * @return The googleDefinedConstraint. - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint(); - /** - * - * - *
-   * The definition of the canned constraint defined by Google.
-   * 
- * - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder - getGoogleDefinedConstraintOrBuilder(); - - /** - * - * - *
-   * The definition of the custom constraint.
-   * 
- * - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - * - * @return Whether the customConstraint field is set. - */ - boolean hasCustomConstraint(); - /** - * - * - *
-   * The definition of the custom constraint.
-   * 
- * - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - * - * @return The customConstraint. - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint(); - /** - * - * - *
-   * The definition of the custom constraint.
-   * 
- * - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder - getCustomConstraintOrBuilder(); - - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase - getConstraintDefinitionCase(); -} diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java deleted file mode 100644 index 7372952083c9..000000000000 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java +++ /dev/null @@ -1,620 +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\"\310\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\023\n\007kms_key\030\n \001(\tB\002\030\001\022\020\n\010kms_ke" - + "ys\030\034 \003(\t\022/\n\013create_time\030\013 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022/\n\013update_time\030\014 \001(\0132\032" - + ".google.protobuf.Timestamp\022\r\n\005state\030\r \001(" - + "\t\0226\n\025additional_attributes\030\t \001(\0132\027.googl" - + "e.protobuf.Struct\022!\n\031parent_full_resourc" - + "e_name\030\023 \001(\t\022E\n\023versioned_resources\030\020 \003(" - + "\0132(.google.cloud.asset.v1.VersionedResou" - + "rce\022C\n\022attached_resources\030\024 \003(\0132\'.google" - + ".cloud.asset.v1.AttachedResource\022U\n\rrela" - + "tionships\030\025 \003(\0132>.google.cloud.asset.v1." - + "ResourceSearchResult.RelationshipsEntry\022" - + "\020\n\010tag_keys\030\027 \003(\t\022\022\n\ntag_values\030\031 \003(\t\022\025\n" - + "\rtag_value_ids\030\032 \003(\t\022\031\n\021parent_asset_typ" - + "e\030g \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\032]\n\022RelationshipsEntry\022\013\n\003" - + "key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud." - + "asset.v1.RelatedResources:\0028\001\"O\n\021Version" - + "edResource\022\017\n\007version\030\001 \001(\t\022)\n\010resource\030" - + "\002 \001(\0132\027.google.protobuf.Struct\"m\n\020Attach" - + "edResource\022\022\n\nasset_type\030\001 \001(\t\022E\n\023versio" - + "ned_resources\030\003 \003(\0132(.google.cloud.asset" - + ".v1.VersionedResource\"U\n\020RelatedResource" - + "s\022A\n\021related_resources\030\001 \003(\0132&.google.cl" - + "oud.asset.v1.RelatedResource\"A\n\017RelatedR" - + "esource\022\022\n\nasset_type\030\001 \001(\t\022\032\n\022full_reso" - + "urce_name\030\002 \001(\t\"\217\004\n\025IamPolicySearchResul" - + "t\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\007folders\030\006 \003(\t\022\024\n\014org" - + "anization\030\007 \001(\t\022%\n\006policy\030\003 \001(\0132\025.google" - + ".iam.v1.Policy\022M\n\013explanation\030\004 \001(\01328.go" - + "ogle.cloud.asset.v1.IamPolicySearchResul" - + "t.Explanation\032\241\002\n\013Explanation\022m\n\023matched" - + "_permissions\030\001 \003(\0132P.google.cloud.asset." - + "v1.IamPolicySearchResult.Explanation.Mat" - + "chedPermissionsEntry\032\"\n\013Permissions\022\023\n\013p" - + "ermissions\030\001 \003(\t\032\177\n\027MatchedPermissionsEn" - + "try\022\013\n\003key\030\001 \001(\t\022S\n\005value\030\002 \001(\0132D.google" - + ".cloud.asset.v1.IamPolicySearchResult.Ex" - + "planation.Permissions:\0028\001\"G\n\026IamPolicyAn" - + "alysisState\022\036\n\004code\030\001 \001(\0162\020.google.rpc.C" - + "ode\022\r\n\005cause\030\002 \001(\t\"\306\001\n\023ConditionEvaluati" - + "on\022T\n\020evaluation_value\030\001 \001(\0162:.google.cl" - + "oud.asset.v1.ConditionEvaluation.Evaluat" - + "ionValue\"Y\n\017EvaluationValue\022 \n\034EVALUATIO" - + "N_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\027IamPolicyAnalysi" - + "sResult\022#\n\033attached_resource_full_name\030\001" - + " \001(\t\022+\n\013iam_binding\030\002 \001(\0132\026.google.iam.v" - + "1.Binding\022^\n\024access_control_lists\030\003 \003(\0132" - + "@.google.cloud.asset.v1.IamPolicyAnalysi" - + "sResult.AccessControlList\022R\n\ridentity_li" - + "st\030\004 \001(\0132;.google.cloud.asset.v1.IamPoli" - + "cyAnalysisResult.IdentityList\022\026\n\016fully_e" - + "xplored\030\005 \001(\010\032m\n\010Resource\022\032\n\022full_resour" - + "ce_name\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-." - + "google.cloud.asset.v1.IamPolicyAnalysisS" - + "tate\032\205\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermi" - + "ssion\030\002 \001(\tH\000\022E\n\016analysis_state\030\003 \001(\0132-." - + "google.cloud.asset.v1.IamPolicyAnalysisS" - + "tateB\016\n\014oneof_access\032_\n\010Identity\022\014\n\004name" - + "\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-.google." - + "cloud.asset.v1.IamPolicyAnalysisState\0320\n" - + "\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_nod" - + "e\030\002 \001(\t\032\277\002\n\021AccessControlList\022J\n\tresourc" - + "es\030\001 \003(\01327.google.cloud.asset.v1.IamPoli" - + "cyAnalysisResult.Resource\022G\n\010accesses\030\002 " - + "\003(\01325.google.cloud.asset.v1.IamPolicyAna" - + "lysisResult.Access\022K\n\016resource_edges\030\003 \003" - + "(\01323.google.cloud.asset.v1.IamPolicyAnal" - + "ysisResult.Edge\022H\n\024condition_evaluation\030" - + "\004 \001(\0132*.google.cloud.asset.v1.ConditionE" - + "valuation\032\245\001\n\014IdentityList\022K\n\nidentities" - + "\030\001 \003(\01327.google.cloud.asset.v1.IamPolicy" - + "AnalysisResult.Identity\022H\n\013group_edges\030\002" - + " \003(\01323.google.cloud.asset.v1.IamPolicyAn" - + "alysisResult.EdgeB\215\001\n\031com.google.cloud.a" - + "sset.v1B\nAssetProtoP\001Z/cloud.google.com/" - + "go/asset/apiv1/assetpb;assetpb\370\001\001\252\002\025Goog" - + "le.Cloud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V" - + "1b\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", - "KmsKeys", - "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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java deleted file mode 100644 index b2a5e93fd40b..000000000000 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java +++ /dev/null @@ -1,1670 +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_QueryAssetsOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_TableSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TableFieldSchema_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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_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\034google/protobuf/struc" - + "t.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\032\026google/type/e" - + "xpr.proto\"[\n#AnalyzeIamPolicyLongrunning" - + "Metadata\0224\n\013create_time\030\001 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\"\251\002\n\023ExportAssetsR" - + "equest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudass" - + "et.googleapis.com/Asset\022-\n\tread_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\".goog" - + "le.cloud.asset.v1.ContentType\022?\n\routput_" - + "config\030\005 \001(\0132#.google.cloud.asset.v1.Out" - + "putConfigB\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.Timestamp\022:\n\rou" - + "tput_config\030\002 \001(\0132#.google.cloud.asset.v" - + "1.OutputConfig\022:\n\routput_result\030\003 \001(\0132#." - + "google.cloud.asset.v1.OutputResult\"\215\002\n\021L" - + "istAssetsRequest\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" - + "\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\t\022\032" - + "\n\022relationship_types\030\007 \003(\t\"\212\001\n\022ListAsset" - + "sResponse\022-\n\tread_time\030\001 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022,\n\006assets\030\002 \003(\0132\034.googl" - + "e.cloud.asset.v1.Asset\022\027\n\017next_page_toke" - + "n\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHistoryRequest" - + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.goo" - + "gleapis.com/Asset\022\023\n\013asset_names\030\002 \003(\t\022=" - + "\n\014content_type\030\003 \001(\0162\".google.cloud.asse" - + "t.v1.ContentTypeB\003\340A\001\022@\n\020read_time_windo" - + "w\030\004 \001(\0132!.google.cloud.asset.v1.TimeWind" - + "owB\003\340A\001\022\037\n\022relationship_types\030\005 \003(\tB\003\340A\001" - + "\"U\n\035BatchGetAssetsHistoryResponse\0224\n\006ass" - + "ets\030\001 \003(\0132$.google.cloud.asset.v1.Tempor" - + "alAsset\"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/Feed\"\'\n\020ListF" - + "eedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"?\n\021List" - + "FeedsResponse\022*\n\005feeds\030\001 \003(\0132\033.google.cl" - + "oud.asset.v1.Feed\"y\n\021UpdateFeedRequest\022." - + "\n\004feed\030\001 \001(\0132\033.google.cloud.asset.v1.Fee" - + "dB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pro" - + "tobuf.FieldMaskB\003\340A\002\"I\n\021DeleteFeedReques" - + "t\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.goog" - + "leapis.com/Feed\"\253\001\n\014OutputConfig\022@\n\017gcs_" - + "destination\030\001 \001(\0132%.google.cloud.asset.v" - + "1.GcsDestinationH\000\022J\n\024bigquery_destinati" - + "on\030\002 \001(\0132*.google.cloud.asset.v1.BigQuer" - + "yDestinationH\000B\r\n\013destination\"V\n\014OutputR" - + "esult\022<\n\ngcs_result\030\001 \001(\0132&.google.cloud" - + ".asset.v1.GcsOutputResultH\000B\010\n\006result\"\037\n" - + "\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t\"C\n\016GcsDes" - + "tination\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\023BigQueryDestinat" - + "ion\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\t" - + "B\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partition_spec\030\004" - + " \001(\0132$.google.cloud.asset.v1.PartitionSp" - + "ec\022&\n\036separate_tables_per_asset_type\030\005 \001" - + "(\010\"\251\001\n\rPartitionSpec\022H\n\rpartition_key\030\001 " - + "\001(\01621.google.cloud.asset.v1.PartitionSpe" - + "c.PartitionKey\"N\n\014PartitionKey\022\035\n\031PARTIT" - + "ION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014" - + "REQUEST_TIME\020\002\"\"\n\021PubsubDestination\022\r\n\005t" - + "opic\030\001 \001(\t\"i\n\020FeedOutputConfig\022F\n\022pubsub" - + "_destination\030\001 \001(\0132(.google.cloud.asset." - + "v1.PubsubDestinationH\000B\r\n\013destination\"\235\003" - + "\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\0228\n\014content_t" - + "ype\030\004 \001(\0162\".google.cloud.asset.v1.Conten" - + "tType\022H\n\022feed_output_config\030\005 \001(\0132\'.goog" - + "le.cloud.asset.v1.FeedOutputConfigB\003\340A\002\022" - + "$\n\tcondition\030\006 \001(\0132\021.google.type.Expr\022\032\n" - + "\022relationship_types\030\007 \003(\t:\221\001\352A\215\001\n\036clouda" - + "sset.googleapis.com/Feed\022\037projects/{proj" - + "ect}/feeds/{feed}\022\035folders/{folder}/feed" - + "s/{feed}\022)organizations/{organization}/f" - + "eeds/{feed} \001\"\331\001\n\031SearchAllResourcesRequ" - + "est\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_si" - + "ze\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(\013" - + "2\032.google.protobuf.FieldMaskB\003\340A\001\"s\n\032Sea" - + "rchAllResourcesResponse\022<\n\007results\030\001 \003(\013" - + "2+.google.cloud.asset.v1.ResourceSearchR" - + "esult\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n\033Searc" - + "hAllIamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340" - + "A\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\034SearchAllIamPoliciesResponse\022=\n\007resu" - + "lts\030\001 \003(\0132,.google.cloud.asset.v1.IamPol" - + "icySearchResult\022\027\n\017next_page_token\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>.goo" - + "gle.cloud.asset.v1.IamPolicyAnalysisQuer" - + "y.ResourceSelectorB\003\340A\001\022^\n\021identity_sele" - + "ctor\030\003 \001(\0132>.google.cloud.asset.v1.IamPo" - + "licyAnalysisQuery.IdentitySelectorB\003\340A\001\022" - + "Z\n\017access_selector\030\004 \001(\0132<.google.cloud." - + "asset.v1.IamPolicyAnalysisQuery.AccessSe" - + "lectorB\003\340A\001\022K\n\007options\030\005 \001(\01325.google.cl" - + "oud.asset.v1.IamPolicyAnalysisQuery.Opti" - + "onsB\003\340A\001\022^\n\021condition_context\030\006 \001(\0132>.go" - + "ogle.cloud.asset.v1.IamPolicyAnalysisQue" - + "ry.ConditionContextB\003\340A\001\0323\n\020ResourceSele" - + "ctor\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\007Options\022\032\n\r" - + "expand_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\340" - + "A\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%analy" - + "ze_service_account_impersonation\030\006 \001(\010B\003" - + "\340A\001\032T\n\020ConditionContext\0221\n\013access_time\030\001" - + " \001(\0132\032.google.protobuf.TimestampH\000B\r\n\013Ti" - + "meContext\"\303\001\n\027AnalyzeIamPolicyRequest\022J\n" - + "\016analysis_query\030\001 \001(\0132-.google.cloud.ass" - + "et.v1.IamPolicyAnalysisQueryB\003\340A\002\022!\n\024sav" - + "ed_analysis_query\030\003 \001(\tB\003\340A\001\0229\n\021executio" - + "n_timeout\030\002 \001(\0132\031.google.protobuf.Durati" - + "onB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyResponse\022X\n\r" - + "main_analysis\030\001 \001(\0132A.google.cloud.asset" - + ".v1.AnalyzeIamPolicyResponse.IamPolicyAn" - + "alysis\022q\n&service_account_impersonation_" - + "analysis\030\002 \003(\0132A.google.cloud.asset.v1.A" - + "nalyzeIamPolicyResponse.IamPolicyAnalysi" - + "s\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021IamPolicyA" - + "nalysis\022E\n\016analysis_query\030\001 \001(\0132-.google" - + ".cloud.asset.v1.IamPolicyAnalysisQuery\022H" - + "\n\020analysis_results\030\002 \003(\0132..google.cloud." - + "asset.v1.IamPolicyAnalysisResult\022\026\n\016full" - + "y_explored\030\003 \001(\010\022J\n\023non_critical_errors\030" - + "\005 \003(\0132-.google.cloud.asset.v1.IamPolicyA" - + "nalysisState\"\264\004\n\035IamPolicyAnalysisOutput" - + "Config\022^\n\017gcs_destination\030\001 \001(\0132C.google" - + ".cloud.asset.v1.IamPolicyAnalysisOutputC" - + "onfig.GcsDestinationH\000\022h\n\024bigquery_desti" - + "nation\030\002 \001(\0132H.google.cloud.asset.v1.Iam" - + "PolicyAnalysisOutputConfig.BigQueryDesti" - + "nationH\000\032\"\n\016GcsDestination\022\020\n\003uri\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.asse" - + "t.v1.IamPolicyAnalysisOutputConfig.BigQu" - + "eryDestination.PartitionKey\022\036\n\021write_dis" - + "position\030\004 \001(\tB\003\340A\001\"?\n\014PartitionKey\022\035\n\031P" - + "ARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014REQUEST_TI" - + "ME\020\001B\r\n\013destination\"\345\001\n\"AnalyzeIamPolicy" - + "LongrunningRequest\022J\n\016analysis_query\030\001 \001" - + "(\0132-.google.cloud.asset.v1.IamPolicyAnal" - + "ysisQueryB\003\340A\002\022!\n\024saved_analysis_query\030\003" - + " \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001(\01324.googl" - + "e.cloud.asset.v1.IamPolicyAnalysisOutput" - + "ConfigB\003\340A\002\"%\n#AnalyzeIamPolicyLongrunni" - + "ngResponse\"\267\005\n\nSavedQuery\022\014\n\004name\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\007cr" - + "eator\030\004 \001(\tB\003\340A\003\0229\n\020last_update_time\030\005 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\031\n\014l" - + "ast_updater\030\006 \001(\tB\003\340A\003\022=\n\006labels\030\007 \003(\0132-" - + ".google.cloud.asset.v1.SavedQuery.Labels" - + "Entry\022?\n\007content\030\010 \001(\0132..google.cloud.as" - + "set.v1.SavedQuery.QueryContent\032s\n\014QueryC" - + "ontent\022R\n\031iam_policy_analysis_query\030\001 \001(" - + "\0132-.google.cloud.asset.v1.IamPolicyAnaly" - + "sisQueryH\000B\017\n\rquery_content\032-\n\013LabelsEnt" - + "ry\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/SavedQuery\022" - + "-projects/{project}/savedQueries/{saved_" - + "query}\022+folders/{folder}/savedQueries/{s" - + "aved_query}\0227organizations/{organization" - + "}/savedQueries/{saved_query}\"\261\001\n\027CreateS" - + "avedQueryRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&" - + "\022$cloudasset.googleapis.com/SavedQuery\022;" - + "\n\013saved_query\030\002 \001(\0132!.google.cloud.asset" - + ".v1.SavedQueryB\003\340A\002\022\033\n\016saved_query_id\030\003 " - + "\001(\tB\003\340A\002\"R\n\024GetSavedQueryRequest\022:\n\004name" - + "\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.googleapis.co" - + "m/SavedQuery\"\235\001\n\027ListSavedQueriesRequest" - + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$cloudasset.goo" - + "gleapis.com/SavedQuery\022\023\n\006filter\030\004 \001(\tB\003" - + "\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_toke" - + "n\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueriesResponse" - + "\0228\n\rsaved_queries\030\001 \003(\0132!.google.cloud.a" - + "sset.v1.SavedQuery\022\027\n\017next_page_token\030\002 " - + "\001(\t\"\214\001\n\027UpdateSavedQueryRequest\022;\n\013saved" - + "_query\030\001 \001(\0132!.google.cloud.asset.v1.Sav" - + "edQueryB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMaskB\003\340A\002\"U\n\027DeleteSave" - + "dQueryRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$clo" - + "udasset.googleapis.com/SavedQuery\"\326\001\n\022An" - + "alyzeMoveRequest\022\025\n\010resource\030\001 \001(\tB\003\340A\002\022" - + "\037\n\022destination_parent\030\002 \001(\tB\003\340A\002\022D\n\004view" - + "\030\003 \001(\01626.google.cloud.asset.v1.AnalyzeMo" - + "veRequest.AnalysisView\"B\n\014AnalysisView\022\035" - + "\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022" - + "\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveResponse\022:\n\rmov" - + "e_analysis\030\001 \003(\0132#.google.cloud.asset.v1" - + ".MoveAnalysis\"\222\001\n\014MoveAnalysis\022\024\n\014displa" - + "y_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\0132).google." - + "cloud.asset.v1.MoveAnalysisResultH\000\022#\n\005e" - + "rror\030\003 \001(\0132\022.google.rpc.StatusH\000B\010\n\006resu" - + "lt\"~\n\022MoveAnalysisResult\0223\n\010blockers\030\001 \003" - + "(\0132!.google.cloud.asset.v1.MoveImpact\0223\n" - + "\010warnings\030\002 \003(\0132!.google.cloud.asset.v1." - + "MoveImpact\"\034\n\nMoveImpact\022\016\n\006detail\030\001 \001(\t" - + "\"\327\001\n\027QueryAssetsOutputConfig\022`\n\024bigquery" - + "_destination\030\001 \001(\0132B.google.cloud.asset." - + "v1.QueryAssetsOutputConfig.BigQueryDesti" - + "nation\032Z\n\023BigQueryDestination\022\024\n\007dataset" - + "\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\031\n\021write" - + "_disposition\030\003 \001(\t\"\276\003\n\022QueryAssetsReques" - + "t\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.go" - + "ogleapis.com/Asset\022\030\n\tstatement\030\002 \001(\tB\003\340" - + "A\001H\000\022\034\n\rjob_reference\030\003 \001(\tB\003\340A\001H\000\022\026\n\tpa" - + "ge_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003" - + "\340A\001\022/\n\007timeout\030\006 \001(\0132\031.google.protobuf.D" - + "urationB\003\340A\001\022B\n\020read_time_window\030\007 \001(\0132!" - + ".google.cloud.asset.v1.TimeWindowB\003\340A\001H\001" - + "\0224\n\tread_time\030\010 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\001H\001\022J\n\routput_config\030\t \001(\0132.." - + "google.cloud.asset.v1.QueryAssetsOutputC" - + "onfigB\003\340A\001B\007\n\005queryB\006\n\004time\"\360\001\n\023QueryAss" - + "etsResponse\022\025\n\rjob_reference\030\001 \001(\t\022\014\n\004do" - + "ne\030\002 \001(\010\022#\n\005error\030\003 \001(\0132\022.google.rpc.Sta" - + "tusH\000\022:\n\014query_result\030\004 \001(\0132\".google.clo" - + "ud.asset.v1.QueryResultH\000\022G\n\routput_conf" - + "ig\030\005 \001(\0132..google.cloud.asset.v1.QueryAs" - + "setsOutputConfigH\000B\n\n\010response\"\225\001\n\013Query" - + "Result\022%\n\004rows\030\001 \003(\0132\027.google.protobuf.S" - + "truct\0222\n\006schema\030\002 \001(\0132\".google.cloud.ass" - + "et.v1.TableSchema\022\027\n\017next_page_token\030\003 \001" - + "(\t\022\022\n\ntotal_rows\030\004 \001(\003\"F\n\013TableSchema\0227\n" - + "\006fields\030\001 \003(\0132\'.google.cloud.asset.v1.Ta" - + "bleFieldSchema\"v\n\020TableFieldSchema\022\r\n\005fi" - + "eld\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\014\n\004mode\030\003 \001(\t\0227\n" - + "\006fields\030\004 \003(\0132\'.google.cloud.asset.v1.Ta" - + "bleFieldSchema\"Y\n#BatchGetEffectiveIamPo" - + "liciesRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022" - + "\030\n\005names\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEf" - + "fectiveIamPoliciesResponse\022f\n\016policy_res" - + "ults\030\002 \003(\0132N.google.cloud.asset.v1.Batch" - + "GetEffectiveIamPoliciesResponse.Effectiv" - + "eIamPolicy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022ful" - + "l_resource_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132" - + "Y.google.cloud.asset.v1.BatchGetEffectiv" - + "eIamPoliciesResponse.EffectiveIamPolicy." - + "PolicyInfo\032N\n\nPolicyInfo\022\031\n\021attached_res" - + "ource\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam" - + ".v1.Policy\"\262\003\n\021AnalyzerOrgPolicy\022\031\n\021atta" - + "ched_resource\030\001 \001(\t\022\030\n\020applied_resource\030" - + "\005 \001(\t\022<\n\005rules\030\002 \003(\0132-.google.cloud.asse" - + "t.v1.AnalyzerOrgPolicy.Rule\022\033\n\023inherit_f" - + "rom_parent\030\003 \001(\010\022\r\n\005reset\030\004 \001(\010\032\375\001\n\004Rule" - + "\022L\n\006values\030\003 \001(\0132:.google.cloud.asset.v1" - + ".AnalyzerOrgPolicy.Rule.StringValuesH\000\022\023" - + "\n\tallow_all\030\004 \001(\010H\000\022\022\n\010deny_all\030\005 \001(\010H\000\022" - + "\021\n\007enforce\030\006 \001(\010H\000\022$\n\tcondition\030\007 \001(\0132\021." - + "google.type.Expr\032=\n\014StringValues\022\026\n\016allo" - + "wed_values\030\001 \003(\t\022\025\n\rdenied_values\030\002 \003(\tB" - + "\006\n\004kind\"\221\n\n\033AnalyzerOrgPolicyConstraint\022" - + "b\n\031google_defined_constraint\030\001 \001(\0132=.goo" - + "gle.cloud.asset.v1.AnalyzerOrgPolicyCons" - + "traint.ConstraintH\000\022`\n\021custom_constraint" - + "\030\002 \001(\0132C.google.cloud.asset.v1.AnalyzerO" - + "rgPolicyConstraint.CustomConstraintH\000\032\277\004" - + "\n\nConstraint\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" - + "me\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022k\n\022constra" - + "int_default\030\004 \001(\0162O.google.cloud.asset.v" - + "1.AnalyzerOrgPolicyConstraint.Constraint" - + ".ConstraintDefault\022g\n\017list_constraint\030\005 " - + "\001(\0132L.google.cloud.asset.v1.AnalyzerOrgP" - + "olicyConstraint.Constraint.ListConstrain" - + "tH\000\022m\n\022boolean_constraint\030\006 \001(\0132O.google" - + ".cloud.asset.v1.AnalyzerOrgPolicyConstra" - + "int.Constraint.BooleanConstraintH\000\032=\n\016Li" - + "stConstraint\022\023\n\013supports_in\030\001 \001(\010\022\026\n\016sup" - + "ports_under\030\002 \001(\010\032\023\n\021BooleanConstraint\"L" - + "\n\021ConstraintDefault\022\"\n\036CONSTRAINT_DEFAUL" - + "T_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\021\n\017" - + "constraint_type\032\320\003\n\020CustomConstraint\022\014\n\004" - + "name\030\001 \001(\t\022\026\n\016resource_types\030\002 \003(\t\022d\n\014me" - + "thod_types\030\003 \003(\0162N.google.cloud.asset.v1" - + ".AnalyzerOrgPolicyConstraint.CustomConst" - + "raint.MethodType\022\021\n\tcondition\030\004 \001(\t\022c\n\013a" - + "ction_type\030\005 \001(\0162N.google.cloud.asset.v1" - + ".AnalyzerOrgPolicyConstraint.CustomConst" - + "raint.ActionType\022\024\n\014display_name\030\006 \001(\t\022\023" - + "\n\013description\030\007 \001(\t\"M\n\nMethodType\022\033\n\027MET" - + "HOD_TYPE_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UP" - + "DATE\020\002\022\n\n\006DELETE\020\003\">\n\nActionType\022\033\n\027ACTI" - + "ON_TYPE_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY" - + "\020\002B\027\n\025constraint_definition\"\222\001\n\031AnalyzeO" - + "rgPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n" - + "\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026" - + "\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_token\030\005 \001" - + "(\tB\014\n\n_page_size\"\370\002\n\032AnalyzeOrgPoliciesR" - + "esponse\022]\n\022org_policy_results\030\001 \003(\0132A.go" - + "ogle.cloud.asset.v1.AnalyzeOrgPoliciesRe" - + "sponse.OrgPolicyResult\022F\n\nconstraint\030\002 \001" - + "(\01322.google.cloud.asset.v1.AnalyzerOrgPo" - + "licyConstraint\022\027\n\017next_page_token\030\003 \001(\t\032" - + "\231\001\n\017OrgPolicyResult\022E\n\023consolidated_poli" - + "cy\030\001 \001(\0132(.google.cloud.asset.v1.Analyze" - + "rOrgPolicy\022?\n\rpolicy_bundle\030\002 \003(\0132(.goog" - + "le.cloud.asset.v1.AnalyzerOrgPolicy\"\242\001\n)" - + "AnalyzeOrgPolicyGovernedContainersReques" - + "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n\nconstraint\030\002 \001(" - + "\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026\n\tpage_size\030\004 \001(" - + "\005H\000\210\001\001\022\022\n\npage_token\030\005 \001(\tB\014\n\n_page_size" - + "\"\311\003\n*AnalyzeOrgPolicyGovernedContainersR" - + "esponse\022p\n\023governed_containers\030\001 \003(\0132S.g" - + "oogle.cloud.asset.v1.AnalyzeOrgPolicyGov" - + "ernedContainersResponse.GovernedContaine" - + "r\022F\n\nconstraint\030\002 \001(\01322.google.cloud.ass" - + "et.v1.AnalyzerOrgPolicyConstraint\022\027\n\017nex" - + "t_page_token\030\003 \001(\t\032\307\001\n\021GovernedContainer" - + "\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006parent\030\002" - + " \001(\t\022E\n\023consolidated_policy\030\003 \001(\0132(.goog" - + "le.cloud.asset.v1.AnalyzerOrgPolicy\022?\n\rp" - + "olicy_bundle\030\004 \003(\0132(.google.cloud.asset." - + "v1.AnalyzerOrgPolicy\"\236\001\n%AnalyzeOrgPolic" - + "yGovernedAssetsRequest\022\022\n\005scope\030\001 \001(\tB\003\340" - + "A\002\022\027\n\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 " - + "\001(\t\022\026\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_toke" - + "n\030\005 \001(\tB\014\n\n_page_size\"\200\007\n&AnalyzeOrgPoli" - + "cyGovernedAssetsResponse\022d\n\017governed_ass" - + "ets\030\001 \003(\0132K.google.cloud.asset.v1.Analyz" - + "eOrgPolicyGovernedAssetsResponse.Governe" - + "dAsset\022F\n\nconstraint\030\002 \001(\01322.google.clou" - + "d.asset.v1.AnalyzerOrgPolicyConstraint\022\027" - + "\n\017next_page_token\030\003 \001(\t\032v\n\020GovernedResou" - + "rce\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006paren" - + "t\030\002 \001(\t\022\017\n\007project\030\005 \001(\t\022\017\n\007folders\030\006 \003(" - + "\t\022\024\n\014organization\030\007 \001(\t\032\215\001\n\021GovernedIamP" - + "olicy\022\031\n\021attached_resource\030\001 \001(\t\022%\n\006poli" - + "cy\030\002 \001(\0132\025.google.iam.v1.Policy\022\017\n\007proje" - + "ct\030\005 \001(\t\022\017\n\007folders\030\006 \003(\t\022\024\n\014organizatio" - + "n\030\007 \001(\t\032\206\003\n\rGovernedAsset\022k\n\021governed_re" - + "source\030\001 \001(\0132N.google.cloud.asset.v1.Ana" - + "lyzeOrgPolicyGovernedAssetsResponse.Gove" - + "rnedResourceH\000\022n\n\023governed_iam_policy\030\002 " - + "\001(\0132O.google.cloud.asset.v1.AnalyzeOrgPo" - + "licyGovernedAssetsResponse.GovernedIamPo" - + "licyH\000\022E\n\023consolidated_policy\030\003 \001(\0132(.go" - + "ogle.cloud.asset.v1.AnalyzerOrgPolicy\022?\n" - + "\rpolicy_bundle\030\004 \003(\0132(.google.cloud.asse" - + "t.v1.AnalyzerOrgPolicyB\020\n\016governed_asset" - + "*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_UNSPECI" - + "FIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\n" - + "ORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014OS_IN" - + "VENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\321 \n\014AssetSer" - + "vice\022\336\001\n\014ExportAssets\022*.google.cloud.ass" - + "et.v1.ExportAssetsRequest\032\035.google.longr" - + "unning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{parent=*" - + "/*}:exportAssets:\001*\312AW\n*google.cloud.ass" - + "et.v1.ExportAssetsResponse\022)google.cloud" - + ".asset.v1.ExportAssetsRequest\022\213\001\n\nListAs" - + "sets\022(.google.cloud.asset.v1.ListAssetsR" - + "equest\032).google.cloud.asset.v1.ListAsset" - + "sResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*}/asse" - + "ts\332A\006parent\022\262\001\n\025BatchGetAssetsHistory\0223." - + "google.cloud.asset.v1.BatchGetAssetsHist" - + "oryRequest\0324.google.cloud.asset.v1.Batch" - + "GetAssetsHistoryResponse\".\202\323\344\223\002(\022&/v1/{p" - + "arent=*/*}:batchGetAssetsHistory\022\177\n\nCrea" - + "teFeed\022(.google.cloud.asset.v1.CreateFee" - + "dRequest\032\033.google.cloud.asset.v1.Feed\"*\202" - + "\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A\006paren" - + "t\022t\n\007GetFeed\022%.google.cloud.asset.v1.Get" - + "FeedRequest\032\033.google.cloud.asset.v1.Feed" - + "\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A\004name\022" - + "\207\001\n\tListFeeds\022\'.google.cloud.asset.v1.Li" - + "stFeedsRequest\032(.google.cloud.asset.v1.L" - + "istFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{parent=*/" - + "*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(.googl" - + "e.cloud.asset.v1.UpdateFeedRequest\032\033.goo" - + "gle.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/v1/{fe" - + "ed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\nDelete" - + "Feed\022(.google.cloud.asset.v1.DeleteFeedR" - + "equest\032\026.google.protobuf.Empty\"%\202\323\344\223\002\030*\026" - + "/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022Search" - + "AllResources\0220.google.cloud.asset.v1.Sea" - + "rchAllResourcesRequest\0321.google.cloud.as" - + "set.v1.SearchAllResourcesResponse\"D\202\323\344\223\002", - "$\022\"/v1/{scope=*/*}:searchAllResources\332A\027" - + "scope,query,asset_types\022\273\001\n\024SearchAllIam" - + "Policies\0222.google.cloud.asset.v1.SearchA" - + "llIamPoliciesRequest\0323.google.cloud.asse" - + "t.v1.SearchAllIamPoliciesResponse\":\202\323\344\223\002" - + "&\022$/v1/{scope=*/*}:searchAllIamPolicies\332" - + "A\013scope,query\022\254\001\n\020AnalyzeIamPolicy\022..goo" - + "gle.cloud.asset.v1.AnalyzeIamPolicyReque" - + "st\032/.google.cloud.asset.v1.AnalyzeIamPol" - + "icyResponse\"7\202\323\344\223\0021\022//v1/{analysis_query" - + ".scope=*/*}:analyzeIamPolicy\022\270\002\n\033Analyze" - + "IamPolicyLongrunning\0229.google.cloud.asse" - + "t.v1.AnalyzeIamPolicyLongrunningRequest\032" - + "\035.google.longrunning.Operation\"\276\001\202\323\344\223\002?\"" - + ":/v1/{analysis_query.scope=*/*}:analyzeI" - + "amPolicyLongrunning:\001*\312Av\n9google.cloud." - + "asset.v1.AnalyzeIamPolicyLongrunningResp" - + "onse\0229google.cloud.asset.v1.AnalyzeIamPo" - + "licyLongrunningMetadata\022\214\001\n\013AnalyzeMove\022" - + ").google.cloud.asset.v1.AnalyzeMoveReque" - + "st\032*.google.cloud.asset.v1.AnalyzeMoveRe" - + "sponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}:analy" - + "zeMove\022\215\001\n\013QueryAssets\022).google.cloud.as" - + "set.v1.QueryAssetsRequest\032*.google.cloud" - + ".asset.v1.QueryAssetsResponse\"\'\202\323\344\223\002!\"\034/" - + "v1/{parent=*/*}:queryAssets:\001*\022\275\001\n\020Creat" - + "eSavedQuery\022..google.cloud.asset.v1.Crea" - + "teSavedQueryRequest\032!.google.cloud.asset" - + ".v1.SavedQuery\"V\202\323\344\223\002,\"\035/v1/{parent=*/*}" - + "/savedQueries:\013saved_query\332A!parent,save" - + "d_query,saved_query_id\022\215\001\n\rGetSavedQuery" - + "\022+.google.cloud.asset.v1.GetSavedQueryRe" - + "quest\032!.google.cloud.asset.v1.SavedQuery" - + "\",\202\323\344\223\002\037\022\035/v1/{name=*/*/savedQueries/*}\332" - + "A\004name\022\243\001\n\020ListSavedQueries\022..google.clo" - + "ud.asset.v1.ListSavedQueriesRequest\032/.go" - + "ogle.cloud.asset.v1.ListSavedQueriesResp" - + "onse\".\202\323\344\223\002\037\022\035/v1/{parent=*/*}/savedQuer" - + "ies\332A\006parent\022\277\001\n\020UpdateSavedQuery\022..goog" - + "le.cloud.asset.v1.UpdateSavedQueryReques" - + "t\032!.google.cloud.asset.v1.SavedQuery\"X\202\323" - + "\344\223\00282)/v1/{saved_query.name=*/*/savedQue" - + "ries/*}:\013saved_query\332A\027saved_query,updat" - + "e_mask\022\210\001\n\020DeleteSavedQuery\022..google.clo" - + "ud.asset.v1.DeleteSavedQueryRequest\032\026.go" - + "ogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1/{name=*" - + "/*/savedQueries/*}\332A\004name\022\316\001\n\034BatchGetEf" - + "fectiveIamPolicies\022:.google.cloud.asset." - + "v1.BatchGetEffectiveIamPoliciesRequest\032;" - + ".google.cloud.asset.v1.BatchGetEffective" - + "IamPoliciesResponse\"5\202\323\344\223\002/\022-/v1/{scope=" - + "*/*}/effectiveIamPolicies:batchGet\022\277\001\n\022A" - + "nalyzeOrgPolicies\0220.google.cloud.asset.v" - + "1.AnalyzeOrgPoliciesRequest\0321.google.clo" - + "ud.asset.v1.AnalyzeOrgPoliciesResponse\"D" - + "\202\323\344\223\002$\022\"/v1/{scope=*/*}:analyzeOrgPolici" - + "es\332A\027scope,constraint,filter\022\377\001\n\"Analyze" - + "OrgPolicyGovernedContainers\022@.google.clo" - + "ud.asset.v1.AnalyzeOrgPolicyGovernedCont" - + "ainersRequest\032A.google.cloud.asset.v1.An" - + "alyzeOrgPolicyGovernedContainersResponse" - + "\"T\202\323\344\223\0024\0222/v1/{scope=*/*}:analyzeOrgPoli" - + "cyGovernedContainers\332A\027scope,constraint," - + "filter\022\357\001\n\036AnalyzeOrgPolicyGovernedAsset" - + "s\022<.google.cloud.asset.v1.AnalyzeOrgPoli" - + "cyGovernedAssetsRequest\032=.google.cloud.a" - + "sset.v1.AnalyzeOrgPolicyGovernedAssetsRe" - + "sponse\"P\202\323\344\223\0020\022./v1/{scope=*/*}:analyzeO" - + "rgPolicyGovernedAssets\332A\027scope,constrain" - + "t,filter\032M\312A\031cloudasset.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\221\001\n\031com.google.cloud.asset.v1B\021A" - + "ssetServiceProtoP\001Z/cloud.google.com/go/" - + "asset/apiv1/assetpb;assetpb\252\002\025Google.Clo" - + "ud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V1b\006pro" - + "to3" - }; - 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.StructProto.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_QueryAssetsOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor, - new java.lang.String[] { - "BigqueryDestination", - }); - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor = - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor, - new java.lang.String[] { - "Dataset", "Table", "WriteDisposition", - }); - internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", - "Statement", - "JobReference", - "PageSize", - "PageToken", - "Timeout", - "ReadTimeWindow", - "ReadTime", - "OutputConfig", - "Query", - "Time", - }); - internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor, - new java.lang.String[] { - "JobReference", "Done", "Error", "QueryResult", "OutputConfig", "Response", - }); - internal_static_google_cloud_asset_v1_QueryResult_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryResult_descriptor, - new java.lang.String[] { - "Rows", "Schema", "NextPageToken", "TotalRows", - }); - internal_static_google_cloud_asset_v1_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TableSchema_descriptor, - new java.lang.String[] { - "Fields", - }); - internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor, - new java.lang.String[] { - "Field", "Type", "Mode", "Fields", - }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - 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(51); - 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", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor, - new java.lang.String[] { - "AttachedResource", "AppliedResource", "Rules", "InheritFromParent", "Reset", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor, - new java.lang.String[] { - "Values", "AllowAll", "DenyAll", "Enforce", "Condition", "Kind", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor, - new java.lang.String[] { - "AllowedValues", "DeniedValues", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor, - new java.lang.String[] { - "GoogleDefinedConstraint", "CustomConstraint", "ConstraintDefinition", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Description", - "ConstraintDefault", - "ListConstraint", - "BooleanConstraint", - "ConstraintType", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor, - new java.lang.String[] { - "SupportsIn", "SupportsUnder", - }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor, - new java.lang.String[] { - "Name", - "ResourceTypes", - "MethodTypes", - "Condition", - "ActionType", - "DisplayName", - "Description", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor, - new java.lang.String[] { - "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor, - new java.lang.String[] { - "OrgPolicyResults", "Constraint", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor, - new java.lang.String[] { - "ConsolidatedPolicy", "PolicyBundle", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor, - new java.lang.String[] { - "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor, - new java.lang.String[] { - "GovernedContainers", "Constraint", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor, - new java.lang.String[] { - "FullResourceName", "Parent", "ConsolidatedPolicy", "PolicyBundle", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor, - new java.lang.String[] { - "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor, - new java.lang.String[] { - "GovernedAssets", "Constraint", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor, - new java.lang.String[] { - "FullResourceName", "Parent", "Project", "Folders", "Organization", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor, - new java.lang.String[] { - "AttachedResource", "Policy", "Project", "Folders", "Organization", - }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor, - new java.lang.String[] { - "GovernedResource", - "GovernedIamPolicy", - "ConsolidatedPolicy", - "PolicyBundle", - "GovernedAsset", - }); - 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.StructProto.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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index 8212768a5565..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java deleted file mode 100644 index 4ed4a558438e..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java deleted file mode 100644 index d22338aace06..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java deleted file mode 100644 index c6ae2623efc2..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java deleted file mode 100644 index 20ecdf921721..000000000000 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface QueryAssetsOutputConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsOutputConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * BigQuery destination where the query results will be saved.
-   * 
- * - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - * - * @return Whether the bigqueryDestination field is set. - */ - boolean hasBigqueryDestination(); - /** - * - * - *
-   * BigQuery destination where the query results will be saved.
-   * 
- * - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - * - * @return The bigqueryDestination. - */ - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination(); - /** - * - * - *
-   * BigQuery destination where the query results will be saved.
-   * 
- * - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - */ - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder(); -} diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java deleted file mode 100644 index 0a0ddb77bc6c..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java +++ /dev/null @@ -1,163 +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\"\302\002\n\030StandardResour" - + "ceMetadata\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\024\n\014display_name\030\004 " - + "\001(\t\022\023\n\013description\030\005 \001(\t\022\035\n\025additional_a" - + "ttributes\030\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006lab" - + "els\030\014 \003(\0132B.google.cloud.asset.v1p1beta1" - + ".StandardResourceMetadata.LabelsEntry\022\024\n" - + "\014network_tags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicy" - + "SearchResult\022\020\n\010resource\030\001 \001(\t\022\017\n\007projec" - + "t\030\003 \001(\t\022%\n\006policy\030\004 \001(\0132\025.google.iam.v1." - + "Policy\022T\n\013explanation\030\005 \001(\0132?.google.clo" - + "ud.asset.v1p1beta1.IamPolicySearchResult" - + ".Explanation\032\351\001\n\013Explanation\022t\n\023matched_" - + "permissions\030\001 \003(\0132W.google.cloud.asset.v" - + "1p1beta1.IamPolicySearchResult.Explanati" - + "on.MatchedPermissionsEntry\032d\n\027MatchedPer" - + "missionsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(" - + "\0132).google.cloud.asset.v1p1beta1.Permiss" - + "ions:\0028\001\"\"\n\013Permissions\022\023\n\013permissions\030\001" - + " \003(\tB\251\001\n com.google.cloud.asset.v1p1beta" - + "1B\nAssetProtoP\001Z6cloud.google.com/go/ass" - + "et/apiv1p1beta1/assetpb;assetpb\370\001\001\252\002\034Goo" - + "gle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud" - + "\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java deleted file mode 100644 index c7c7e1107258..000000000000 --- a/java-asset/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\255" - + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" - + "etServiceProtoP\001Z6cloud.google.com/go/as" - + "set/apiv1p1beta1/assetpb;assetpb\252\002\034Googl" - + "e.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud\\A" - + "sset\\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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java deleted file mode 100644 index efe112860d8a..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java +++ /dev/null @@ -1,126 +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\032googl" - + "e/iam/v1/policy.proto\032\034google/protobuf/s" - + "truct.proto\032\037google/protobuf/timestamp.p" - + "roto\"\216\001\n\rTemporalAsset\0228\n\006window\030\001 \001(\0132(" - + ".google.cloud.asset.v1p2beta1.TimeWindow" - + "\022\017\n\007deleted\030\002 \001(\010\0222\n\005asset\030\003 \001(\0132#.googl" - + "e.cloud.asset.v1p2beta1.Asset\"j\n\nTimeWin" - + "dow\022.\n\nstart_time\030\001 \001(\0132\032.google.protobu" - + "f.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.p" - + "rotobuf.Timestamp\"\241\001\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.v1p2beta1.Resource\022" - + ")\n\niam_policy\030\004 \001(\0132\025.google.iam.v1.Poli" - + "cy\022\021\n\tancestors\030\006 \003(\t\"\240\001\n\010Resource\022\017\n\007ve" - + "rsion\030\001 \001(\t\022\036\n\026discovery_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.StructB\251\001\n com.google." - + "cloud.asset.v1p2beta1B\nAssetProtoP\001Z6clo" - + "ud.google.com/go/asset/apiv1p2beta1/asse" - + "tpb;assetpb\370\001\001\252\002\034Google.Cloud.Asset.v1p2" - + "beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.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.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java deleted file mode 100644 index 7b4f6120baf0..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java +++ /dev/null @@ -1,270 +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\033" - + "google/protobuf/empty.proto\032 google/prot" - + "obuf/field_mask.proto\"u\n\021CreateFeedReque" - + "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\t" - + "B\003\340A\002\0225\n\004feed\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.googlea" - + "pis.com/Feed\"\'\n\020ListFeedsRequest\022\023\n\006pare" - + "nt\030\001 \001(\tB\003\340A\002\"F\n\021ListFeedsResponse\0221\n\005fe" - + "eds\030\001 \003(\0132\".google.cloud.asset.v1p2beta1" - + ".Feed\"\200\001\n\021UpdateFeedRequest\0225\n\004feed\030\001 \001(" - + "\0132\".google.cloud.asset.v1p2beta1.FeedB\003\340" - + "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu" - + "f.FieldMaskB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n" - + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.googleap" - + "is.com/Feed\"f\n\014OutputConfig\022G\n\017gcs_desti" - + "nation\030\001 \001(\0132,.google.cloud.asset.v1p2be" - + "ta1.GcsDestinationH\000B\r\n\013destination\"-\n\016G" - + "csDestination\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_u" - + "ri\"\"\n\021PubsubDestination\022\r\n\005topic\030\001 \001(\t\"p" - + "\n\020FeedOutputConfig\022M\n\022pubsub_destination" - + "\030\001 \001(\0132/.google.cloud.asset.v1p2beta1.Pu" - + "bsubDestinationH\000B\r\n\013destination\"\351\002\n\004Fee" - + "d\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).google.cloud.asset.v1p2beta1.Cont" - + "entType\022O\n\022feed_output_config\030\005 \001(\0132..go" - + "ogle.cloud.asset.v1p2beta1.FeedOutputCon" - + "figB\003\340A\002:\221\001\352A\215\001\n\036cloudasset.googleapis.c" - + "om/Feed\022\037projects/{project}/feeds/{feed}" - + "\022\035folders/{folder}/feeds/{feed}\022)organiz" - + "ations/{organization}/feeds/{feed} \001*I\n\013" - + "ContentType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020" - + "\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014Asse" - + "tService\022\224\001\n\nCreateFeed\022/.google.cloud.a" - + "sset.v1p2beta1.CreateFeedRequest\032\".googl" - + "e.cloud.asset.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v" - + "1p2beta1/{parent=*/*}/feeds:\001*\332A\006parent\022" - + "\211\001\n\007GetFeed\022,.google.cloud.asset.v1p2bet" - + "a1.GetFeedRequest\032\".google.cloud.asset.v" - + "1p2beta1.Feed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=" - + "*/*/feeds/*}\332A\004name\022\234\001\n\tListFeeds\022..goog" - + "le.cloud.asset.v1p2beta1.ListFeedsReques" - + "t\032/.google.cloud.asset.v1p2beta1.ListFee" - + "dsResponse\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*" - + "/*}/feeds\332A\006parent\022\227\001\n\nUpdateFeed\022/.goog" - + "le.cloud.asset.v1p2beta1.UpdateFeedReque" - + "st\032\".google.cloud.asset.v1p2beta1.Feed\"4" - + "\202\323\344\223\002\'2\"/v1p2beta1/{feed.name=*/*/feeds/" - + "*}:\001*\332A\004feed\022\203\001\n\nDeleteFeed\022/.google.clo" - + "ud.asset.v1p2beta1.DeleteFeedRequest\032\026.g" - + "oogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1" - + "/{name=*/*/feeds/*}\332A\004name\032M\312A\031cloudasse" - + "t.googleapis.com\322A.https://www.googleapi" - + "s.com/auth/cloud-platformB\255\001\n com.google" - + ".cloud.asset.v1p2beta1B\021AssetServiceProt" - + "oP\001Z6cloud.google.com/go/asset/apiv1p2be" - + "ta1/assetpb;assetpb\252\002\034Google.Cloud.Asset" - + ".V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta" - + "1b\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.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.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.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index ee25e690ff20..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java deleted file mode 100644 index 53061113e331..000000000000 --- a/java-asset/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/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java deleted file mode 100644 index b406b451a85c..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java +++ /dev/null @@ -1,132 +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\031googl" - + "e/api/resource.proto\032)google/cloud/orgpo" - + "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" - + "olicy.proto\032:google/identity/accessconte" - + "xtmanager/v1/access_level.proto\032;google/" - + "identity/accesscontextmanager/v1/access_" - + "policy.proto\032?google/identity/accesscont" - + "extmanager/v1/service_perimeter.proto\032\034g" - + "oogle/protobuf/struct.proto\"\220\004\n\005Asset\022\014\n" - + "\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228\n\010resou" - + "rce\030\003 \001(\0132&.google.cloud.asset.v1p5beta1" - + ".Resource\022)\n\niam_policy\030\004 \001(\0132\025.google.i" - + "am.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.googl" - + "e.cloud.orgpolicy.v1.Policy\022N\n\raccess_po" - + "licy\030\007 \001(\01325.google.identity.accessconte" - + "xtmanager.v1.AccessPolicyH\000\022L\n\014access_le" - + "vel\030\010 \001(\01324.google.identity.accesscontex" - + "tmanager.v1.AccessLevelH\000\022V\n\021service_per" - + "imeter\030\t \001(\01329.google.identity.accesscon" - + "textmanager.v1.ServicePerimeterH\000\022\021\n\tanc" - + "estors\030\n \003(\t:\'\352A$\n\037cloudasset.googleapis" - + ".com/Asset\022\001*B\027\n\025access_context_policy\"\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\251\001\n com.google.cloud.asset.v1p5beta1B\n" - + "AssetProtoP\001Z6cloud.google.com/go/asset/" - + "apiv1p5beta1/assetpb;assetpb\370\001\001\252\002\034Google" - + ".Cloud.Asset.V1p5Beta1\312\002\034Google\\Cloud\\As" - + "set\\V1p5beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - 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.StructProto.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.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.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java deleted file mode 100644 index b09a4d98c7fd..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java +++ /dev/null @@ -1,125 +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\031google/api/resource.proto\032)goo" - + "gle/cloud/asset/v1p5beta1/assets.proto\032\037" - + "google/protobuf/timestamp.proto\"\370\001\n\021List" - + "AssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" - + "loudasset.googleapis.com/Asset\022-\n\tread_t" - + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n" - + "\013asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\016" - + "2).google.cloud.asset.v1p5beta1.ContentT" - + "ype\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001" - + "(\t\"\221\001\n\022ListAssetsResponse\022-\n\tread_time\030\001" - + " \001(\0132\032.google.protobuf.Timestamp\0223\n\006asse" - + "ts\030\002 \003(\0132#.google.cloud.asset.v1p5beta1." - + "Asset\022\027\n\017next_page_token\030\003 \001(\t*l\n\013Conten" - + "tType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010R" - + "ESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\nORG_POLICY\020" - + "\004\022\021\n\rACCESS_POLICY\020\0052\200\002\n\014AssetService\022\240\001" - + "\n\nListAssets\022/.google.cloud.asset.v1p5be" - + "ta1.ListAssetsRequest\0320.google.cloud.ass" - + "et.v1p5beta1.ListAssetsResponse\"/\202\323\344\223\002 \022" - + "\036/v1p5beta1/{parent=*/*}/assets\332A\006parent" - + "\032M\312A\031cloudasset.googleapis.com\322A.https:/" - + "/www.googleapis.com/auth/cloud-platformB" - + "\255\001\n com.google.cloud.asset.v1p5beta1B\021As" - + "setServiceProtoP\001Z6cloud.google.com/go/a" - + "sset/apiv1p5beta1/assetpb;assetpb\252\002\034Goog" - + "le.Cloud.Asset.V1P5Beta1\312\002\034Google\\Cloud\\" - + "Asset\\V1p5beta1b\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.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.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java deleted file mode 100644 index 9495f87c86b6..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java +++ /dev/null @@ -1,193 +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\031googl" - + "e/api/resource.proto\032)google/cloud/orgpo" - + "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" - + "olicy.proto\032:google/identity/accessconte" - + "xtmanager/v1/access_level.proto\032;google/" - + "identity/accesscontextmanager/v1/access_" - + "policy.proto\032?google/identity/accesscont" - + "extmanager/v1/service_perimeter.proto\032\034g" - + "oogle/protobuf/struct.proto\032\037google/prot" - + "obuf/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\nasset_type\030\002 \001(\t\0228\n\010res" - + "ource\030\003 \001(\0132&.google.cloud.asset.v1p7bet" - + "a1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.google" - + ".iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.goo" - + "gle.cloud.orgpolicy.v1.Policy\022N\n\raccess_" - + "policy\030\007 \001(\01325.google.identity.accesscon" - + "textmanager.v1.AccessPolicyH\000\022L\n\014access_" - + "level\030\010 \001(\01324.google.identity.accesscont" - + "extmanager.v1.AccessLevelH\000\022V\n\021service_p" - + "erimeter\030\t \001(\01329.google.identity.accessc" - + "ontextmanager.v1.ServicePerimeterH\000\022C\n\016r" - + "elated_assets\030\r \001(\0132+.google.cloud.asset" - + ".v1p7beta1.RelatedAssets\022\021\n\tancestors\030\n " - + "\003(\t:\'\352A$\n\037cloudasset.googleapis.com/Asse" - + "t\022\001*B\027\n\025access_context_policy\"\262\001\n\010Resour" - + "ce\022\017\n\007version\030\001 \001(\t\022\036\n\026discovery_documen" - + "t_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014r" - + "esource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004dat" - + "a\030\006 \001(\0132\027.google.protobuf.Struct\022\020\n\010loca" - + "tion\030\010 \001(\t\"\242\001\n\rRelatedAssets\022U\n\027relation" - + "ship_attributes\030\001 \001(\01324.google.cloud.ass" - + "et.v1p7beta1.RelationshipAttributes\022:\n\006a" - + "ssets\030\002 \003(\0132*.google.cloud.asset.v1p7bet" - + "a1.RelatedAsset\"r\n\026RelationshipAttribute" - + "s\022\014\n\004type\030\004 \001(\t\022\034\n\024source_resource_type\030" - + "\001 \001(\t\022\034\n\024target_resource_type\030\002 \001(\t\022\016\n\006a" - + "ction\030\003 \001(\t\"j\n\014RelatedAsset\0223\n\005asset\030\001 \001" - + "(\tB$\372A!\n\037cloudasset.googleapis.com/Asset" - + "\022\022\n\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\tB" - + "\251\001\n com.google.cloud.asset.v1p7beta1B\nAs" - + "setProtoP\001Z6cloud.google.com/go/asset/ap" - + "iv1p7beta1/assetpb;assetpb\370\001\001\252\002\034Google.C" - + "loud.Asset.V1P7Beta1\312\002\034Google\\Cloud\\Asse" - + "t\\V1p7beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - 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.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.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.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java deleted file mode 100644 index a488dd408060..000000000000 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java +++ /dev/null @@ -1,226 +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/longrunning/operations.proto\032\037google" - + "/protobuf/timestamp.proto\"\267\002\n\023ExportAsse" - + "tsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloud" - + "asset.googleapis.com/Asset\022-\n\tread_time\030" - + "\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013ass" - + "et_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).g" - + "oogle.cloud.asset.v1p7beta1.ContentType\022" - + "F\n\routput_config\030\005 \001(\0132*.google.cloud.as" - + "set.v1p7beta1.OutputConfigB\003\340A\002\022\032\n\022relat" - + "ionship_types\030\006 \003(\t\"\313\001\n\024ExportAssetsResp" - + "onse\022-\n\tread_time\030\001 \001(\0132\032.google.protobu" - + "f.Timestamp\022A\n\routput_config\030\002 \001(\0132*.goo" - + "gle.cloud.asset.v1p7beta1.OutputConfig\022A" - + "\n\routput_result\030\003 \001(\0132*.google.cloud.ass" - + "et.v1p7beta1.OutputResult\"\271\001\n\014OutputConf" - + "ig\022G\n\017gcs_destination\030\001 \001(\0132,.google.clo" - + "ud.asset.v1p7beta1.GcsDestinationH\000\022Q\n\024b" - + "igquery_destination\030\002 \001(\01321.google.cloud" - + ".asset.v1p7beta1.BigQueryDestinationH\000B\r" - + "\n\013destination\"]\n\014OutputResult\022C\n\ngcs_res" - + "ult\030\001 \001(\0132-.google.cloud.asset.v1p7beta1" - + ".GcsOutputResultH\000B\010\n\006result\"\037\n\017GcsOutpu" - + "tResult\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\n" - + "object_uri\"\273\001\n\023BigQueryDestination\022\024\n\007da" - + "taset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005" - + "force\030\003 \001(\010\022C\n\016partition_spec\030\004 \001(\0132+.go" - + "ogle.cloud.asset.v1p7beta1.PartitionSpec" - + "\022&\n\036separate_tables_per_asset_type\030\005 \001(\010" - + "\"\260\001\n\rPartitionSpec\022O\n\rpartition_key\030\001 \001(" - + "\01628.google.cloud.asset.v1p7beta1.Partiti" - + "onSpec.PartitionKey\"N\n\014PartitionKey\022\035\n\031P" - + "ARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020" - + "\001\022\020\n\014REQUEST_TIME\020\002*~\n\013ContentType\022\034\n\030CO" - + "NTENT_TYPE_UNSPECIFIED\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\014RELATIONSHIP\020\0072\332\002\n\014AssetSer" - + "vice\022\372\001\n\014ExportAssets\0221.google.cloud.ass" - + "et.v1p7beta1.ExportAssetsRequest\032\035.googl" - + "e.longrunning.Operation\"\227\001\202\323\344\223\002)\"$/v1p7b" - + "eta1/{parent=*/*}:exportAssets:\001*\312Ae\n1go" - + "ogle.cloud.asset.v1p7beta1.ExportAssetsR" - + "esponse\0220google.cloud.asset.v1p7beta1.Ex" - + "portAssetsRequest\032M\312A\031cloudasset.googlea" - + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\255\001\n com.google.cloud.as" - + "set.v1p7beta1B\021AssetServiceProtoP\001Z6clou" - + "d.google.com/go/asset/apiv1p7beta1/asset" - + "pb;assetpb\252\002\034Google.Cloud.Asset.V1P7Beta" - + "1\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.longrunning.OperationsProto.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.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java index 6b42088b913c..1d3e93e02f63 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java +++ b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java @@ -600,7 +600,7 @@ public final BatchGetAssetsHistoryResponse batchGetAssetsHistory( * * @param 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 "organizations/123"), a folder - * number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a + * number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a * project number (such as "projects/12345"). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1851,7 +1851,7 @@ public final UnaryCallable queryAssetsC * * @param parent Required. The name of the project/folder/organization where this saved_query * should be created in. It can only be an organization number (such as "organizations/123"), - * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", + * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), * or a project number (such as "projects/12345"). * @param 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. @@ -1895,7 +1895,7 @@ public final SavedQuery createSavedQuery( * * @param parent Required. The name of the project/folder/organization where this saved_query * should be created in. It can only be an organization number (such as "organizations/123"), - * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", + * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), * or a project number (such as "projects/12345"). * @param 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. @@ -1939,7 +1939,7 @@ public final SavedQuery createSavedQuery( * * @param parent Required. The name of the project/folder/organization where this saved_query * should be created in. It can only be an organization number (such as "organizations/123"), - * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", + * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), * or a project number (such as "projects/12345"). * @param 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. @@ -1983,7 +1983,7 @@ public final SavedQuery createSavedQuery( * * @param parent Required. The name of the project/folder/organization where this saved_query * should be created in. It can only be an organization number (such as "organizations/123"), - * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", + * a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), * or a project number (such as "projects/12345"). * @param 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. diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java index 0e6361c7f7bb..b0e3e7128cfd 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java +++ b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java @@ -35,6 +35,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; diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java index 7b8b74c129b5..e5c2dba4deb4 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java @@ -1395,18 +1395,18 @@ private static Builder initDefaults(Builder builder) { builder .analyzeOrgPoliciesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); builder .analyzeOrgPolicyGovernedContainersSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); builder .analyzeOrgPolicyGovernedAssetsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); builder .exportAssetsOperationSettings() diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java index 90b9a09eca2c..b3ce44b09e74 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java @@ -79,6 +79,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java index 09000bcbadaa..97fe68ec0b59 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java +++ b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java @@ -37,6 +37,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java b/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java rename to owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java new file mode 100644 index 000000000000..b651e3edf0e2 --- /dev/null +++ b/owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java @@ -0,0 +1,2475 @@ +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 getQueryAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryAssets", + requestType = com.google.cloud.asset.v1.QueryAssetsRequest.class, + responseType = com.google.cloud.asset.v1.QueryAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryAssetsMethod() { + io.grpc.MethodDescriptor getQueryAssetsMethod; + if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { + AssetServiceGrpc.getQueryAssetsMethod = getQueryAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.QueryAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.QueryAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("QueryAssets")) + .build(); + } + } + } + return getQueryAssetsMethod; + } + + 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; + } + + private static volatile io.grpc.MethodDescriptor getAnalyzeOrgPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicies", + requestType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeOrgPoliciesMethod() { + io.grpc.MethodDescriptor getAnalyzeOrgPoliciesMethod; + if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { + AssetServiceGrpc.getAnalyzeOrgPoliciesMethod = getAnalyzeOrgPoliciesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicies")) + .build(); + } + } + } + return getAnalyzeOrgPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedContainersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedContainers", + requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedContainersMethod() { + io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedContainersMethod; + if ((getAnalyzeOrgPolicyGovernedContainersMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeOrgPolicyGovernedContainersMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) == null) { + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod = getAnalyzeOrgPolicyGovernedContainersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicyGovernedContainers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicyGovernedContainers")) + .build(); + } + } + } + return getAnalyzeOrgPolicyGovernedContainersMethod; + } + + private static volatile io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedAssets", + requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedAssetsMethod() { + io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedAssetsMethod; + if ((getAnalyzeOrgPolicyGovernedAssetsMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeOrgPolicyGovernedAssetsMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) == null) { + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod = getAnalyzeOrgPolicyGovernedAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicyGovernedAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicyGovernedAssets")) + .build(); + } + } + } + return getAnalyzeOrgPolicyGovernedAssetsMethod; + } + + /** + * 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 interface AsyncService { + + /** + *
+     * 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + /** + *
+     * Searches all Google 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeMoveMethod(), responseObserver); + } + + /** + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + default void queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryAssetsMethod(), responseObserver); + } + + /** + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetEffectiveIamPoliciesMethod(), responseObserver); + } + + /** + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + default void analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeOrgPoliciesMethod(), responseObserver); + } + + /** + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + default void analyzeOrgPolicyGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeOrgPolicyGovernedContainersMethod(), responseObserver); + } + + /** + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + default void analyzeOrgPolicyGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AssetService. + *
+   * Asset service definition.
+   * 
+ */ + public static abstract class AssetServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AssetServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AssetService. + *
+   * 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 Google 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); + } + + /** + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + public void queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryAssetsMethod(), 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); + } + + /** + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + public void analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + public void analyzeOrgPolicyGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + public void analyzeOrgPolicyGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AssetService. + *
+   * 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 Google 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); + } + + /** + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + public com.google.cloud.asset.v1.QueryAssetsResponse queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryAssetsMethod(), 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); + } + + /** + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeOrgPoliciesMethod(), getCallOptions(), request); + } + + /** + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse analyzeOrgPolicyGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions(), request); + } + + /** + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse analyzeOrgPolicyGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + *
+   * 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 Google 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); + } + + /** + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryAssets( + com.google.cloud.asset.v1.QueryAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryAssetsMethod(), 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); + } + + /** + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeOrgPolicies( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), request); + } + + /** + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeOrgPolicyGovernedContainers( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), request); + } + + /** + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeOrgPolicyGovernedAssets( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), 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_QUERY_ASSETS = 13; + private static final int METHODID_CREATE_SAVED_QUERY = 14; + private static final int METHODID_GET_SAVED_QUERY = 15; + private static final int METHODID_LIST_SAVED_QUERIES = 16; + private static final int METHODID_UPDATE_SAVED_QUERY = 17; + private static final int METHODID_DELETE_SAVED_QUERY = 18; + private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 19; + private static final int METHODID_ANALYZE_ORG_POLICIES = 20; + private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS = 21; + private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS = 22; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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_QUERY_ASSETS: + serviceImpl.queryAssets((com.google.cloud.asset.v1.QueryAssetsRequest) 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; + case METHODID_ANALYZE_ORG_POLICIES: + serviceImpl.analyzeOrgPolicies((com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS: + serviceImpl.analyzeOrgPolicyGovernedContainers((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS: + serviceImpl.analyzeOrgPolicyGovernedAssets((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ExportAssetsRequest, + com.google.longrunning.Operation>( + service, METHODID_EXPORT_ASSETS))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListAssetsRequest, + com.google.cloud.asset.v1.ListAssetsResponse>( + service, METHODID_LIST_ASSETS))) + .addMethod( + getBatchGetAssetsHistoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( + service, 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>( + service, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.GetFeedRequest, + com.google.cloud.asset.v1.Feed>( + service, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListFeedsRequest, + com.google.cloud.asset.v1.ListFeedsResponse>( + service, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.UpdateFeedRequest, + com.google.cloud.asset.v1.Feed>( + service, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteFeedRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_FEED))) + .addMethod( + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse>( + service, 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>( + service, 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>( + service, METHODID_ANALYZE_IAM_POLICY))) + .addMethod( + getAnalyzeIamPolicyLongrunningMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation>( + service, 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>( + service, METHODID_ANALYZE_MOVE))) + .addMethod( + getQueryAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.QueryAssetsRequest, + com.google.cloud.asset.v1.QueryAssetsResponse>( + service, METHODID_QUERY_ASSETS))) + .addMethod( + getCreateSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.CreateSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_UPDATE_SAVED_QUERY))) + .addMethod( + getDeleteSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, + com.google.protobuf.Empty>( + service, 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>( + service, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) + .addMethod( + getAnalyzeOrgPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse>( + service, METHODID_ANALYZE_ORG_POLICIES))) + .addMethod( + getAnalyzeOrgPolicyGovernedContainersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse>( + service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS))) + .addMethod( + getAnalyzeOrgPolicyGovernedAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse>( + service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS))) + .build(); + } + + 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(getQueryAssetsMethod()) + .addMethod(getCreateSavedQueryMethod()) + .addMethod(getGetSavedQueryMethod()) + .addMethod(getListSavedQueriesMethod()) + .addMethod(getUpdateSavedQueryMethod()) + .addMethod(getDeleteSavedQueryMethod()) + .addMethod(getBatchGetEffectiveIamPoliciesMethod()) + .addMethod(getAnalyzeOrgPoliciesMethod()) + .addMethod(getAnalyzeOrgPolicyGovernedContainersMethod()) + .addMethod(getAnalyzeOrgPolicyGovernedAssetsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java similarity index 60% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java index ee14b873a2f7..37a2aedd1ebd 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java +++ b/owl-bot-staging/java-asset/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,58 +11,51 @@
  *
  * 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;
   }
-
-  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 @@ -87,15 +63,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 @@ -103,14 +75,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() { @@ -118,7 +87,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -144,7 +113,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -154,17 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -187,104 +157,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.
@@ -292,32 +254,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -331,14 +294,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();
     }
 
@@ -353,20 +315,18 @@ 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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result) {
+    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
     }
 
@@ -374,39 +334,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -414,9 +373,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());
       }
@@ -446,19 +403,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -468,63 +425,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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) { @@ -540,17 +477,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(); } else { @@ -561,21 +495,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 (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -588,15 +518,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -609,15 +535,11 @@ 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() { bitField0_ |= 0x00000001; @@ -625,55 +547,43 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { 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); } @@ -683,13 +593,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(); } @@ -698,27 +607,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +642,6 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java similarity index 53% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java index 5b3153957535..a603612929d5 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java similarity index 65% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java index 3e5896ea09b4..510b7e2c50aa 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java +++ b/owl-bot-staging/java-asset/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,60 +11,52 @@
  *
  * 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;
   }
-
-  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 @@ -89,49 +64,33 @@ 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() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -149,7 +108,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 @@ -158,15 +116,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
@@ -184,15 +141,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 { @@ -203,17 +161,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 @@ -221,47 +174,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() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + return outputConfig_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -293,10 +232,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_); @@ -309,22 +250,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -353,104 +296,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].
@@ -458,32 +393,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,14 +439,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();
     }
 
@@ -525,28 +460,26 @@ 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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result) {
+    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.analysisQuery_ =
-            analysisQueryBuilder_ == null ? analysisQuery_ : analysisQueryBuilder_.build();
+        result.analysisQuery_ = analysisQueryBuilder_ == null
+            ? analysisQuery_
+            : analysisQueryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.savedAnalysisQuery_ = savedAnalysisQuery_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.outputConfig_ =
-            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
+        result.outputConfig_ = outputConfigBuilder_ == null
+            ? outputConfig_
+            : outputConfigBuilder_.build();
       }
     }
 
@@ -554,39 +487,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -594,9 +526,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());
       }
@@ -634,31 +564,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                savedAnalysisQuery_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getAnalysisQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOutputConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              savedAnalysisQuery_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -668,63 +598,43 @@ public Builder mergeFrom(
       } // finally
       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_;
     /**
-     *
-     *
      * 
      * 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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) { @@ -740,15 +650,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) { @@ -762,22 +668,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 (((bitField0_ & 0x00000001) != 0) - && analysisQuery_ != null - && analysisQuery_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + analysisQuery_ != null && + analysisQuery_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { getAnalysisQueryBuilder().mergeFrom(value); } else { analysisQuery_ = value; @@ -790,15 +691,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -811,15 +708,11 @@ 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() { bitField0_ |= 0x00000001; @@ -827,48 +720,36 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery 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_; @@ -876,8 +757,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
@@ -895,13 +774,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; @@ -910,8 +789,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
@@ -929,14 +806,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 { @@ -944,8 +822,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
@@ -963,22 +839,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSavedAnalysisQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -996,7 +868,6 @@ 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() { @@ -1006,8 +877,6 @@ public Builder clearSavedAnalysisQuery() { return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1025,14 +894,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSavedAnalysisQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; @@ -1042,61 +909,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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) { @@ -1112,16 +960,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) { @@ -1135,24 +979,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 (((bitField0_ & 0x00000004) != 0) - && outputConfig_ != null - && outputConfig_ - != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + outputConfig_ != null && + outputConfig_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -1165,16 +1003,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1187,76 +1021,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() { bitField0_ |= 0x00000004; 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); } @@ -1266,13 +1082,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(); } @@ -1281,27 +1096,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1316,4 +1131,6 @@ public com.google.protobuf.Parser getParserF public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java index 37d5b61146f4..06cba9c7f30a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java similarity index 60% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java index 8265b9f5296d..0176db6b2e9c 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java +++ b/owl-bot-staging/java-asset/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,48 +11,44 @@
  *
  * 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;
   }
-
-  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;
@@ -81,7 +60,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -99,13 +79,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -124,104 +103,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].
@@ -229,32 +200,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -262,14 +234,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();
     }
 
@@ -284,8 +255,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;
     }
@@ -294,39 +264,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;
@@ -334,9 +303,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.getUnknownFields());
       onChanged();
       return this;
@@ -363,13 +330,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -379,9 +345,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -391,13 +357,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();
   }
@@ -406,27 +371,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AnalyzeIamPolicyLongrunningResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -441,4 +406,6 @@ public com.google.protobuf.Parser getParser
   public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java
new file mode 100644
index 000000000000..e2d8e4d0037f
--- /dev/null
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
index b2c6b5f4fe96..a2aa007ab37e 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
+++ b/owl-bot-staging/java-asset/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,59 +11,52 @@
  *
  * 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;
   }
-
-  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 @@ -88,49 +64,33 @@ 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() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -148,7 +108,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 @@ -157,15 +116,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
@@ -183,15 +141,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 { @@ -202,8 +161,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
@@ -216,10 +173,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 @@ -227,8 +181,6 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -241,21 +193,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
@@ -268,19 +213,14 @@ 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() { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -312,10 +253,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_); @@ -328,22 +271,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -372,103 +317,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].
@@ -476,32 +414,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -521,9 +460,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
@@ -542,11 +481,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result = new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -554,15 +490,17 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.analysisQuery_ =
-            analysisQueryBuilder_ == null ? analysisQuery_ : analysisQueryBuilder_.build();
+        result.analysisQuery_ = analysisQueryBuilder_ == null
+            ? analysisQuery_
+            : analysisQueryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.savedAnalysisQuery_ = savedAnalysisQuery_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.executionTimeout_ =
-            executionTimeoutBuilder_ == null ? executionTimeout_ : executionTimeoutBuilder_.build();
+        result.executionTimeout_ = executionTimeoutBuilder_ == null
+            ? executionTimeout_
+            : executionTimeoutBuilder_.build();
       }
     }
 
@@ -570,39 +508,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -610,8 +547,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());
       }
@@ -649,32 +585,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getExecutionTimeoutFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                savedAnalysisQuery_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getAnalysisQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getExecutionTimeoutFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              savedAnalysisQuery_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -684,63 +619,43 @@ public Builder mergeFrom(
       } // finally
       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_;
     /**
-     *
-     *
      * 
      * 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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) { @@ -756,15 +671,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) { @@ -778,22 +689,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 (((bitField0_ & 0x00000001) != 0) - && analysisQuery_ != null - && analysisQuery_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + analysisQuery_ != null && + analysisQuery_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { getAnalysisQueryBuilder().mergeFrom(value); } else { analysisQuery_ = value; @@ -806,15 +712,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -827,15 +729,11 @@ 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() { bitField0_ |= 0x00000001; @@ -843,48 +741,36 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery 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_; @@ -892,8 +778,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
@@ -911,13 +795,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; @@ -926,8 +810,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
@@ -945,14 +827,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 { @@ -960,8 +843,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
@@ -979,22 +860,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSavedAnalysisQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1012,7 +889,6 @@ 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() { @@ -1022,8 +898,6 @@ public Builder clearSavedAnalysisQuery() { return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1041,14 +915,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSavedAnalysisQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; @@ -1058,13 +930,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
@@ -1077,18 +944,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1101,24 +963,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
@@ -1131,9 +986,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) { @@ -1149,8 +1002,6 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1163,11 +1014,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(); } else { @@ -1178,8 +1028,6 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1192,15 +1040,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 (((bitField0_ & 0x00000004) != 0) - && executionTimeout_ != null - && executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + executionTimeout_ != null && + executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { getExecutionTimeoutBuilder().mergeFrom(value); } else { executionTimeout_ = value; @@ -1213,8 +1059,6 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1227,9 +1071,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1242,8 +1084,6 @@ public Builder clearExecutionTimeout() { return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1256,9 +1096,7 @@ 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() { bitField0_ |= 0x00000004; @@ -1266,8 +1104,6 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { return getExecutionTimeoutFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1280,22 +1116,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
@@ -1308,29 +1139,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); } @@ -1340,12 +1166,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(); } @@ -1354,27 +1180,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1389,4 +1215,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java index 6c1c7d4abc83..7a590165eced 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java index 720887c64701..636e05f4d05d 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java +++ b/owl-bot-staging/java-asset/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,78 +11,67 @@
  *
  * 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;
   }
-
-  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.
      * 
@@ -109,8 +81,6 @@ public interface IamPolicyAnalysisOrBuilder com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** - * - * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -119,10 +89,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]
@@ -133,8 +102,6 @@ public interface IamPolicyAnalysisOrBuilder
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int index);
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -145,8 +112,6 @@ public interface IamPolicyAnalysisOrBuilder
      */
     int getAnalysisResultsCount();
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -155,11 +120,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]
@@ -172,8 +135,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]
@@ -181,24 +142,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.
      * 
@@ -207,8 +164,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.
      * 
@@ -217,19 +172,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.
      * 
@@ -240,24 +191,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(); @@ -265,41 +213,37 @@ 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; } - - 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 @@ -307,25 +251,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.
      * 
@@ -334,18 +271,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } public static final int ANALYSIS_RESULTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List analysisResults_; /** - * - * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -355,13 +287,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]
@@ -371,13 +300,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]
@@ -391,8 +318,6 @@ public int getAnalysisResultsCount() {
       return analysisResults_.size();
     }
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -406,8 +331,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
       return analysisResults_.get(index);
     }
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -425,8 +348,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
     public static final int FULLY_EXPLORED_FIELD_NUMBER = 3;
     private boolean fullyExplored_ = false;
     /**
-     *
-     *
      * 
      * Represents whether all entries in the
      * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -434,7 +355,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -443,12 +363,9 @@ public boolean getFullyExplored() { } public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List nonCriticalErrors_; /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -456,13 +373,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.
      * 
@@ -470,13 +384,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.
      * 
@@ -488,8 +400,6 @@ public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -501,8 +411,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.
      * 
@@ -516,7 +424,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalE } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,7 +435,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -551,18 +459,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -572,21 +482,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -607,7 +520,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(); @@ -618,95 +532,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 @@ -716,42 +622,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -780,22 +683,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); } @@ -804,18 +704,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { if (analysisResultsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { analysisResults_ = java.util.Collections.unmodifiableList(analysisResults_); @@ -836,12 +732,12 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.analysisQuery_ = - analysisQueryBuilder_ == null ? analysisQuery_ : analysisQueryBuilder_.build(); + result.analysisQuery_ = analysisQueryBuilder_ == null + ? analysisQuery_ + : analysisQueryBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.fullyExplored_ = fullyExplored_; @@ -852,53 +748,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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()); } @@ -920,10 +809,9 @@ public Builder mergeFrom( analysisResultsBuilder_ = null; analysisResults_ = other.analysisResults_; bitField0_ = (bitField0_ & ~0x00000002); - analysisResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAnalysisResultsFieldBuilder() - : null; + analysisResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnalysisResultsFieldBuilder() : null; } else { analysisResultsBuilder_.addAllMessages(other.analysisResults_); } @@ -950,10 +838,9 @@ public Builder mergeFrom( nonCriticalErrorsBuilder_ = null; nonCriticalErrors_ = other.nonCriticalErrors_; bitField0_ = (bitField0_ & ~0x00000008); - nonCriticalErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNonCriticalErrorsFieldBuilder() - : null; + nonCriticalErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNonCriticalErrorsFieldBuilder() : null; } else { nonCriticalErrorsBuilder_.addAllMessages(other.nonCriticalErrors_); } @@ -985,53 +872,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1.IamPolicyAnalysisResult m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), - extensionRegistry); - if (analysisResultsBuilder_ == null) { - ensureAnalysisResultsIsMutable(); - analysisResults_.add(m); - } else { - analysisResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: - { - fullyExplored_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 42: - { - com.google.cloud.asset.v1.IamPolicyAnalysisState m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), - extensionRegistry); - if (nonCriticalErrorsBuilder_ == null) { - ensureNonCriticalErrorsIsMutable(); - nonCriticalErrors_.add(m); - } else { - nonCriticalErrorsBuilder_.addMessage(m); - } - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAnalysisQueryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1.IamPolicyAnalysisResult m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), + extensionRegistry); + if (analysisResultsBuilder_ == null) { + ensureAnalysisResultsIsMutable(); + analysisResults_.add(m); + } else { + analysisResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: { + fullyExplored_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 42: { + com.google.cloud.asset.v1.IamPolicyAnalysisState m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), + extensionRegistry); + if (nonCriticalErrorsBuilder_ == null) { + ensureNonCriticalErrorsIsMutable(); + nonCriticalErrors_.add(m); + } else { + nonCriticalErrorsBuilder_.addMessage(m); + } + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1041,52 +925,38 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * 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.
        * 
@@ -1107,8 +977,6 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1127,8 +995,6 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1137,10 +1003,9 @@ public Builder setAnalysisQuery( */ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && analysisQuery_ != null - && analysisQuery_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + analysisQuery_ != null && + analysisQuery_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { getAnalysisQueryBuilder().mergeFrom(value); } else { analysisQuery_ = value; @@ -1153,8 +1018,6 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1172,8 +1035,6 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1186,8 +1047,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis query.
        * 
@@ -1198,14 +1057,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.
        * 
@@ -1213,43 +1069,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_ & 0x00000002) != 0)) { - analysisResults_ = - new java.util.ArrayList( - analysisResults_); + analysisResults_ = new java.util.ArrayList(analysisResults_); bitField0_ |= 0x00000002; - } + } } 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]
@@ -1258,8 +1103,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 {
@@ -1267,8 +1111,6 @@ private void ensureAnalysisResultsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1285,8 +1127,6 @@ public int getAnalysisResultsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1303,8 +1143,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1328,8 +1166,6 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1350,8 +1186,6 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1374,8 +1208,6 @@ public Builder addAnalysisResults(com.google.cloud.asset.v1.IamPolicyAnalysisRes
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1399,8 +1231,6 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1421,8 +1251,6 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1443,8 +1271,6 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1457,7 +1283,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);
@@ -1465,8 +1292,6 @@ public Builder addAllAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1486,8 +1311,6 @@ public Builder clearAnalysisResults() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1507,8 +1330,6 @@ public Builder removeAnalysisResults(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1522,8 +1343,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
         return getAnalysisResultsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1535,14 +1354,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]
@@ -1551,8 +1367,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 {
@@ -1560,8 +1376,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1571,12 +1385,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]
@@ -1587,13 +1399,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]
@@ -1602,22 +1411,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_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -1627,10 +1430,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]
@@ -1638,7 +1439,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -1646,8 +1446,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1655,20 +1453,17 @@ 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1676,7 +1471,6 @@ public Builder setFullyExplored(boolean value) {
        * 
* * bool fully_explored = 3; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -1687,35 +1481,25 @@ public Builder clearFullyExplored() { } private java.util.List nonCriticalErrors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNonCriticalErrorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - nonCriticalErrors_ = - new java.util.ArrayList( - nonCriticalErrors_); + nonCriticalErrors_ = new java.util.ArrayList(nonCriticalErrors_); bitField0_ |= 0x00000008; - } + } } 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 { @@ -1723,14 +1507,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) { @@ -1740,14 +1521,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) { @@ -1757,14 +1535,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) { @@ -1781,14 +1556,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) { @@ -1802,14 +1574,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) { @@ -1825,14 +1594,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) { @@ -1849,14 +1615,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) { @@ -1870,14 +1633,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) { @@ -1891,20 +1651,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); @@ -1912,14 +1670,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) { @@ -1932,14 +1687,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) { @@ -1952,49 +1704,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 { @@ -2002,62 +1744,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_ & 0x00000008) != 0), getParentForChildren(), @@ -2066,7 +1791,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) { @@ -2079,44 +1803,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2128,24 +1849,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 @@ -2153,142 +1870,103 @@ 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() { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() - : mainAnalysis_; + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { + return mainAnalysis_ == null ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - 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_ = false; /** - * - * *
    * Represents whether all entries in the
    * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2298,7 +1976,6 @@ public int getServiceAccountImpersonationAnalysisCount() {
    * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -2307,7 +1984,6 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2319,7 +1995,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -2339,15 +2016,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2357,21 +2035,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2392,110 +2071,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) + getUnknownFields().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].
@@ -2503,32 +2176,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2550,9 +2224,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
@@ -2571,36 +2245,31 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result) {
       if (serviceAccountImpersonationAnalysisBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
-          serviceAccountImpersonationAnalysis_ =
-              java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
+          serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
           bitField0_ = (bitField0_ & ~0x00000002);
         }
         result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysis_;
       } else {
-        result.serviceAccountImpersonationAnalysis_ =
-            serviceAccountImpersonationAnalysisBuilder_.build();
+        result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysisBuilder_.build();
       }
     }
 
     private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.mainAnalysis_ =
-            mainAnalysisBuilder_ == null ? mainAnalysis_ : mainAnalysisBuilder_.build();
+        result.mainAnalysis_ = mainAnalysisBuilder_ == null
+            ? mainAnalysis_
+            : mainAnalysisBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.fullyExplored_ = fullyExplored_;
@@ -2611,39 +2280,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -2651,8 +2319,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());
       }
@@ -2674,13 +2341,11 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse othe
             serviceAccountImpersonationAnalysisBuilder_ = null;
             serviceAccountImpersonationAnalysis_ = other.serviceAccountImpersonationAnalysis_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            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_);
           }
         }
       }
@@ -2713,40 +2378,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMainAnalysisFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis
-                            .parser(),
-                        extensionRegistry);
-                if (serviceAccountImpersonationAnalysisBuilder_ == null) {
-                  ensureServiceAccountImpersonationAnalysisIsMutable();
-                  serviceAccountImpersonationAnalysis_.add(m);
-                } else {
-                  serviceAccountImpersonationAnalysisBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                fullyExplored_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMainAnalysisFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(),
+                      extensionRegistry);
+              if (serviceAccountImpersonationAnalysisBuilder_ == null) {
+                ensureServiceAccountImpersonationAnalysisIsMutable();
+                serviceAccountImpersonationAnalysis_.add(m);
+              } else {
+                serviceAccountImpersonationAnalysisBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              fullyExplored_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2756,64 +2418,45 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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(); @@ -2827,18 +2470,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(); } else { @@ -2849,23 +2488,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 (((bitField0_ & 0x00000001) != 0) - && mainAnalysis_ != null - && mainAnalysis_ - != com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + mainAnalysis_ != null && + mainAnalysis_ != com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()) { getMainAnalysisBuilder().mergeFrom(value); } else { mainAnalysis_ = value; @@ -2878,14 +2511,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2898,103 +2528,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() { bitField0_ |= 0x00000001; 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_ & 0x00000002) != 0)) { - serviceAccountImpersonationAnalysis_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>( - serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(serviceAccountImpersonationAnalysis_); bitField0_ |= 0x00000002; - } + } } 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 { @@ -3002,17 +2604,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) { @@ -3022,20 +2620,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 { @@ -3043,17 +2636,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) { @@ -3070,22 +2659,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()); @@ -3096,20 +2679,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(); @@ -3123,17 +2701,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) { @@ -3150,21 +2724,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()); @@ -3175,22 +2744,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()); @@ -3201,22 +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 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( @@ -3228,17 +2785,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) { @@ -3251,17 +2804,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) { @@ -3274,59 +2823,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 { @@ -3334,76 +2869,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_ & 0x00000002) != 0), getParentForChildren(), @@ -3413,10 +2923,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]
@@ -3426,7 +2934,6 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) {
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -3434,8 +2941,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -3445,20 +2950,17 @@ 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -3468,7 +2970,6 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -3477,9 +2978,9 @@ public Builder clearFullyExplored() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3489,12 +2990,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(); } @@ -3503,27 +3004,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3538,4 +3039,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java similarity index 58% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java index 6b26559c67e1..4eef1b0c3453 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java index 70a4b9e639f0..4ad349bac1c1 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java +++ b/owl-bot-staging/java-asset/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,43 +27,39 @@ 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; } - - 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.
@@ -91,8 +69,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.
@@ -102,8 +78,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.
@@ -116,8 +90,6 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The default/unset value.
      * The API will default to the FULL view.
@@ -127,8 +99,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.
@@ -138,8 +108,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.
@@ -149,6 +117,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(
@@ -173,49 +142,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 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<
+        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() {
       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;
@@ -233,12 +202,9 @@ private AnalysisView(int value) {
   }
 
   public static final int RESOURCE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object resource_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the resource to perform the analysis against.
    * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -247,7 +213,6 @@ private AnalysisView(int value) {
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resource. */ @java.lang.Override @@ -256,15 +221,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 Google Cloud projects are supported as of today. Hence, this can only
@@ -273,15 +237,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 { @@ -290,12 +255,9 @@ public com.google.protobuf.ByteString getResourceBytes() { } public static final int DESTINATION_PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object destinationParent_ = ""; /** - * - * *
    * Required. Name of the Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -305,7 +267,6 @@ public com.google.protobuf.ByteString getResourceBytes() {
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationParent. */ @java.lang.Override @@ -314,15 +275,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 Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -332,15 +292,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 { @@ -351,44 +312,32 @@ public com.google.protobuf.ByteString getDestinationParentBytes() { public static final int VIEW_FIELD_NUMBER = 3; 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; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.forNumber(view_); - return result == null - ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.forNumber(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; @@ -400,16 +349,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_); } getUnknownFields().writeTo(output); @@ -427,10 +375,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -440,16 +387,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -473,136 +421,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +556,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 @@ -635,11 +577,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.AnalyzeMoveRequest result = new com.google.cloud.asset.v1.AnalyzeMoveRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -661,39 +600,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeMoveRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -741,31 +679,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - destinationParent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + destinationParent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + view_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -775,13 +709,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resource_ = ""; /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -790,13 +721,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; @@ -805,8 +736,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -815,14 +744,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 { @@ -830,8 +760,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -840,22 +768,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -864,7 +788,6 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -874,8 +797,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -884,14 +805,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -901,8 +820,6 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationParent_ = ""; /** - * - * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -912,13 +829,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; @@ -927,8 +844,6 @@ public java.lang.String getDestinationParent() { } } /** - * - * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -938,14 +853,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 { @@ -953,8 +869,6 @@ public com.google.protobuf.ByteString getDestinationParentBytes() { } } /** - * - * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -964,22 +878,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } destinationParent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -989,7 +899,6 @@ public Builder setDestinationParent(java.lang.String value) {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDestinationParent() { @@ -999,8 +908,6 @@ public Builder clearDestinationParent() { return this; } /** - * - * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -1010,14 +917,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDestinationParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationParent_ = value; bitField0_ |= 0x00000002; @@ -1027,31 +932,24 @@ 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. */ @@ -1062,35 +960,26 @@ public Builder setViewValue(int value) { 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() { - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.forNumber(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.forNumber(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. */ @@ -1104,15 +993,12 @@ public Builder setView(com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView 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() { @@ -1121,9 +1007,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1133,12 +1019,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(); } @@ -1147,27 +1033,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeMoveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeMoveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java similarity index 77% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java index 65189dbde14c..b4d75e8726ee 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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 Google Cloud projects are supported as of today. Hence, this can only
@@ -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 Google Cloud projects are supported as of today. Hence, this can only
@@ -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 Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -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 Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java index b24cb8fc2f4a..890a1f053c01 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") private java.util.List moveAnalysis_; /** - * - * *
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Google Cloud services.
@@ -86,8 +64,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 Google Cloud services.
@@ -96,13 +72,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 Google Cloud services.
@@ -115,8 +89,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 Google Cloud services.
@@ -129,8 +101,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 Google Cloud services.
@@ -139,12 +109,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;
@@ -156,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -170,7 +141,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,15 +152,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,136 +181,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +320,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 @@ -375,12 +341,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -405,39 +368,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeMoveResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -464,10 +426,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_); } @@ -499,26 +460,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.MoveAnalysis m = - input.readMessage( - com.google.cloud.asset.v1.MoveAnalysis.parser(), extensionRegistry); - if (moveAnalysisBuilder_ == null) { - ensureMoveAnalysisIsMutable(); - moveAnalysis_.add(m); - } else { - moveAnalysisBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.MoveAnalysis m = + input.readMessage( + com.google.cloud.asset.v1.MoveAnalysis.parser(), + extensionRegistry); + if (moveAnalysisBuilder_ == null) { + ensureMoveAnalysisIsMutable(); + moveAnalysis_.add(m); + } else { + moveAnalysisBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -528,29 +488,21 @@ public Builder mergeFrom( } // finally 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 Google Cloud services.
@@ -566,8 +518,6 @@ public java.util.List getMoveAnalysisLis
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -583,8 +533,6 @@ public int getMoveAnalysisCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -600,8 +548,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 Google Cloud services.
@@ -609,7 +555,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();
@@ -623,8 +570,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 Google Cloud services.
@@ -644,8 +589,6 @@ public Builder setMoveAnalysis(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -667,8 +610,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 Google Cloud services.
@@ -676,7 +617,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();
@@ -690,8 +632,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 Google Cloud services.
@@ -699,7 +639,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());
@@ -710,8 +651,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 Google Cloud services.
@@ -731,8 +670,6 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -744,7 +681,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);
@@ -752,8 +690,6 @@ public Builder addAllMoveAnalysis(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -772,8 +708,6 @@ public Builder clearMoveAnalysis() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -792,8 +726,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 Google Cloud services.
@@ -801,12 +733,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 Google Cloud services.
@@ -814,16 +745,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 Google Cloud services.
@@ -831,8 +760,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 {
@@ -840,8 +769,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 Google Cloud services.
@@ -850,12 +777,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 Google Cloud services.
@@ -863,13 +788,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 Google Cloud services.
@@ -877,30 +801,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);
     }
 
@@ -910,12 +831,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();
   }
@@ -924,27 +845,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AnalyzeMoveResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -959,4 +880,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AnalyzeMoveResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
index c39b026d7cc8..760a8640d6a8 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
+++ b/owl-bot-staging/java-asset/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 Google 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 Google 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 Google 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 Google 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 Google 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
similarity index 75%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
index 519bd2558826..deeb23de41f3 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.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.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesRequest}
  */
-public final class AnalyzeOrgPoliciesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeOrgPoliciesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest)
     AnalyzeOrgPoliciesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPoliciesRequest.newBuilder() to construct.
   private AnalyzeOrgPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeOrgPoliciesRequest() {
     scope_ = "";
     constraint_ = "";
@@ -47,38 +29,34 @@ private AnalyzeOrgPoliciesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeOrgPoliciesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class,
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SCOPE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object scope_ = "";
   /**
-   *
-   *
    * 
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -86,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -95,15 +72,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 organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -111,15 +87,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 { @@ -128,12 +105,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int CONSTRAINT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object constraint_ = ""; /** - * - * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -141,7 +115,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ @java.lang.Override @@ -150,15 +123,14 @@ public java.lang.String getConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; } } /** - * - * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -166,15 +138,16 @@ public java.lang.String getConstraint() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ @java.lang.Override - public com.google.protobuf.ByteString getConstraintBytes() { + public com.google.protobuf.ByteString + getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); constraint_ = b; return b; } else { @@ -183,12 +156,9 @@ public com.google.protobuf.ByteString getConstraintBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -200,7 +170,6 @@ public com.google.protobuf.ByteString getConstraintBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -209,15 +178,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; } } /** - * - * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -229,15 +197,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -248,8 +217,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -257,7 +224,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -265,8 +231,6 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -274,7 +238,6 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -283,18 +246,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -303,29 +262,29 @@ 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 pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @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 { @@ -334,7 +293,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,7 +304,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -381,7 +340,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (((bitField0_ & 0x00000001) != 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_); @@ -394,22 +354,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.AnalyzeOrgPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest other = - (com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) obj; + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest other = (com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) obj; - if (!getScope().equals(other.getScope())) return false; - if (!getConstraint().equals(other.getConstraint())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getConstraint() + .equals(other.getConstraint())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() != other.getPageSize()) return false; + if (getPageSize() + != other.getPageSize()) return false; } - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -439,103 +403,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( com.google.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.AnalyzeOrgPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPoliciesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -543,32 +500,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesRequest}
    */
-  public static final class Builder extends com.google.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.AnalyzeOrgPoliciesRequest)
       com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class,
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -582,9 +540,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_AnalyzeOrgPoliciesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -603,11 +561,8 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest result =
-          new com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest result = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -638,39 +593,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -678,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.getDefaultInstance()) return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         bitField0_ |= 0x00000001;
@@ -729,43 +682,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                scope_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                constraint_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              scope_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              constraint_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -775,13 +722,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
-     *
-     *
      * 
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -789,13 +733,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; @@ -804,8 +748,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -813,14 +755,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 { @@ -828,8 +771,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -837,22 +778,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -860,7 +797,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -870,8 +806,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -879,14 +813,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -896,8 +828,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object constraint_ = ""; /** - * - * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -905,13 +835,13 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ public java.lang.String getConstraint() { java.lang.Object ref = constraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; @@ -920,8 +850,6 @@ public java.lang.String getConstraint() { } } /** - * - * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -929,14 +857,15 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ - public com.google.protobuf.ByteString getConstraintBytes() { + public com.google.protobuf.ByteString + getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); constraint_ = b; return b; } else { @@ -944,8 +873,6 @@ public com.google.protobuf.ByteString getConstraintBytes() { } } /** - * - * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -953,22 +880,18 @@ public com.google.protobuf.ByteString getConstraintBytes() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The constraint to set. * @return This builder for chaining. */ - public Builder setConstraint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConstraint( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } constraint_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -976,7 +899,6 @@ public Builder setConstraint(java.lang.String value) {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -986,8 +908,6 @@ public Builder clearConstraint() { return this; } /** - * - * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -995,14 +915,12 @@ public Builder clearConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for constraint to set. * @return This builder for chaining. */ - public Builder setConstraintBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConstraintBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); constraint_ = value; bitField0_ |= 0x00000002; @@ -1012,8 +930,6 @@ public Builder setConstraintBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1025,13 +941,13 @@ public Builder setConstraintBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1040,8 +956,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1053,14 +967,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1068,8 +983,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1081,22 +994,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1108,7 +1017,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1118,8 +1026,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1131,14 +1037,12 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1146,10 +1050,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1157,7 +1059,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1165,8 +1066,6 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1174,7 +1073,6 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1182,8 +1080,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1191,20 +1087,17 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1212,7 +1105,6 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1224,20 +1116,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @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; @@ -1246,21 +1136,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @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 { @@ -1268,35 +1157,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1306,30 +1188,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1339,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest(); } @@ -1353,27 +1231,27 @@ public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1388,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java similarity index 79% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java index 85ed845c95d6..cbeb18fb9b99 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.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 AnalyzeOrgPoliciesRequestOrBuilder - extends +public interface AnalyzeOrgPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -33,13 +15,10 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -47,14 +26,12 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -62,13 +39,10 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ java.lang.String getConstraint(); /** - * - * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -76,14 +50,12 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ - com.google.protobuf.ByteString getConstraintBytes(); + com.google.protobuf.ByteString + getConstraintBytes(); /** - * - * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -95,13 +67,10 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -113,14 +82,12 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -128,13 +95,10 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -142,33 +106,27 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder
    * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java index a458e399911f..493e1efb5527 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.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 response message for
  * [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse}
  */
-public final class AnalyzeOrgPoliciesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeOrgPoliciesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse)
     AnalyzeOrgPoliciesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPoliciesResponse.newBuilder() to construct.
   private AnalyzeOrgPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeOrgPoliciesResponse() {
     orgPolicyResults_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,38 +27,34 @@ private AnalyzeOrgPoliciesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeOrgPoliciesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class,
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
   }
 
-  public interface OrgPolicyResultOrBuilder
-      extends
+  public interface OrgPolicyResultOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -86,13 +64,10 @@ public interface OrgPolicyResultOrBuilder
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; - * * @return Whether the consolidatedPolicy field is set. */ boolean hasConsolidatedPolicy(); /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -102,13 +77,10 @@ public interface OrgPolicyResultOrBuilder
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; - * * @return The consolidatedPolicy. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy(); /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -122,8 +94,6 @@ public interface OrgPolicyResultOrBuilder
     com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder();
 
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -134,10 +104,9 @@ public interface OrgPolicyResultOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
-    java.util.List getPolicyBundleList();
+    java.util.List 
+        getPolicyBundleList();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -150,8 +119,6 @@ public interface OrgPolicyResultOrBuilder
      */
     com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index);
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -164,8 +131,6 @@ public interface OrgPolicyResultOrBuilder
      */
     int getPolicyBundleCount();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -176,11 +141,9 @@ public interface OrgPolicyResultOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
-    java.util.List
+    java.util.List 
         getPolicyBundleOrBuilderList();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -191,62 +154,57 @@ public interface OrgPolicyResultOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
-    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index);
+    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * The organization policy result to the query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult} */ - public static final class OrgPolicyResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class OrgPolicyResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) OrgPolicyResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OrgPolicyResult.newBuilder() to construct. private OrgPolicyResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OrgPolicyResult() { policyBundle_ = 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 OrgPolicyResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); } public static final int CONSOLIDATED_POLICY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -256,7 +214,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; - * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -264,8 +221,6 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -275,18 +230,13 @@ public boolean hasConsolidatedPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; - * * @return The consolidatedPolicy. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { - return consolidatedPolicy_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() - : consolidatedPolicy_; + return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; } /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -299,18 +249,13 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() {
      */
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder() {
-      return consolidatedPolicy_ == null
-          ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
-          : consolidatedPolicy_;
+      return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
     }
 
     public static final int POLICY_BUNDLE_FIELD_NUMBER = 2;
-
     @SuppressWarnings("serial")
     private java.util.List policyBundle_;
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -326,8 +271,6 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -339,13 +282,11 @@ public java.util.List getPolicyBund
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getPolicyBundleOrBuilderList() {
       return policyBundle_;
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -361,8 +302,6 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -378,8 +317,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
       return policyBundle_.get(index);
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -397,7 +334,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -409,7 +345,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (consolidatedPolicy_ != null) {
         output.writeMessage(1, getConsolidatedPolicy());
       }
@@ -426,11 +363,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (consolidatedPolicy_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConsolidatedPolicy());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getConsolidatedPolicy());
       }
       for (int i = 0; i < policyBundle_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, policyBundle_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, policyBundle_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -440,19 +378,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.AnalyzeOrgPoliciesResponse.OrgPolicyResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other =
-          (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) obj;
+      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other = (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) obj;
 
       if (hasConsolidatedPolicy() != other.hasConsolidatedPolicy()) return false;
       if (hasConsolidatedPolicy()) {
-        if (!getConsolidatedPolicy().equals(other.getConsolidatedPolicy())) return false;
+        if (!getConsolidatedPolicy()
+            .equals(other.getConsolidatedPolicy())) return false;
       }
-      if (!getPolicyBundleList().equals(other.getPolicyBundleList())) return false;
+      if (!getPolicyBundleList()
+          .equals(other.getPolicyBundleList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -478,95 +417,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.nio.ByteBuffer 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
         com.google.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      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.AnalyzeOrgPoliciesResponse.OrgPolicyResult
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
-        parseDelimitedFrom(
-            java.io.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseDelimitedFrom(
+        java.io.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult prototype) {
+    public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -576,42 +507,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The organization policy result to the query.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult} */ - public static final class Builder - extends com.google.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult) com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -632,22 +560,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_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult build() { - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = - buildPartial(); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -656,18 +581,14 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult buil @java.lang.Override public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = - new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult(this); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { if (policyBundleBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { policyBundle_ = java.util.Collections.unmodifiableList(policyBundle_); @@ -679,14 +600,12 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.consolidatedPolicy_ = - consolidatedPolicyBuilder_ == null - ? consolidatedPolicy_ - : consolidatedPolicyBuilder_.build(); + result.consolidatedPolicy_ = consolidatedPolicyBuilder_ == null + ? consolidatedPolicy_ + : consolidatedPolicyBuilder_.build(); } } @@ -694,53 +613,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other) { - if (other - == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other) { + if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance()) return this; if (other.hasConsolidatedPolicy()) { mergeConsolidatedPolicy(other.getConsolidatedPolicy()); } @@ -762,10 +674,9 @@ public Builder mergeFrom( policyBundleBuilder_ = null; policyBundle_ = other.policyBundle_; bitField0_ = (bitField0_ & ~0x00000002); - policyBundleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPolicyBundleFieldBuilder() - : null; + policyBundleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPolicyBundleFieldBuilder() : null; } else { policyBundleBuilder_.addAllMessages(other.policyBundle_); } @@ -797,33 +708,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getConsolidatedPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1.AnalyzerOrgPolicy m = - input.readMessage( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), extensionRegistry); - if (policyBundleBuilder_ == null) { - ensurePolicyBundleIsMutable(); - policyBundle_.add(m); - } else { - policyBundleBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getConsolidatedPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1.AnalyzerOrgPolicy m = + input.readMessage( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), + extensionRegistry); + if (policyBundleBuilder_ == null) { + ensurePolicyBundleIsMutable(); + policyBundle_.add(m); + } else { + policyBundleBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -833,18 +743,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> - consolidatedPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> consolidatedPolicyBuilder_; /** - * - * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -854,15 +758,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; - * * @return Whether the consolidatedPolicy field is set. */ public boolean hasConsolidatedPolicy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -872,21 +773,16 @@ public boolean hasConsolidatedPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; - * * @return The consolidatedPolicy. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { if (consolidatedPolicyBuilder_ == null) { - return consolidatedPolicy_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() - : consolidatedPolicy_; + return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; } else { return consolidatedPolicyBuilder_.getMessage(); } } /** - * - * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -911,8 +807,6 @@ public Builder setConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -935,8 +829,6 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -949,10 +841,9 @@ public Builder setConsolidatedPolicy(
        */
       public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (consolidatedPolicyBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && consolidatedPolicy_ != null
-              && consolidatedPolicy_
-                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            consolidatedPolicy_ != null &&
+            consolidatedPolicy_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
             getConsolidatedPolicyBuilder().mergeFrom(value);
           } else {
             consolidatedPolicy_ = value;
@@ -965,8 +856,6 @@ public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPoli
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -988,8 +877,6 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1006,8 +893,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getConsolidatedPolicy
         return getConsolidatedPolicyFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1022,14 +907,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
         if (consolidatedPolicyBuilder_ != null) {
           return consolidatedPolicyBuilder_.getMessageOrBuilder();
         } else {
-          return consolidatedPolicy_ == null
-              ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
-              : consolidatedPolicy_;
+          return consolidatedPolicy_ == null ?
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
         }
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1041,42 +923,32 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
        * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
           getConsolidatedPolicyFieldBuilder() {
         if (consolidatedPolicyBuilder_ == null) {
-          consolidatedPolicyBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
-                  getConsolidatedPolicy(), getParentForChildren(), isClean());
+          consolidatedPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+                  getConsolidatedPolicy(),
+                  getParentForChildren(),
+                  isClean());
           consolidatedPolicy_ = null;
         }
         return consolidatedPolicyBuilder_;
       }
 
       private java.util.List policyBundle_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensurePolicyBundleIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
-          policyBundle_ =
-              new java.util.ArrayList(policyBundle_);
+          policyBundle_ = new java.util.ArrayList(policyBundle_);
           bitField0_ |= 0x00000002;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
-          policyBundleBuilder_;
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> policyBundleBuilder_;
 
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1095,8 +967,6 @@ public java.util.List getPolicyBund
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1115,8 +985,6 @@ public int getPolicyBundleCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1135,8 +1003,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1147,7 +1013,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder setPolicyBundle(
+          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1161,8 +1028,6 @@ public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgP
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1185,8 +1050,6 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1211,8 +1074,6 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1223,7 +1084,8 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder addPolicyBundle(
+          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1237,8 +1099,6 @@ public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgP
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1261,8 +1121,6 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1285,8 +1143,6 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1301,7 +1157,8 @@ public Builder addAllPolicyBundle(
           java.lang.Iterable values) {
         if (policyBundleBuilder_ == null) {
           ensurePolicyBundleIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBundle_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, policyBundle_);
           onChanged();
         } else {
           policyBundleBuilder_.addAllMessages(values);
@@ -1309,8 +1166,6 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1332,8 +1187,6 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1355,8 +1208,6 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1367,12 +1218,11 @@ public Builder removePolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index) {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(
+          int index) {
         return getPolicyBundleFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1386,14 +1236,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilde
       public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
           int index) {
         if (policyBundleBuilder_ == null) {
-          return policyBundle_.get(index);
-        } else {
+          return policyBundle_.get(index);  } else {
           return policyBundleBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1404,8 +1251,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public java.util.List
-          getPolicyBundleOrBuilderList() {
+      public java.util.List 
+           getPolicyBundleOrBuilderList() {
         if (policyBundleBuilder_ != null) {
           return policyBundleBuilder_.getMessageOrBuilderList();
         } else {
@@ -1413,8 +1260,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1426,12 +1271,10 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
       public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder() {
-        return getPolicyBundleFieldBuilder()
-            .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+        return getPolicyBundleFieldBuilder().addBuilder(
+            com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1442,13 +1285,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index) {
-        return getPolicyBundleFieldBuilder()
-            .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(
+          int index) {
+        return getPolicyBundleFieldBuilder().addBuilder(
+            index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1459,22 +1301,16 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public java.util.List
-          getPolicyBundleBuilderList() {
+      public java.util.List 
+           getPolicyBundleBuilderList() {
         return getPolicyBundleFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
           getPolicyBundleFieldBuilder() {
         if (policyBundleBuilder_ == null) {
-          policyBundleBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+          policyBundleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
                   policyBundle_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -1483,7 +1319,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
         }
         return policyBundleBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1496,44 +1331,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)
-    private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult();
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
-        getDefaultInstance() {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public OrgPolicyResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public OrgPolicyResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1545,20 +1377,16 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ORG_POLICY_RESULTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
-  private java.util.List
-      orgPolicyResults_;
+  private java.util.List orgPolicyResults_;
   /**
-   *
-   *
    * 
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1566,18 +1394,13 @@ public com.google.protobuf.Parser getParserForType() {
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ @java.lang.Override - public java.util.List - getOrgPolicyResultsList() { + public java.util.List getOrgPolicyResultsList() { return orgPolicyResults_; } /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1585,19 +1408,14 @@ public com.google.protobuf.Parser getParserForType() {
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> + public java.util.List getOrgPolicyResultsOrBuilderList() { return orgPolicyResults_; } /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1605,17 +1423,13 @@ public com.google.protobuf.Parser getParserForType() {
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ @java.lang.Override public int getOrgPolicyResultsCount() { return orgPolicyResults_.size(); } /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1623,18 +1437,13 @@ public int getOrgPolicyResultsCount() {
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index) { return orgPolicyResults_.get(index); } /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1642,27 +1451,22 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder - getOrgPolicyResultsOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder( + int index) { return orgPolicyResults_.get(index); } public static final int CONSTRAINT_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ @java.lang.Override @@ -1670,25 +1474,18 @@ public boolean hasConstraint() { return constraint_ != null; } /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } /** - * - * *
    * The definition of the constraint in the request.
    * 
@@ -1697,25 +1494,19 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder() { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -1724,30 +1515,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; } } /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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 { @@ -1756,7 +1547,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1768,7 +1558,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < orgPolicyResults_.size(); i++) { output.writeMessage(1, orgPolicyResults_.get(i)); } @@ -1788,10 +1579,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < orgPolicyResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, orgPolicyResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, orgPolicyResults_.get(i)); } if (constraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConstraint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -1804,20 +1597,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.AnalyzeOrgPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse other = - (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) obj; + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse other = (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) obj; - if (!getOrgPolicyResultsList().equals(other.getOrgPolicyResultsList())) return false; + if (!getOrgPolicyResultsList() + .equals(other.getOrgPolicyResultsList())) return false; if (hasConstraint() != other.hasConstraint()) return false; if (hasConstraint()) { - if (!getConstraint().equals(other.getConstraint())) return false; + if (!getConstraint() + .equals(other.getConstraint())) return false; } - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1845,103 +1640,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( com.google.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.AnalyzeOrgPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPoliciesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -1949,32 +1737,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse}
    */
-  public static final class Builder extends com.google.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.AnalyzeOrgPoliciesResponse)
       com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class,
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1996,9 +1785,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_AnalyzeOrgPoliciesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -2017,18 +1806,14 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result =
-          new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse(this);
+      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result) {
       if (orgPolicyResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           orgPolicyResults_ = java.util.Collections.unmodifiableList(orgPolicyResults_);
@@ -2043,7 +1828,9 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.constraint_ = constraintBuilder_ == null ? constraint_ : constraintBuilder_.build();
+        result.constraint_ = constraintBuilder_ == null
+            ? constraint_
+            : constraintBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -2054,39 +1841,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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.AnalyzeOrgPoliciesResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2094,8 +1880,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.getDefaultInstance()) return this;
       if (orgPolicyResultsBuilder_ == null) {
         if (!other.orgPolicyResults_.isEmpty()) {
           if (orgPolicyResults_.isEmpty()) {
@@ -2114,10 +1899,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse ot
             orgPolicyResultsBuilder_ = null;
             orgPolicyResults_ = other.orgPolicyResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyResultsFieldBuilder()
-                    : null;
+            orgPolicyResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyResultsFieldBuilder() : null;
           } else {
             orgPolicyResultsBuilder_.addAllMessages(other.orgPolicyResults_);
           }
@@ -2157,40 +1941,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
-                            .parser(),
-                        extensionRegistry);
-                if (orgPolicyResultsBuilder_ == null) {
-                  ensureOrgPolicyResultsIsMutable();
-                  orgPolicyResults_.add(m);
-                } else {
-                  orgPolicyResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getConstraintFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.parser(),
+                      extensionRegistry);
+              if (orgPolicyResultsBuilder_ == null) {
+                ensureOrgPolicyResultsIsMutable();
+                orgPolicyResults_.add(m);
+              } else {
+                orgPolicyResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getConstraintFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2200,31 +1981,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        orgPolicyResults_ = java.util.Collections.emptyList();
-
+    private java.util.List orgPolicyResults_ =
+      java.util.Collections.emptyList();
     private void ensureOrgPolicyResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        orgPolicyResults_ =
-            new java.util.ArrayList<
-                com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult>(
-                orgPolicyResults_);
+        orgPolicyResults_ = new java.util.ArrayList(orgPolicyResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult,
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder,
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>
-        orgPolicyResultsBuilder_;
+        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> orgPolicyResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2232,12 +2003,9 @@ private void ensureOrgPolicyResultsIsMutable() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public java.util.List - getOrgPolicyResultsList() { + public java.util.List getOrgPolicyResultsList() { if (orgPolicyResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(orgPolicyResults_); } else { @@ -2245,8 +2013,6 @@ private void ensureOrgPolicyResultsIsMutable() { } } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2254,9 +2020,7 @@ private void ensureOrgPolicyResultsIsMutable() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public int getOrgPolicyResultsCount() { if (orgPolicyResultsBuilder_ == null) { @@ -2266,8 +2030,6 @@ public int getOrgPolicyResultsCount() { } } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2275,12 +2037,9 @@ public int getOrgPolicyResultsCount() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index) { if (orgPolicyResultsBuilder_ == null) { return orgPolicyResults_.get(index); } else { @@ -2288,8 +2047,6 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO } } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2297,9 +2054,7 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder setOrgPolicyResults( int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { @@ -2316,8 +2071,6 @@ public Builder setOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2325,14 +2078,10 @@ public Builder setOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder setOrgPolicyResults( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); orgPolicyResults_.set(index, builderForValue.build()); @@ -2343,8 +2092,6 @@ public Builder setOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2352,12 +2099,9 @@ public Builder setOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public Builder addOrgPolicyResults( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { + public Builder addOrgPolicyResults(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { if (orgPolicyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2371,8 +2115,6 @@ public Builder addOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2380,9 +2122,7 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder addOrgPolicyResults( int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { @@ -2399,8 +2139,6 @@ public Builder addOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2408,13 +2146,10 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder addOrgPolicyResults( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); orgPolicyResults_.add(builderForValue.build()); @@ -2425,8 +2160,6 @@ public Builder addOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2434,14 +2167,10 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder addOrgPolicyResults( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); orgPolicyResults_.add(index, builderForValue.build()); @@ -2452,8 +2181,6 @@ public Builder addOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2461,17 +2188,14 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder addAllOrgPolicyResults( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult> - values) { + java.lang.Iterable values) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicyResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, orgPolicyResults_); onChanged(); } else { orgPolicyResultsBuilder_.addAllMessages(values); @@ -2479,8 +2203,6 @@ public Builder addAllOrgPolicyResults( return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2488,9 +2210,7 @@ public Builder addAllOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder clearOrgPolicyResults() { if (orgPolicyResultsBuilder_ == null) { @@ -2503,8 +2223,6 @@ public Builder clearOrgPolicyResults() { return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2512,9 +2230,7 @@ public Builder clearOrgPolicyResults() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ public Builder removeOrgPolicyResults(int index) { if (orgPolicyResultsBuilder_ == null) { @@ -2527,8 +2243,6 @@ public Builder removeOrgPolicyResults(int index) { return this; } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2536,17 +2250,13 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder - getOrgPolicyResultsBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder getOrgPolicyResultsBuilder( + int index) { return getOrgPolicyResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2554,21 +2264,16 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder - getOrgPolicyResultsOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder( + int index) { if (orgPolicyResultsBuilder_ == null) { - return orgPolicyResults_.get(index); - } else { + return orgPolicyResults_.get(index); } else { return orgPolicyResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2576,13 +2281,10 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public java.util.List< - ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> - getOrgPolicyResultsOrBuilderList() { + public java.util.List + getOrgPolicyResultsOrBuilderList() { if (orgPolicyResultsBuilder_ != null) { return orgPolicyResultsBuilder_.getMessageOrBuilderList(); } else { @@ -2590,8 +2292,6 @@ public Builder removeOrgPolicyResults(int index) { } } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2599,20 +2299,13 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder - addOrgPolicyResultsBuilder() { - return getOrgPolicyResultsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addOrgPolicyResultsBuilder() { + return getOrgPolicyResultsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance()); } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2620,21 +2313,14 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder - addOrgPolicyResultsBuilder(int index) { - return getOrgPolicyResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addOrgPolicyResultsBuilder( + int index) { + return getOrgPolicyResultsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance()); } /** - * - * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2642,27 +2328,18 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder> - getOrgPolicyResultsBuilderList() { + public java.util.List + getOrgPolicyResultsBuilderList() { return getOrgPolicyResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> getOrgPolicyResultsFieldBuilder() { if (orgPolicyResultsBuilder_ == null) { - orgPolicyResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>( + orgPolicyResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>( orgPolicyResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2674,47 +2351,34 @@ public Builder removeOrgPolicyResults(int index) { private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> - constraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> constraintBuilder_; /** - * - * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ public boolean hasConstraint() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { if (constraintBuilder_ == null) { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } else { return constraintBuilder_.getMessage(); } } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2735,8 +2399,6 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2755,8 +2417,6 @@ public Builder setConstraint( return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2765,10 +2425,9 @@ public Builder setConstraint( */ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint value) { if (constraintBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && constraint_ != null - && constraint_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + constraint_ != null && + constraint_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { getConstraintBuilder().mergeFrom(value); } else { constraint_ = value; @@ -2781,8 +2440,6 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2800,8 +2457,6 @@ public Builder clearConstraint() { return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2814,8 +2469,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2826,14 +2479,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilder(); } else { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -2841,17 +2491,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { - constraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( - getConstraint(), getParentForChildren(), isClean()); + constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( + getConstraint(), + getParentForChildren(), + isClean()); constraint_ = null; } return constraintBuilder_; @@ -2859,21 +2506,19 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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; @@ -2882,22 +2527,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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 { @@ -2905,37 +2549,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -2945,31 +2582,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2979,12 +2612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse(); } @@ -2993,27 +2626,27 @@ public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3028,4 +2661,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java index 545f2682f8f3..51f2a4fff80d 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.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 AnalyzeOrgPoliciesResponseOrBuilder - extends +public interface AnalyzeOrgPoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -33,15 +15,11 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - java.util.List + java.util.List getOrgPolicyResultsList(); /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -49,15 +27,10 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults( - int index); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index); /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -65,14 +38,10 @@ com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolic
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ int getOrgPolicyResultsCount(); /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -80,16 +49,11 @@ com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolic
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - java.util.List< - ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> + java.util.List getOrgPolicyResultsOrBuilderList(); /** - * - * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -97,40 +61,30 @@ com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolic
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder - getOrgPolicyResultsOrBuilder(int index); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder( + int index); /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ boolean hasConstraint(); /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint(); /** - * - * *
    * The definition of the constraint in the request.
    * 
@@ -140,29 +94,24 @@ com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolic com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder(); /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java similarity index 74% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java index 3432ccf6e0ae..da3917b7a95f 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.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.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest}
  */
-public final class AnalyzeOrgPolicyGovernedAssetsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeOrgPolicyGovernedAssetsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest)
     AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedAssetsRequest.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedAssetsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeOrgPolicyGovernedAssetsRequest() {
     scope_ = "";
     constraint_ = "";
@@ -49,38 +29,34 @@ private AnalyzeOrgPolicyGovernedAssetsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedAssetsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SCOPE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object scope_ = "";
   /**
-   *
-   *
    * 
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -90,7 +66,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -99,15 +74,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 organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -117,15 +91,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 { @@ -134,12 +109,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int CONSTRAINT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object constraint_ = ""; /** - * - * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -147,7 +119,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ @java.lang.Override @@ -156,15 +127,14 @@ public java.lang.String getConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; } } /** - * - * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -172,15 +142,16 @@ public java.lang.String getConstraint() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ @java.lang.Override - public com.google.protobuf.ByteString getConstraintBytes() { + public com.google.protobuf.ByteString + getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); constraint_ = b; return b; } else { @@ -189,12 +160,9 @@ public com.google.protobuf.ByteString getConstraintBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -209,7 +177,6 @@ public com.google.protobuf.ByteString getConstraintBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -218,15 +185,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; } } /** - * - * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -241,15 +207,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -260,8 +227,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -269,7 +234,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -277,8 +241,6 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -286,7 +248,6 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -295,18 +256,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -315,29 +272,29 @@ 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 pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @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 { @@ -346,7 +303,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,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(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -393,7 +350,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (((bitField0_ & 0x00000001) != 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_); @@ -406,22 +364,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.AnalyzeOrgPolicyGovernedAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other = - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) obj; - if (!getScope().equals(other.getScope())) return false; - if (!getConstraint().equals(other.getConstraint())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getConstraint() + .equals(other.getConstraint())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() != other.getPageSize()) return false; + if (getPageSize() + != other.getPageSize()) return false; } - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -451,104 +413,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( com.google.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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedAssetsRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -556,32 +510,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest}
    */
-  public static final class Builder extends com.google.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.AnalyzeOrgPolicyGovernedAssetsRequest)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class,
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -595,14 +550,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_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance();
     }
 
@@ -617,17 +571,13 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result =
-          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result) {
+    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.scope_ = scope_;
@@ -653,50 +603,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other) {
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance()) return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         bitField0_ |= 0x00000001;
@@ -746,43 +692,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                scope_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                constraint_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              scope_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              constraint_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -792,13 +732,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
-     *
-     *
      * 
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -808,13 +745,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; @@ -823,8 +760,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -834,14 +769,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 { @@ -849,8 +785,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -860,22 +794,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -885,7 +815,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -895,8 +824,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -906,14 +833,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -923,8 +848,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object constraint_ = ""; /** - * - * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -932,13 +855,13 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ public java.lang.String getConstraint() { java.lang.Object ref = constraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; @@ -947,8 +870,6 @@ public java.lang.String getConstraint() { } } /** - * - * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -956,14 +877,15 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ - public com.google.protobuf.ByteString getConstraintBytes() { + public com.google.protobuf.ByteString + getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); constraint_ = b; return b; } else { @@ -971,8 +893,6 @@ public com.google.protobuf.ByteString getConstraintBytes() { } } /** - * - * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -980,22 +900,18 @@ public com.google.protobuf.ByteString getConstraintBytes() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The constraint to set. * @return This builder for chaining. */ - public Builder setConstraint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConstraint( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } constraint_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -1003,7 +919,6 @@ public Builder setConstraint(java.lang.String value) {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -1013,8 +928,6 @@ public Builder clearConstraint() { return this; } /** - * - * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -1022,14 +935,12 @@ public Builder clearConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for constraint to set. * @return This builder for chaining. */ - public Builder setConstraintBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConstraintBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); constraint_ = value; bitField0_ |= 0x00000002; @@ -1039,8 +950,6 @@ public Builder setConstraintBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1055,13 +964,13 @@ public Builder setConstraintBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1070,8 +979,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1086,14 +993,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1101,8 +1009,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1117,22 +1023,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1147,7 +1049,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1157,8 +1058,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1173,14 +1072,12 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1188,10 +1085,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1199,7 +1094,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1207,8 +1101,6 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1216,7 +1108,6 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1224,8 +1115,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1233,20 +1122,17 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1254,7 +1140,6 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1266,20 +1151,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @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; @@ -1288,21 +1171,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @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 { @@ -1310,35 +1192,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1348,30 +1223,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - 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,43 +1252,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1429,8 +1298,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java similarity index 82% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java index dcdb5ba0f434..cfc5a1f78da9 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.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 AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder - extends +public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -35,13 +17,10 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -51,14 +30,12 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -66,13 +43,10 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ java.lang.String getConstraint(); /** - * - * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -80,14 +54,12 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ - com.google.protobuf.ByteString getConstraintBytes(); + com.google.protobuf.ByteString + getConstraintBytes(); /** - * - * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -102,13 +74,10 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -123,14 +92,12 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -138,13 +105,10 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -152,33 +116,27 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder
    * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java index a3d2e8361c8c..3c3a4febc13e 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.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 response message for
  * [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse}
  */
-public final class AnalyzeOrgPolicyGovernedAssetsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeOrgPolicyGovernedAssetsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse)
     AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedAssetsResponse.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedAssetsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeOrgPolicyGovernedAssetsResponse() {
     governedAssets_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,38 +27,34 @@ private AnalyzeOrgPolicyGovernedAssetsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedAssetsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
   }
 
-  public interface GovernedResourceOrBuilder
-      extends
+  public interface GovernedResourceOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -86,13 +62,10 @@ public interface GovernedResourceOrBuilder
      * 
* * 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) of
@@ -100,14 +73,12 @@ public interface GovernedResourceOrBuilder
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -116,13 +87,10 @@ public interface GovernedResourceOrBuilder
      * 
* * string parent = 2; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -131,149 +99,125 @@ public interface GovernedResourceOrBuilder
      * 
* * string parent = 2; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-     * The project that this resource belongs to, in the form of
+     * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
      * belongs to a project.
      * 
* * string project = 5; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
-     * The project that this resource belongs to, in the form of
+     * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
      * belongs to a project.
      * 
* * string project = 5; - * * @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
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @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
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @return The count of folders. */ int getFoldersCount(); /** - * - * *
-     * The folder(s) that this resource belongs to, in the form of
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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 this resource belongs to, in the form of
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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 this resource belongs to, in the form of
+     * The organization that this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * resource belongs(directly or cascadingly) to an organization.
+     * resource belongs (directly or cascadingly) to an organization.
      * 
* * string organization = 7; - * * @return The organization. */ java.lang.String getOrganization(); /** - * - * *
-     * The organization that this resource belongs to, in the form of
+     * The organization that this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * resource belongs(directly or cascadingly) to an organization.
+     * resource belongs (directly or cascadingly) to an organization.
      * 
* * string organization = 7; - * * @return The bytes for organization. */ - com.google.protobuf.ByteString getOrganizationBytes(); + com.google.protobuf.ByteString + getOrganizationBytes(); } /** - * - * *
    * The Google Cloud resources governed by the organization policies of the
    * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
    * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} */ - public static final class GovernedResource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GovernedResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) GovernedResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedResource.newBuilder() to construct. private GovernedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GovernedResource() { fullResourceName_ = ""; parent_ = ""; @@ -284,39 +228,33 @@ private GovernedResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GovernedResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object fullResourceName_ = ""; /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -324,7 +262,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ @java.lang.Override @@ -333,15 +270,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) of
@@ -349,15 +285,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 { @@ -366,12 +303,9 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } public static final int PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -380,7 +314,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
      * 
* * string parent = 2; - * * @return The parent. */ @java.lang.Override @@ -389,15 +322,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 resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -406,15 +338,16 @@ public java.lang.String getParent() {
      * 
* * string parent = 2; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -423,20 +356,16 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PROJECT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
-     * The project that this resource belongs to, in the form of
+     * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
      * belongs to a project.
      * 
* * string project = 5; - * * @return The project. */ @java.lang.Override @@ -445,31 +374,31 @@ 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
+     * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
      * belongs to a project.
      * 
* * string project = 5; - * * @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 { @@ -478,52 +407,43 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int FOLDERS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList folders_; /** - * - * *
-     * The folder(s) that this resource belongs to, in the form of
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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 this resource belongs to, in the form of
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
-     * The folder(s) that this resource belongs to, in the form of
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -531,38 +451,32 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
-     * The folder(s) that this resource belongs to, in the form of
+     * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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; - @SuppressWarnings("serial") private volatile java.lang.Object organization_ = ""; /** - * - * *
-     * The organization that this resource belongs to, in the form of
+     * The organization that this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * resource belongs(directly or cascadingly) to an organization.
+     * resource belongs (directly or cascadingly) to an organization.
      * 
* * string organization = 7; - * * @return The organization. */ @java.lang.Override @@ -571,31 +485,31 @@ 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
+     * The organization that this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * resource belongs(directly or cascadingly) to an organization.
+     * resource belongs (directly or cascadingly) to an organization.
      * 
* * 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 { @@ -604,7 +518,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -616,7 +529,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -669,21 +583,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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)) { + if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other = - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) obj; - - if (!getFullResourceName().equals(other.getFullResourceName())) return false; - if (!getParent().equals(other.getParent())) 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) obj; + + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getFoldersList() + .equals(other.getFoldersList())) return false; + if (!getOrganization() + .equals(other.getOrganization())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -712,102 +628,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( + com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -817,46 +719,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The Google Cloud resources governed by the organization policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} */ - public static final class Builder - extends com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -871,23 +767,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_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = - buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -895,22 +787,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = - new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource( - this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result) { if (((bitField0_ & 0x00000008) != 0)) { folders_ = folders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -918,9 +803,7 @@ private void buildPartialRepeatedFields( result.folders_ = folders_; } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; @@ -940,56 +823,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) - other); + if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other) { - if (other - == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other) { + if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; bitField0_ |= 0x00000001; @@ -1046,44 +919,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 42: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 50 - case 58: - { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 42: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 50 + case 58: { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1093,13 +960,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1107,13 +971,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; @@ -1122,8 +986,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1131,14 +993,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 { @@ -1146,8 +1009,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1155,22 +1016,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1178,7 +1035,6 @@ public Builder setFullResourceName(java.lang.String value) {
        * 
* * string full_resource_name = 1; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1188,8 +1044,6 @@ public Builder clearFullResourceName() { return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1197,14 +1051,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -1214,8 +1066,6 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1224,13 +1074,13 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string parent = 2; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1239,8 +1089,6 @@ public java.lang.String getParent() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1249,14 +1097,15 @@ public java.lang.String getParent() {
        * 
* * string parent = 2; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1264,8 +1113,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1274,22 +1121,18 @@ public com.google.protobuf.ByteString getParentBytes() {
        * 
* * string parent = 2; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1298,7 +1141,6 @@ public Builder setParent(java.lang.String value) {
        * 
* * string parent = 2; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1308,8 +1150,6 @@ public Builder clearParent() { return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1318,14 +1158,12 @@ public Builder clearParent() {
        * 
* * string parent = 2; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -1335,22 +1173,20 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
-       * The project that this resource belongs to, in the form of
+       * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
        * belongs to a project.
        * 
* * string project = 5; - * * @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; @@ -1359,23 +1195,22 @@ public java.lang.String getProject() { } } /** - * - * *
-       * The project that this resource belongs to, in the form of
+       * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
        * belongs to a project.
        * 
* * string project = 5; - * * @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 { @@ -1383,39 +1218,32 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
-       * The project that this resource belongs to, in the form of
+       * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
        * belongs to a project.
        * 
* * string project = 5; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
-       * The project that this resource belongs to, in the form of
+       * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
        * belongs to a project.
        * 
* * string project = 5; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -1425,23 +1253,19 @@ public Builder clearProject() { return this; } /** - * - * *
-       * The project that this resource belongs to, in the form of
+       * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
        * belongs to a project.
        * 
* * string project = 5; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -1449,58 +1273,48 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
-       * The folder(s) that this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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 this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
-       * The folder(s) that this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1508,100 +1322,86 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
-       * The folder(s) that this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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 this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFolders( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** - * - * *
-       * The folder(s) that this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @param value The folders to add. * @return This builder for chaining. */ - public Builder addFolders(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFolders( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** - * - * *
-       * The folder(s) that this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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 this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @return This builder for chaining. */ public Builder clearFolders() { @@ -1611,23 +1411,19 @@ public Builder clearFolders() { return this; } /** - * - * *
-       * The folder(s) that this resource belongs to, in the form of
+       * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFoldersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -1637,22 +1433,20 @@ public Builder addFoldersBytes(com.google.protobuf.ByteString value) { private java.lang.Object organization_ = ""; /** - * - * *
-       * The organization that this resource belongs to, in the form of
+       * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * resource belongs(directly or cascadingly) to an organization.
+       * resource belongs (directly or cascadingly) to an organization.
        * 
* * 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; @@ -1661,23 +1455,22 @@ public java.lang.String getOrganization() { } } /** - * - * *
-       * The organization that this resource belongs to, in the form of
+       * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * resource belongs(directly or cascadingly) to an organization.
+       * resource belongs (directly or cascadingly) to an organization.
        * 
* * 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 { @@ -1685,39 +1478,32 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } } /** - * - * *
-       * The organization that this resource belongs to, in the form of
+       * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * resource belongs(directly or cascadingly) to an organization.
+       * resource belongs (directly or cascadingly) to an organization.
        * 
* * string organization = 7; - * * @param value The organization to set. * @return This builder for chaining. */ - public Builder setOrganization(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganization( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
-       * The organization that this resource belongs to, in the form of
+       * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * resource belongs(directly or cascadingly) to an organization.
+       * resource belongs (directly or cascadingly) to an organization.
        * 
* * string organization = 7; - * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -1727,30 +1513,25 @@ public Builder clearOrganization() { return this; } /** - * - * *
-       * The organization that this resource belongs to, in the form of
+       * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * resource belongs(directly or cascadingly) to an organization.
+       * resource belongs (directly or cascadingly) to an organization.
        * 
* * string organization = 7; - * * @param value The bytes for organization to set. * @return This builder for chaining. */ - public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganizationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1763,46 +1544,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResource - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GovernedResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GovernedResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1814,20 +1590,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GovernedIamPolicyOrBuilder - extends + public interface GovernedIamPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -1838,13 +1611,10 @@ public interface GovernedIamPolicyOrBuilder
      * 
* * string attached_resource = 1; - * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -1855,38 +1625,30 @@ public interface GovernedIamPolicyOrBuilder
      * 
* * string attached_resource = 1; - * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString getAttachedResourceBytes(); + com.google.protobuf.ByteString + getAttachedResourceBytes(); /** - * - * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; - * * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; - * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** - * - * *
      * The IAM policy directly set on the given resource.
      * 
@@ -1896,143 +1658,119 @@ public interface GovernedIamPolicyOrBuilder com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder(); /** - * - * *
-     * The project that this IAM policy belongs to, in the form of
+     * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
      * belongs to a project.
      * 
* * string project = 5; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
-     * The project that this IAM policy belongs to, in the form of
+     * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
      * belongs to a project.
      * 
* * string project = 5; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
-     * The folder(s) that this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @return A list containing the folders. */ - java.util.List getFoldersList(); + java.util.List + getFoldersList(); /** - * - * *
-     * The folder(s) that this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @return The count of folders. */ int getFoldersCount(); /** - * - * *
-     * The folder(s) that this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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 this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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 this IAM policy belongs to, in the form of
+     * The organization that this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * IAM policy belongs(directly or cascadingly) to an organization.
+     * IAM policy belongs (directly or cascadingly) to an organization.
      * 
* * string organization = 7; - * * @return The organization. */ java.lang.String getOrganization(); /** - * - * *
-     * The organization that this IAM policy belongs to, in the form of
+     * The organization that this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * IAM policy belongs(directly or cascadingly) to an organization.
+     * IAM policy belongs (directly or cascadingly) to an organization.
      * 
* * string organization = 7; - * * @return The bytes for organization. */ - com.google.protobuf.ByteString getOrganizationBytes(); + com.google.protobuf.ByteString + getOrganizationBytes(); } /** - * - * *
    * The IAM policies governed by the organization policies of the
    * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
    * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} */ - public static final class GovernedIamPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GovernedIamPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) GovernedIamPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedIamPolicy.newBuilder() to construct. private GovernedIamPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GovernedIamPolicy() { attachedResource_ = ""; project_ = ""; @@ -2042,39 +1780,33 @@ private GovernedIamPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GovernedIamPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder.class); } public static final int ATTACHED_RESOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object attachedResource_ = ""; /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2085,7 +1817,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string attached_resource = 1; - * * @return The attachedResource. */ @java.lang.Override @@ -2094,15 +1825,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 of the resource associated with this IAM policy.
      * Example:
@@ -2113,15 +1843,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 { @@ -2132,14 +1863,11 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { public static final int POLICY_FIELD_NUMBER = 2; private com.google.iam.v1.Policy policy_; /** - * - * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -2147,14 +1875,11 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; - * * @return The policy. */ @java.lang.Override @@ -2162,8 +1887,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.
      * 
@@ -2176,20 +1899,16 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { } public static final int PROJECT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
-     * The project that this IAM policy belongs to, in the form of
+     * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
      * belongs to a project.
      * 
* * string project = 5; - * * @return The project. */ @java.lang.Override @@ -2198,31 +1917,31 @@ 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 IAM policy belongs to, in the form of
+     * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
      * belongs to a project.
      * 
* * string project = 5; - * * @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 { @@ -2231,52 +1950,43 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int FOLDERS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList folders_; /** - * - * *
-     * The folder(s) that this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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 this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
-     * The folder(s) that this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2284,38 +1994,32 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
-     * The folder(s) that this IAM policy belongs to, in the form of
+     * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-     * belongs(directly or cascadingly) to one or more folders.
+     * belongs (directly or cascadingly) to one or more folders.
      * 
* * 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; - @SuppressWarnings("serial") private volatile java.lang.Object organization_ = ""; /** - * - * *
-     * The organization that this IAM policy belongs to, in the form of
+     * The organization that this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * IAM policy belongs(directly or cascadingly) to an organization.
+     * IAM policy belongs (directly or cascadingly) to an organization.
      * 
* * string organization = 7; - * * @return The organization. */ @java.lang.Override @@ -2324,31 +2028,31 @@ 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 IAM policy belongs to, in the form of
+     * The organization that this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-     * IAM policy belongs(directly or cascadingly) to an organization.
+     * IAM policy belongs (directly or cascadingly) to an organization.
      * 
* * 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 { @@ -2357,7 +2061,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2369,7 +2072,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2398,7 +2102,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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, project_); @@ -2422,24 +2127,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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)) { + if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other = - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) 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 (!getProject().equals(other.getProject())) return false; - if (!getFoldersList().equals(other.getFoldersList())) return false; - if (!getOrganization().equals(other.getOrganization())) return false; + if (!getPolicy() + .equals(other.getPolicy())) return false; + } + if (!getProject() + .equals(other.getProject())) return false; + if (!getFoldersList() + .equals(other.getFoldersList())) return false; + if (!getOrganization() + .equals(other.getOrganization())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2470,102 +2177,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( + com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2575,47 +2268,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The IAM policies governed by the organization policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} */ - public static final class Builder - extends com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2634,23 +2320,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_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = - buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2658,22 +2340,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = - new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy( - this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result) { if (((bitField0_ & 0x00000008) != 0)) { folders_ = folders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -2681,15 +2356,15 @@ private void buildPartialRepeatedFields( result.folders_ = folders_; } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attachedResource_ = attachedResource_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null + ? policy_ + : policyBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.project_ = project_; @@ -2703,57 +2378,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - other); + if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - other) { - if (other - == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other) { + if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance()) return this; if (!other.getAttachedResource().isEmpty()) { attachedResource_ = other.attachedResource_; bitField0_ |= 0x00000001; @@ -2808,44 +2472,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - attachedResource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 42: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 50 - case 58: - { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + attachedResource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 42: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 50 + case 58: { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2855,13 +2515,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object attachedResource_ = ""; /** - * - * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2872,13 +2529,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; @@ -2887,8 +2544,6 @@ public java.lang.String getAttachedResource() { } } /** - * - * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2899,14 +2554,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 { @@ -2914,8 +2570,6 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { } } /** - * - * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2926,22 +2580,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attachedResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2952,7 +2602,6 @@ public Builder setAttachedResource(java.lang.String value) {
        * 
* * string attached_resource = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -2962,8 +2611,6 @@ public Builder clearAttachedResource() { return this; } /** - * - * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2974,14 +2621,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attachedResource_ = value; bitField0_ |= 0x00000001; @@ -2991,33 +2636,24 @@ 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 directly set on the given resource.
        * 
* * .google.iam.v1.Policy policy = 2; - * * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
* * .google.iam.v1.Policy policy = 2; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -3028,8 +2664,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
@@ -3050,15 +2684,14 @@ public Builder setPolicy(com.google.iam.v1.Policy value) { return this; } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
* * .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(); } else { @@ -3069,8 +2702,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) { return this; } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
@@ -3079,9 +2710,9 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) { */ public Builder mergePolicy(com.google.iam.v1.Policy value) { if (policyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && policy_ != null - && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + policy_ != null && + policy_ != com.google.iam.v1.Policy.getDefaultInstance()) { getPolicyBuilder().mergeFrom(value); } else { policy_ = value; @@ -3094,8 +2725,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) { return this; } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
@@ -3113,8 +2742,6 @@ public Builder clearPolicy() { return this; } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
@@ -3127,8 +2754,6 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() { return getPolicyFieldBuilder().getBuilder(); } /** - * - * *
        * The IAM policy directly set on the given resource.
        * 
@@ -3139,12 +2764,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.
        * 
@@ -3152,17 +2776,14 @@ 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_; @@ -3170,22 +2791,20 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { private java.lang.Object project_ = ""; /** - * - * *
-       * The project that this IAM policy belongs to, in the form of
+       * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
        * belongs to a project.
        * 
* * string project = 5; - * * @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; @@ -3194,23 +2813,22 @@ public java.lang.String getProject() { } } /** - * - * *
-       * The project that this IAM policy belongs to, in the form of
+       * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
        * belongs to a project.
        * 
* * string project = 5; - * * @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 { @@ -3218,39 +2836,32 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
-       * The project that this IAM policy belongs to, in the form of
+       * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
        * belongs to a project.
        * 
* * string project = 5; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
-       * The project that this IAM policy belongs to, in the form of
+       * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
        * belongs to a project.
        * 
* * string project = 5; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -3260,23 +2871,19 @@ public Builder clearProject() { return this; } /** - * - * *
-       * The project that this IAM policy belongs to, in the form of
+       * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
        * belongs to a project.
        * 
* * string project = 5; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -3284,58 +2891,48 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
-       * The folder(s) that this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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 this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
-       * The folder(s) that this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3343,100 +2940,86 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
-       * The folder(s) that this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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 this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFolders( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** - * - * *
-       * The folder(s) that this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @param value The folders to add. * @return This builder for chaining. */ - public Builder addFolders(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFolders( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** - * - * *
-       * The folder(s) that this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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 this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * repeated string folders = 6; - * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3446,23 +3029,19 @@ public Builder clearFolders() { return this; } /** - * - * *
-       * The folder(s) that this IAM policy belongs to, in the form of
+       * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-       * belongs(directly or cascadingly) to one or more folders.
+       * belongs (directly or cascadingly) to one or more folders.
        * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + */ + public Builder addFoldersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -3472,22 +3051,20 @@ public Builder addFoldersBytes(com.google.protobuf.ByteString value) { private java.lang.Object organization_ = ""; /** - * - * *
-       * The organization that this IAM policy belongs to, in the form of
+       * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * IAM policy belongs(directly or cascadingly) to an organization.
+       * IAM policy belongs (directly or cascadingly) to an organization.
        * 
* * 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; @@ -3496,23 +3073,22 @@ public java.lang.String getOrganization() { } } /** - * - * *
-       * The organization that this IAM policy belongs to, in the form of
+       * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * IAM policy belongs(directly or cascadingly) to an organization.
+       * IAM policy belongs (directly or cascadingly) to an organization.
        * 
* * 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 { @@ -3520,39 +3096,32 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } } /** - * - * *
-       * The organization that this IAM policy belongs to, in the form of
+       * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * IAM policy belongs(directly or cascadingly) to an organization.
+       * IAM policy belongs (directly or cascadingly) to an organization.
        * 
* * string organization = 7; - * * @param value The organization to set. * @return This builder for chaining. */ - public Builder setOrganization(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganization( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
-       * The organization that this IAM policy belongs to, in the form of
+       * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * IAM policy belongs(directly or cascadingly) to an organization.
+       * IAM policy belongs (directly or cascadingly) to an organization.
        * 
* * string organization = 7; - * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3562,30 +3131,25 @@ public Builder clearOrganization() { return this; } /** - * - * *
-       * The organization that this IAM policy belongs to, in the form of
+       * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
-       * IAM policy belongs(directly or cascadingly) to an organization.
+       * IAM policy belongs (directly or cascadingly) to an organization.
        * 
* * string organization = 7; - * * @param value The bytes for organization to set. * @return This builder for chaining. */ - public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganizationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3598,46 +3162,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GovernedIamPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GovernedIamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3649,118 +3208,83 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GovernedAssetOrBuilder - extends + public interface GovernedAssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; * @return Whether the governedResource field is set. */ boolean hasGovernedResource(); /** - * - * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; * @return The governedResource. */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - getGovernedResource(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource(); /** - * - * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder - getGovernedResourceOrBuilder(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder(); /** - * - * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; * @return Whether the governedIamPolicy field is set. */ boolean hasGovernedIamPolicy(); /** - * - * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; * @return The governedIamPolicy. */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - getGovernedIamPolicy(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy(); /** - * - * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder - getGovernedIamPolicyOrBuilder(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder(); /** - * - * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3770,13 +3294,10 @@ public interface GovernedAssetOrBuilder
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return Whether the consolidatedPolicy field is set. */ boolean hasConsolidatedPolicy(); /** - * - * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3786,13 +3307,10 @@ public interface GovernedAssetOrBuilder
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return The consolidatedPolicy. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy(); /** - * - * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3806,8 +3324,6 @@ public interface GovernedAssetOrBuilder
     com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder();
 
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3818,10 +3334,9 @@ public interface GovernedAssetOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List getPolicyBundleList();
+    java.util.List 
+        getPolicyBundleList();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3834,8 +3349,6 @@ public interface GovernedAssetOrBuilder
      */
     com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index);
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3848,8 +3361,6 @@ public interface GovernedAssetOrBuilder
      */
     int getPolicyBundleCount();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3860,11 +3371,9 @@ public interface GovernedAssetOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List
+    java.util.List 
         getPolicyBundleOrBuilderList();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3875,77 +3384,67 @@ public interface GovernedAssetOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index);
+    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
+        int index);
 
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-            .GovernedAssetCase
-        getGovernedAssetCase();
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase getGovernedAssetCase();
   }
   /**
-   *
-   *
    * 
    * Represents a Google Cloud asset(resource or IAM policy) governed by the
    * organization policies of the
    * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
    * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} */ - public static final class GovernedAsset extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GovernedAsset extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) GovernedAssetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedAsset.newBuilder() to construct. private GovernedAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GovernedAsset() { policyBundle_ = 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 GovernedAsset(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - .class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder.class); } private int governedAssetCase_ = 0; private java.lang.Object governedAsset_; - public enum GovernedAssetCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GOVERNED_RESOURCE(1), GOVERNED_IAM_POLICY(2), GOVERNEDASSET_NOT_SET(0); private final int value; - private GovernedAssetCase(int value) { this.value = value; } @@ -3961,40 +3460,32 @@ public static GovernedAssetCase valueOf(int value) { public static GovernedAssetCase forNumber(int value) { switch (value) { - case 1: - return GOVERNED_RESOURCE; - case 2: - return GOVERNED_IAM_POLICY; - case 0: - return GOVERNEDASSET_NOT_SET; - default: - return null; + case 1: return GOVERNED_RESOURCE; + case 2: return GOVERNED_IAM_POLICY; + case 0: return GOVERNEDASSET_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public GovernedAssetCase getGovernedAssetCase() { - return GovernedAssetCase.forNumber(governedAssetCase_); + public GovernedAssetCase + getGovernedAssetCase() { + return GovernedAssetCase.forNumber( + governedAssetCase_); } public static final int GOVERNED_RESOURCE_FIELD_NUMBER = 1; /** - * - * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; * @return Whether the governedResource field is set. */ @java.lang.Override @@ -4002,69 +3493,48 @@ public boolean hasGovernedResource() { return governedAssetCase_ == 1; } /** - * - * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; * @return The governedResource. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - getGovernedResource() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource() { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } /** - * - * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResourceOrBuilder - getGovernedResourceOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder() { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } public static final int GOVERNED_IAM_POLICY_FIELD_NUMBER = 2; /** - * - * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; * @return Whether the governedIamPolicy field is set. */ @java.lang.Override @@ -4072,60 +3542,42 @@ public boolean hasGovernedIamPolicy() { return governedAssetCase_ == 2; } /** - * - * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; * @return The governedIamPolicy. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - getGovernedIamPolicy() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy() { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } /** - * - * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicyOrBuilder - getGovernedIamPolicyOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder() { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } public static final int CONSOLIDATED_POLICY_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; /** - * - * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -4135,7 +3587,6 @@ public boolean hasGovernedIamPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -4143,8 +3594,6 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** - * - * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -4154,18 +3603,13 @@ public boolean hasConsolidatedPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return The consolidatedPolicy. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { - return consolidatedPolicy_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() - : consolidatedPolicy_; + return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; } /** - * - * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -4178,18 +3622,13 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() {
      */
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder() {
-      return consolidatedPolicy_ == null
-          ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
-          : consolidatedPolicy_;
+      return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
     }
 
     public static final int POLICY_BUNDLE_FIELD_NUMBER = 4;
-
     @SuppressWarnings("serial")
     private java.util.List policyBundle_;
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4205,8 +3644,6 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4218,13 +3655,11 @@ public java.util.List getPolicyBund
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getPolicyBundleOrBuilderList() {
       return policyBundle_;
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4240,8 +3675,6 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4257,8 +3690,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
       return policyBundle_.get(index);
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4276,7 +3707,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4288,18 +3718,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 (governedAssetCase_ == 1) {
-        output.writeMessage(
-            1,
-            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)
-                governedAsset_);
+        output.writeMessage(1, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_);
       }
       if (governedAssetCase_ == 2) {
-        output.writeMessage(
-            2,
-            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)
-                governedAsset_);
+        output.writeMessage(2, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_);
       }
       if (consolidatedPolicy_ != null) {
         output.writeMessage(3, getConsolidatedPolicy());
@@ -4317,25 +3742,20 @@ public int getSerializedSize() {
 
       size = 0;
       if (governedAssetCase_ == 1) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                1,
-                (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)
-                    governedAsset_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_);
       }
       if (governedAssetCase_ == 2) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                2,
-                (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)
-                    governedAsset_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_);
       }
       if (consolidatedPolicy_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConsolidatedPolicy());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getConsolidatedPolicy());
       }
       for (int i = 0; i < policyBundle_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, policyBundle_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, policyBundle_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -4345,28 +3765,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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)) {
+      if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other =
-          (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) obj;
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) obj;
 
       if (hasConsolidatedPolicy() != other.hasConsolidatedPolicy()) return false;
       if (hasConsolidatedPolicy()) {
-        if (!getConsolidatedPolicy().equals(other.getConsolidatedPolicy())) return false;
+        if (!getConsolidatedPolicy()
+            .equals(other.getConsolidatedPolicy())) return false;
       }
-      if (!getPolicyBundleList().equals(other.getPolicyBundleList())) return false;
+      if (!getPolicyBundleList()
+          .equals(other.getPolicyBundleList())) return false;
       if (!getGovernedAssetCase().equals(other.getGovernedAssetCase())) return false;
       switch (governedAssetCase_) {
         case 1:
-          if (!getGovernedResource().equals(other.getGovernedResource())) return false;
+          if (!getGovernedResource()
+              .equals(other.getGovernedResource())) return false;
           break;
         case 2:
-          if (!getGovernedIamPolicy().equals(other.getGovernedIamPolicy())) return false;
+          if (!getGovernedIamPolicy()
+              .equals(other.getGovernedIamPolicy())) return false;
           break;
         case 0:
         default:
@@ -4407,101 +3828,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
+        com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        parseDelimitedFrom(
-            java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseDelimitedFrom(
+        java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset prototype) {
+    public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -4511,47 +3919,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Represents a Google Cloud asset(resource or IAM policy) governed by the
      * organization policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} */ - public static final class Builder - extends com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4580,23 +3982,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_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = - buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4604,22 +4002,16 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = - new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset( - this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { if (policyBundleBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { policyBundle_ = java.util.Collections.unmodifiableList(policyBundle_); @@ -4631,25 +4023,24 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.consolidatedPolicy_ = - consolidatedPolicyBuilder_ == null - ? consolidatedPolicy_ - : consolidatedPolicyBuilder_.build(); + result.consolidatedPolicy_ = consolidatedPolicyBuilder_ == null + ? consolidatedPolicy_ + : consolidatedPolicyBuilder_.build(); } } - private void buildPartialOneofs( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { + private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { result.governedAssetCase_ = governedAssetCase_; result.governedAsset_ = this.governedAsset_; - if (governedAssetCase_ == 1 && governedResourceBuilder_ != null) { + if (governedAssetCase_ == 1 && + governedResourceBuilder_ != null) { result.governedAsset_ = governedResourceBuilder_.build(); } - if (governedAssetCase_ == 2 && governedIamPolicyBuilder_ != null) { + if (governedAssetCase_ == 2 && + governedIamPolicyBuilder_ != null) { result.governedAsset_ = governedIamPolicyBuilder_.build(); } } @@ -4658,56 +4049,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) - other); + if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other) { - if (other - == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other) { + if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance()) return this; if (other.hasConsolidatedPolicy()) { mergeConsolidatedPolicy(other.getConsolidatedPolicy()); } @@ -4729,30 +4110,26 @@ public Builder mergeFrom( policyBundleBuilder_ = null; policyBundle_ = other.policyBundle_; bitField0_ = (bitField0_ & ~0x00000008); - policyBundleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPolicyBundleFieldBuilder() - : null; + policyBundleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPolicyBundleFieldBuilder() : null; } else { policyBundleBuilder_.addAllMessages(other.policyBundle_); } } } switch (other.getGovernedAssetCase()) { - case GOVERNED_RESOURCE: - { - mergeGovernedResource(other.getGovernedResource()); - break; - } - case GOVERNED_IAM_POLICY: - { - mergeGovernedIamPolicy(other.getGovernedIamPolicy()); - break; - } - case GOVERNEDASSET_NOT_SET: - { - break; - } + case GOVERNED_RESOURCE: { + mergeGovernedResource(other.getGovernedResource()); + break; + } + case GOVERNED_IAM_POLICY: { + mergeGovernedIamPolicy(other.getGovernedIamPolicy()); + break; + } + case GOVERNEDASSET_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4780,47 +4157,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getGovernedResourceFieldBuilder().getBuilder(), extensionRegistry); - governedAssetCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getGovernedIamPolicyFieldBuilder().getBuilder(), extensionRegistry); - governedAssetCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getConsolidatedPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.cloud.asset.v1.AnalyzerOrgPolicy m = - input.readMessage( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), extensionRegistry); - if (policyBundleBuilder_ == null) { - ensurePolicyBundleIsMutable(); - policyBundle_.add(m); - } else { - policyBundleBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGovernedResourceFieldBuilder().getBuilder(), + extensionRegistry); + governedAssetCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getGovernedIamPolicyFieldBuilder().getBuilder(), + extensionRegistry); + governedAssetCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getConsolidatedPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.cloud.asset.v1.AnalyzerOrgPolicy m = + input.readMessage( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), + extensionRegistry); + if (policyBundleBuilder_ == null) { + ensurePolicyBundleIsMutable(); + policyBundle_.add(m); + } else { + policyBundleBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4830,12 +4206,12 @@ public Builder mergeFrom( } // finally return this; } - private int governedAssetCase_ = 0; private java.lang.Object governedAsset_; - - public GovernedAssetCase getGovernedAssetCase() { - return GovernedAssetCase.forNumber(governedAssetCase_); + public GovernedAssetCase + getGovernedAssetCase() { + return GovernedAssetCase.forNumber( + governedAssetCase_); } public Builder clearGovernedAsset() { @@ -4848,25 +4224,15 @@ public Builder clearGovernedAsset() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResourceOrBuilder> - governedResourceBuilder_; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder> governedResourceBuilder_; /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; * @return Whether the governedResource field is set. */ @java.lang.Override @@ -4874,54 +4240,39 @@ public boolean hasGovernedResource() { return governedAssetCase_ == 1; } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; * @return The governedResource. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - getGovernedResource() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource() { if (governedResourceBuilder_ == null) { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResource) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } else { if (governedAssetCase_ == 1) { return governedResourceBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ - public Builder setGovernedResource( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { + public Builder setGovernedResource(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { if (governedResourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4935,21 +4286,16 @@ public Builder setGovernedResource( return this; } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ public Builder setGovernedResource( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder builderForValue) { if (governedResourceBuilder_ == null) { governedAsset_ = builderForValue.build(); onChanged(); @@ -4960,33 +4306,20 @@ public Builder setGovernedResource( return this; } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ - public Builder mergeGovernedResource( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { + public Builder mergeGovernedResource(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { if (governedResourceBuilder_ == null) { - if (governedAssetCase_ == 1 - && governedAsset_ - != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResource.getDefaultInstance()) { - governedAsset_ = - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .newBuilder( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResource) - governedAsset_) - .mergeFrom(value) - .buildPartial(); + if (governedAssetCase_ == 1 && + governedAsset_ != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance()) { + governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.newBuilder((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_) + .mergeFrom(value).buildPartial(); } else { governedAsset_ = value; } @@ -5002,17 +4335,13 @@ public Builder mergeGovernedResource( return this; } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ public Builder clearGovernedResource() { if (governedResourceBuilder_ == null) { @@ -5031,88 +4360,56 @@ public Builder clearGovernedResource() { return this; } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .Builder - getGovernedResourceBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder getGovernedResourceBuilder() { return getGovernedResourceFieldBuilder().getBuilder(); } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResourceOrBuilder - getGovernedResourceOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder() { if ((governedAssetCase_ == 1) && (governedResourceBuilder_ != null)) { return governedResourceBuilder_.getMessageOrBuilder(); } else { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResource) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } } /** - * - * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResourceOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder> getGovernedResourceFieldBuilder() { if (governedResourceBuilder_ == null) { if (!(governedAssetCase_ == 1)) { - governedAsset_ = - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .getDefaultInstance(); + governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); } - governedResourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResourceOrBuilder>( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedResource) - governedAsset_, + governedResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder>( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_, getParentForChildren(), isClean()); governedAsset_ = null; @@ -5123,25 +4420,15 @@ public Builder clearGovernedResource() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicyOrBuilder> - governedIamPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder> governedIamPolicyBuilder_; /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; * @return Whether the governedIamPolicy field is set. */ @java.lang.Override @@ -5149,55 +4436,39 @@ public boolean hasGovernedIamPolicy() { return governedAssetCase_ == 2; } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; * @return The governedIamPolicy. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - getGovernedIamPolicy() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy() { if (governedIamPolicyBuilder_ == null) { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } else { if (governedAssetCase_ == 2) { return governedIamPolicyBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ - public Builder setGovernedIamPolicy( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - value) { + public Builder setGovernedIamPolicy(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value) { if (governedIamPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5211,21 +4482,16 @@ public Builder setGovernedIamPolicy( return this; } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ public Builder setGovernedIamPolicy( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder builderForValue) { if (governedIamPolicyBuilder_ == null) { governedAsset_ = builderForValue.build(); onChanged(); @@ -5236,34 +4502,20 @@ public Builder setGovernedIamPolicy( return this; } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ - public Builder mergeGovernedIamPolicy( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - value) { + public Builder mergeGovernedIamPolicy(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value) { if (governedIamPolicyBuilder_ == null) { - if (governedAssetCase_ == 2 - && governedAsset_ - != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy.getDefaultInstance()) { - governedAsset_ = - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .newBuilder( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy) - governedAsset_) - .mergeFrom(value) - .buildPartial(); + if (governedAssetCase_ == 2 && + governedAsset_ != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance()) { + governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.newBuilder((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_) + .mergeFrom(value).buildPartial(); } else { governedAsset_ = value; } @@ -5279,17 +4531,13 @@ public Builder mergeGovernedIamPolicy( return this; } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ public Builder clearGovernedIamPolicy() { if (governedIamPolicyBuilder_ == null) { @@ -5308,89 +4556,56 @@ public Builder clearGovernedIamPolicy() { return this; } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .Builder - getGovernedIamPolicyBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder getGovernedIamPolicyBuilder() { return getGovernedIamPolicyFieldBuilder().getBuilder(); } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicyOrBuilder - getGovernedIamPolicyOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder() { if ((governedAssetCase_ == 2) && (governedIamPolicyBuilder_ != null)) { return governedIamPolicyBuilder_.getMessageOrBuilder(); } else { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy) - governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } } /** - * - * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; - * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicyOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder> getGovernedIamPolicyFieldBuilder() { if (governedIamPolicyBuilder_ == null) { if (!(governedAssetCase_ == 2)) { - governedAsset_ = - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .getDefaultInstance(); + governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); } - governedIamPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicyOrBuilder>( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedIamPolicy) - governedAsset_, + governedIamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder>( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_, getParentForChildren(), isClean()); governedAsset_ = null; @@ -5402,13 +4617,8 @@ public Builder clearGovernedIamPolicy() { private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> - consolidatedPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> consolidatedPolicyBuilder_; /** - * - * *
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5418,15 +4628,12 @@ public Builder clearGovernedIamPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return Whether the consolidatedPolicy field is set. */ public boolean hasConsolidatedPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5436,21 +4643,16 @@ public boolean hasConsolidatedPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return The consolidatedPolicy. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { if (consolidatedPolicyBuilder_ == null) { - return consolidatedPolicy_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() - : consolidatedPolicy_; + return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; } else { return consolidatedPolicyBuilder_.getMessage(); } } /** - * - * *
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5475,8 +4677,6 @@ public Builder setConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5499,8 +4699,6 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5513,10 +4711,9 @@ public Builder setConsolidatedPolicy(
        */
       public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (consolidatedPolicyBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && consolidatedPolicy_ != null
-              && consolidatedPolicy_
-                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            consolidatedPolicy_ != null &&
+            consolidatedPolicy_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
             getConsolidatedPolicyBuilder().mergeFrom(value);
           } else {
             consolidatedPolicy_ = value;
@@ -5529,8 +4726,6 @@ public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPoli
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5552,8 +4747,6 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5570,8 +4763,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getConsolidatedPolicy
         return getConsolidatedPolicyFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5586,14 +4777,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
         if (consolidatedPolicyBuilder_ != null) {
           return consolidatedPolicyBuilder_.getMessageOrBuilder();
         } else {
-          return consolidatedPolicy_ == null
-              ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
-              : consolidatedPolicy_;
+          return consolidatedPolicy_ == null ?
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
         }
       }
-      /**
-       *
-       *
+      /**
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -5605,42 +4793,32 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
        * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
           getConsolidatedPolicyFieldBuilder() {
         if (consolidatedPolicyBuilder_ == null) {
-          consolidatedPolicyBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
-                  getConsolidatedPolicy(), getParentForChildren(), isClean());
+          consolidatedPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+                  getConsolidatedPolicy(),
+                  getParentForChildren(),
+                  isClean());
           consolidatedPolicy_ = null;
         }
         return consolidatedPolicyBuilder_;
       }
 
       private java.util.List policyBundle_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensurePolicyBundleIsMutable() {
         if (!((bitField0_ & 0x00000008) != 0)) {
-          policyBundle_ =
-              new java.util.ArrayList(policyBundle_);
+          policyBundle_ = new java.util.ArrayList(policyBundle_);
           bitField0_ |= 0x00000008;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
-          policyBundleBuilder_;
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> policyBundleBuilder_;
 
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5659,8 +4837,6 @@ public java.util.List getPolicyBund
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5679,8 +4855,6 @@ public int getPolicyBundleCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5699,8 +4873,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5711,7 +4883,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder setPolicyBundle(
+          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5725,8 +4898,6 @@ public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgP
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5749,8 +4920,6 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5775,8 +4944,6 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5787,7 +4954,8 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder addPolicyBundle(
+          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -5801,8 +4969,6 @@ public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgP
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5825,8 +4991,6 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5849,8 +5013,6 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5865,7 +5027,8 @@ public Builder addAllPolicyBundle(
           java.lang.Iterable values) {
         if (policyBundleBuilder_ == null) {
           ensurePolicyBundleIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBundle_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, policyBundle_);
           onChanged();
         } else {
           policyBundleBuilder_.addAllMessages(values);
@@ -5873,8 +5036,6 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5896,8 +5057,6 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5919,8 +5078,6 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5931,12 +5088,11 @@ public Builder removePolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index) {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(
+          int index) {
         return getPolicyBundleFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5950,14 +5106,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilde
       public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
           int index) {
         if (policyBundleBuilder_ == null) {
-          return policyBundle_.get(index);
-        } else {
+          return policyBundle_.get(index);  } else {
           return policyBundleBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5968,8 +5121,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List
-          getPolicyBundleOrBuilderList() {
+      public java.util.List 
+           getPolicyBundleOrBuilderList() {
         if (policyBundleBuilder_ != null) {
           return policyBundleBuilder_.getMessageOrBuilderList();
         } else {
@@ -5977,8 +5130,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5990,12 +5141,10 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
       public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder() {
-        return getPolicyBundleFieldBuilder()
-            .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+        return getPolicyBundleFieldBuilder().addBuilder(
+            com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -6006,13 +5155,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index) {
-        return getPolicyBundleFieldBuilder()
-            .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(
+          int index) {
+        return getPolicyBundleFieldBuilder().addBuilder(
+            index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -6023,22 +5171,16 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List
-          getPolicyBundleBuilderList() {
+      public java.util.List 
+           getPolicyBundleBuilderList() {
         return getPolicyBundleFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
           getPolicyBundleFieldBuilder() {
         if (policyBundleBuilder_ == null) {
-          policyBundleBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+          policyBundleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
                   policyBundle_,
                   ((bitField0_ & 0x00000008) != 0),
                   getParentForChildren(),
@@ -6047,7 +5189,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
         }
         return policyBundleBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6060,46 +5201,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)
-    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
-            .GovernedAsset
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset();
+      DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset();
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        getDefaultInstance() {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public GovernedAsset parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public GovernedAsset parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6111,113 +5247,81 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int GOVERNED_ASSETS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
-  private java.util.List<
-          com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>
-      governedAssets_;
+  private java.util.List governedAssets_;
   /**
-   *
-   *
    * 
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> - getGovernedAssetsList() { + public java.util.List getGovernedAssetsList() { return governedAssets_; } /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedAssetOrBuilder> + public java.util.List getGovernedAssetsOrBuilderList() { return governedAssets_; } /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ @java.lang.Override public int getGovernedAssetsCount() { return governedAssets_.size(); } /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - getGovernedAssets(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index) { return governedAssets_.get(index); } /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder - getGovernedAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder( + int index) { return governedAssets_.get(index); } public static final int CONSTRAINT_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ @java.lang.Override @@ -6225,25 +5329,18 @@ public boolean hasConstraint() { return constraint_ != null; } /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } /** - * - * *
    * The definition of the constraint in the request.
    * 
@@ -6252,25 +5349,19 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder() { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -6279,30 +5370,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; } } /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * 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 { @@ -6311,7 +5402,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6323,7 +5413,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < governedAssets_.size(); i++) { output.writeMessage(1, governedAssets_.get(i)); } @@ -6343,10 +5434,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < governedAssets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, governedAssets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, governedAssets_.get(i)); } if (constraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConstraint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -6359,20 +5452,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.AnalyzeOrgPolicyGovernedAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other = - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) obj; - if (!getGovernedAssetsList().equals(other.getGovernedAssetsList())) return false; + if (!getGovernedAssetsList() + .equals(other.getGovernedAssetsList())) return false; if (hasConstraint() != other.hasConstraint()) return false; if (hasConstraint()) { - if (!getConstraint().equals(other.getConstraint())) return false; + if (!getConstraint() + .equals(other.getConstraint())) return false; } - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6400,104 +5495,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedAssetsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedAssetsResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -6505,32 +5592,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse}
    */
-  public static final class Builder extends com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class,
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6552,14 +5640,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_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance();
     }
 
@@ -6574,18 +5661,14 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse build()
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result =
-          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse(this);
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
       if (governedAssetsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           governedAssets_ = java.util.Collections.unmodifiableList(governedAssets_);
@@ -6597,11 +5680,12 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
+    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.constraint_ = constraintBuilder_ == null ? constraint_ : constraintBuilder_.build();
+        result.constraint_ = constraintBuilder_ == null
+            ? constraint_
+            : constraintBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -6612,50 +5696,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other) {
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance()) return this;
       if (governedAssetsBuilder_ == null) {
         if (!other.governedAssets_.isEmpty()) {
           if (governedAssets_.isEmpty()) {
@@ -6674,10 +5754,9 @@ public Builder mergeFrom(
             governedAssetsBuilder_ = null;
             governedAssets_ = other.governedAssets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            governedAssetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getGovernedAssetsFieldBuilder()
-                    : null;
+            governedAssetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getGovernedAssetsFieldBuilder() : null;
           } else {
             governedAssetsBuilder_.addAllMessages(other.governedAssets_);
           }
@@ -6717,40 +5796,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
-                            .GovernedAsset.parser(),
-                        extensionRegistry);
-                if (governedAssetsBuilder_ == null) {
-                  ensureGovernedAssetsIsMutable();
-                  governedAssets_.add(m);
-                } else {
-                  governedAssetsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getConstraintFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.parser(),
+                      extensionRegistry);
+              if (governedAssetsBuilder_ == null) {
+                ensureGovernedAssetsIsMutable();
+                governedAssets_.add(m);
+              } else {
+                governedAssetsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getConstraintFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6760,43 +5836,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List<
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>
-        governedAssets_ = java.util.Collections.emptyList();
-
+    private java.util.List governedAssets_ =
+      java.util.Collections.emptyList();
     private void ensureGovernedAssetsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        governedAssets_ =
-            new java.util.ArrayList<
-                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>(
-                governedAssets_);
+        governedAssets_ = new java.util.ArrayList(governedAssets_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder>
-        governedAssetsBuilder_;
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> governedAssetsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> - getGovernedAssetsList() { + public java.util.List getGovernedAssetsList() { if (governedAssetsBuilder_ == null) { return java.util.Collections.unmodifiableList(governedAssets_); } else { @@ -6804,15 +5865,11 @@ private void ensureGovernedAssetsIsMutable() { } } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public int getGovernedAssetsCount() { if (governedAssetsBuilder_ == null) { @@ -6822,18 +5879,13 @@ public int getGovernedAssetsCount() { } } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - getGovernedAssets(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index) { if (governedAssetsBuilder_ == null) { return governedAssets_.get(index); } else { @@ -6841,19 +5893,14 @@ public int getGovernedAssetsCount() { } } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder setGovernedAssets( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { if (governedAssetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6867,20 +5914,14 @@ public Builder setGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder setGovernedAssets( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); governedAssets_.set(index, builderForValue.build()); @@ -6891,18 +5932,13 @@ public Builder setGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public Builder addGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { + public Builder addGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { if (governedAssetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6916,19 +5952,14 @@ public Builder addGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder addGovernedAssets( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { if (governedAssetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6942,19 +5973,14 @@ public Builder addGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder addGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); governedAssets_.add(builderForValue.build()); @@ -6965,20 +5991,14 @@ public Builder addGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder addGovernedAssets( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); governedAssets_.add(index, builderForValue.build()); @@ -6989,24 +6009,18 @@ public Builder addGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder addAllGovernedAssets( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> - values) { + java.lang.Iterable values) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, governedAssets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, governedAssets_); onChanged(); } else { governedAssetsBuilder_.addAllMessages(values); @@ -7014,15 +6028,11 @@ public Builder addAllGovernedAssets( return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder clearGovernedAssets() { if (governedAssetsBuilder_ == null) { @@ -7035,15 +6045,11 @@ public Builder clearGovernedAssets() { return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ public Builder removeGovernedAssets(int index) { if (governedAssetsBuilder_ == null) { @@ -7056,55 +6062,39 @@ public Builder removeGovernedAssets(int index) { return this; } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - getGovernedAssetsBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder getGovernedAssetsBuilder( + int index) { return getGovernedAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder - getGovernedAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder( + int index) { if (governedAssetsBuilder_ == null) { - return governedAssets_.get(index); - } else { + return governedAssets_.get(index); } else { return governedAssetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedAssetOrBuilder> - getGovernedAssetsOrBuilderList() { + public java.util.List + getGovernedAssetsOrBuilderList() { if (governedAssetsBuilder_ != null) { return governedAssetsBuilder_.getMessageOrBuilderList(); } else { @@ -7112,72 +6102,45 @@ public Builder removeGovernedAssets(int index) { } } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - addGovernedAssetsBuilder() { - return getGovernedAssetsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder() { + return getGovernedAssetsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance()); } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder - addGovernedAssetsBuilder(int index) { - return getGovernedAssetsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder( + int index) { + return getGovernedAssetsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance()); } /** - * - * *
      * The list of the analyzed governed assets.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder> - getGovernedAssetsBuilderList() { + public java.util.List + getGovernedAssetsBuilderList() { return getGovernedAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> getGovernedAssetsFieldBuilder() { if (governedAssetsBuilder_ == null) { - governedAssetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedAssetOrBuilder>( + governedAssetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder>( governedAssets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7189,47 +6152,34 @@ public Builder removeGovernedAssets(int index) { private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> - constraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> constraintBuilder_; /** - * - * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ public boolean hasConstraint() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { if (constraintBuilder_ == null) { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } else { return constraintBuilder_.getMessage(); } } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7250,8 +6200,6 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7270,8 +6218,6 @@ public Builder setConstraint( return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7280,10 +6226,9 @@ public Builder setConstraint( */ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint value) { if (constraintBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && constraint_ != null - && constraint_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + constraint_ != null && + constraint_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { getConstraintBuilder().mergeFrom(value); } else { constraint_ = value; @@ -7296,8 +6241,6 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7315,8 +6258,6 @@ public Builder clearConstraint() { return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7329,8 +6270,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7341,14 +6280,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilder(); } else { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -7356,17 +6292,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { - constraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( - getConstraint(), getParentForChildren(), isClean()); + constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( + getConstraint(), + getParentForChildren(), + isClean()); constraint_ = null; } return constraintBuilder_; @@ -7374,21 +6307,19 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * 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; @@ -7397,22 +6328,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * 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 { @@ -7420,37 +6350,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -7460,31 +6383,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7494,43 +6413,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7542,8 +6459,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java similarity index 59% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java index a464c4d4edf4..dcc5cc0358a1 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java @@ -1,123 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder - extends +public interface AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - java.util.List + java.util.List getGovernedAssetsList(); /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets( - int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index); /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ int getGovernedAssetsCount(); /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - java.util.List< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse - .GovernedAssetOrBuilder> + java.util.List getGovernedAssetsOrBuilderList(); /** - * - * *
    * The list of the analyzed governed assets.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder - getGovernedAssetsOrBuilder(int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder( + int index); /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ boolean hasConstraint(); /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint(); /** - * - * *
    * The definition of the constraint in the request.
    * 
@@ -127,29 +79,24 @@ com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset g com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder(); /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java index 4de1af7c3743..08f1d35feae2 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.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.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest}
  */
-public final class AnalyzeOrgPolicyGovernedContainersRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeOrgPolicyGovernedContainersRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest)
     AnalyzeOrgPolicyGovernedContainersRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedContainersRequest.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedContainersRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedContainersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeOrgPolicyGovernedContainersRequest() {
     scope_ = "";
     constraint_ = "";
@@ -49,38 +29,34 @@ private AnalyzeOrgPolicyGovernedContainersRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedContainersRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SCOPE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object scope_ = "";
   /**
-   *
-   *
    * 
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -90,7 +66,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -99,15 +74,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 organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -117,15 +91,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 { @@ -134,12 +109,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int CONSTRAINT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object constraint_ = ""; /** - * - * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -147,7 +119,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ @java.lang.Override @@ -156,15 +127,14 @@ public java.lang.String getConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; } } /** - * - * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -172,15 +142,16 @@ public java.lang.String getConstraint() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ @java.lang.Override - public com.google.protobuf.ByteString getConstraintBytes() { + public com.google.protobuf.ByteString + getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); constraint_ = b; return b; } else { @@ -189,12 +160,9 @@ public com.google.protobuf.ByteString getConstraintBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -205,7 +173,6 @@ public com.google.protobuf.ByteString getConstraintBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -214,15 +181,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; } } /** - * - * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -233,15 +199,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -252,8 +219,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -261,7 +226,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -269,8 +233,6 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -278,7 +240,6 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -287,18 +248,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -307,29 +264,29 @@ 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 pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @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 { @@ -338,7 +295,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -350,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(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -385,7 +342,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (((bitField0_ & 0x00000001) != 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_); @@ -398,22 +356,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.AnalyzeOrgPolicyGovernedContainersRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other = - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) obj; - if (!getScope().equals(other.getScope())) return false; - if (!getConstraint().equals(other.getConstraint())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getConstraint() + .equals(other.getConstraint())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() != other.getPageSize()) return false; + if (getPageSize() + != other.getPageSize()) return false; } - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -443,105 +405,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( com.google.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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedContainersRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest - parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedContainersRequest parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedContainersRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -549,33 +502,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest}
    */
-  public static final class Builder extends com.google.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.AnalyzeOrgPolicyGovernedContainersRequest)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class,
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -589,16 +542,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_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
-          .getDefaultInstance();
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest getDefaultInstanceForType() {
+      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -612,17 +563,13 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest build
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result =
-          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result) {
+    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.scope_ = scope_;
@@ -648,51 +595,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) {
-        return mergeFrom(
-            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other) {
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.getDefaultInstance()) return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         bitField0_ |= 0x00000001;
@@ -742,43 +684,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                scope_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                constraint_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              scope_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              constraint_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -788,13 +724,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
-     *
-     *
      * 
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -804,13 +737,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; @@ -819,8 +752,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -830,14 +761,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 { @@ -845,8 +777,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -856,22 +786,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -881,7 +807,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -891,8 +816,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -902,14 +825,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -919,8 +840,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object constraint_ = ""; /** - * - * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -928,13 +847,13 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ public java.lang.String getConstraint() { java.lang.Object ref = constraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; @@ -943,8 +862,6 @@ public java.lang.String getConstraint() { } } /** - * - * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -952,14 +869,15 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ - public com.google.protobuf.ByteString getConstraintBytes() { + public com.google.protobuf.ByteString + getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); constraint_ = b; return b; } else { @@ -967,8 +885,6 @@ public com.google.protobuf.ByteString getConstraintBytes() { } } /** - * - * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -976,22 +892,18 @@ public com.google.protobuf.ByteString getConstraintBytes() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The constraint to set. * @return This builder for chaining. */ - public Builder setConstraint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConstraint( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } constraint_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -999,7 +911,6 @@ public Builder setConstraint(java.lang.String value) {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -1009,8 +920,6 @@ public Builder clearConstraint() { return this; } /** - * - * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -1018,14 +927,12 @@ public Builder clearConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for constraint to set. * @return This builder for chaining. */ - public Builder setConstraintBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConstraintBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); constraint_ = value; bitField0_ |= 0x00000002; @@ -1035,8 +942,6 @@ public Builder setConstraintBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1047,13 +952,13 @@ public Builder setConstraintBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1062,8 +967,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1074,14 +977,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1089,8 +993,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1101,22 +1003,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1127,7 +1025,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1137,8 +1034,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1149,14 +1044,12 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1164,10 +1057,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1175,7 +1066,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1183,8 +1073,6 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1192,7 +1080,6 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1200,8 +1087,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1209,20 +1094,17 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1230,7 +1112,6 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1242,20 +1123,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @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; @@ -1264,21 +1143,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @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 { @@ -1286,35 +1164,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1324,30 +1195,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,45 +1224,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedContainersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedContainersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1407,8 +1270,9 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java similarity index 80% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java index d155c2a72e46..2a86c56127de 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.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 AnalyzeOrgPolicyGovernedContainersRequestOrBuilder - extends +public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -35,13 +17,10 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -51,14 +30,12 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -66,13 +43,10 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The constraint. */ java.lang.String getConstraint(); /** - * - * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -80,14 +54,12 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for constraint. */ - com.google.protobuf.ByteString getConstraintBytes(); + com.google.protobuf.ByteString + getConstraintBytes(); /** - * - * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -98,13 +70,10 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -115,14 +84,12 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -130,13 +97,10 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * optional int32 page_size = 4; - * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** - * - * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -144,33 +108,27 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder
    * 
* * optional int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java index a45f67a4e13d..1251cd5edb28 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.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 response message for
  * [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse}
  */
-public final class AnalyzeOrgPolicyGovernedContainersResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeOrgPolicyGovernedContainersResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse)
     AnalyzeOrgPolicyGovernedContainersResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedContainersResponse.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedContainersResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedContainersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeOrgPolicyGovernedContainersResponse() {
     governedContainers_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,38 +27,34 @@ private AnalyzeOrgPolicyGovernedContainersResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedContainersResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
   }
 
-  public interface GovernedContainerOrBuilder
-      extends
+  public interface GovernedContainerOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -86,13 +62,10 @@ public interface GovernedContainerOrBuilder
      * 
* * 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) of
@@ -100,14 +73,12 @@ public interface GovernedContainerOrBuilder
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -116,13 +87,10 @@ public interface GovernedContainerOrBuilder
      * 
* * string parent = 2; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -131,14 +99,12 @@ public interface GovernedContainerOrBuilder
      * 
* * string parent = 2; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -148,13 +114,10 @@ public interface GovernedContainerOrBuilder
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return Whether the consolidatedPolicy field is set. */ boolean hasConsolidatedPolicy(); /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -164,13 +127,10 @@ public interface GovernedContainerOrBuilder
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return The consolidatedPolicy. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy(); /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -184,8 +144,6 @@ public interface GovernedContainerOrBuilder
     com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder();
 
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -196,10 +154,9 @@ public interface GovernedContainerOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List getPolicyBundleList();
+    java.util.List 
+        getPolicyBundleList();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -212,8 +169,6 @@ public interface GovernedContainerOrBuilder
      */
     com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index);
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -226,8 +181,6 @@ public interface GovernedContainerOrBuilder
      */
     int getPolicyBundleCount();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -238,11 +191,9 @@ public interface GovernedContainerOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List
+    java.util.List 
         getPolicyBundleOrBuilderList();
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -253,30 +204,27 @@ public interface GovernedContainerOrBuilder
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index);
+    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * The organization/folder/project resource governed by organization policies
    * of
    * [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].
    * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} */ - public static final class GovernedContainer extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GovernedContainer extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) GovernedContainerOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedContainer.newBuilder() to construct. private GovernedContainer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GovernedContainer() { fullResourceName_ = ""; parent_ = ""; @@ -285,39 +233,33 @@ private GovernedContainer() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GovernedContainer(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object fullResourceName_ = ""; /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -325,7 +267,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ @java.lang.Override @@ -334,15 +275,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) of
@@ -350,15 +290,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 { @@ -367,12 +308,9 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } public static final int PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -381,7 +319,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
      * 
* * string parent = 2; - * * @return The parent. */ @java.lang.Override @@ -390,15 +327,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 resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -407,15 +343,16 @@ public java.lang.String getParent() {
      * 
* * string parent = 2; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -426,8 +363,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONSOLIDATED_POLICY_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -437,7 +372,6 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -445,8 +379,6 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -456,18 +388,13 @@ public boolean hasConsolidatedPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return The consolidatedPolicy. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { - return consolidatedPolicy_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() - : consolidatedPolicy_; + return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; } /** - * - * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -480,18 +407,13 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() {
      */
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder() {
-      return consolidatedPolicy_ == null
-          ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
-          : consolidatedPolicy_;
+      return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
     }
 
     public static final int POLICY_BUNDLE_FIELD_NUMBER = 4;
-
     @SuppressWarnings("serial")
     private java.util.List policyBundle_;
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -507,8 +429,6 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -520,13 +440,11 @@ public java.util.List getPolicyBund
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getPolicyBundleOrBuilderList() {
       return policyBundle_;
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -542,8 +460,6 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -559,8 +475,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
       return policyBundle_.get(index);
     }
     /**
-     *
-     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -578,7 +492,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -590,7 +503,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -619,11 +533,12 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_);
       }
       if (consolidatedPolicy_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConsolidatedPolicy());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getConsolidatedPolicy());
       }
       for (int i = 0; i < policyBundle_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, policyBundle_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, policyBundle_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -633,24 +548,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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)) {
+      if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer other =
-          (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
-              obj;
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) obj;
 
-      if (!getFullResourceName().equals(other.getFullResourceName())) return false;
-      if (!getParent().equals(other.getParent())) return false;
+      if (!getFullResourceName()
+          .equals(other.getFullResourceName())) return false;
+      if (!getParent()
+          .equals(other.getParent())) return false;
       if (hasConsolidatedPolicy() != other.hasConsolidatedPolicy()) return false;
       if (hasConsolidatedPolicy()) {
-        if (!getConsolidatedPolicy().equals(other.getConsolidatedPolicy())) return false;
+        if (!getConsolidatedPolicy()
+            .equals(other.getConsolidatedPolicy())) return false;
       }
-      if (!getPolicyBundleList().equals(other.getPolicyBundleList())) return false;
+      if (!getPolicyBundleList()
+          .equals(other.getPolicyBundleList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -679,114 +594,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
+        com.google.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.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        parseDelimitedFrom(
-            java.io.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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseDelimitedFrom(
+        java.io.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.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
-            prototype) {
+    public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -796,48 +685,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The organization/folder/project resource governed by organization policies
      * of
      * [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} + * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} */ - public static final class Builder - extends com.google.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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer.class, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -860,23 +742,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_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -884,23 +762,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - result = - new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer(this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result) { if (policyBundleBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { policyBundle_ = java.util.Collections.unmodifiableList(policyBundle_); @@ -912,9 +782,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; @@ -923,10 +791,9 @@ private void buildPartial0( result.parent_ = parent_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.consolidatedPolicy_ = - consolidatedPolicyBuilder_ == null - ? consolidatedPolicy_ - : consolidatedPolicyBuilder_.build(); + result.consolidatedPolicy_ = consolidatedPolicyBuilder_ == null + ? consolidatedPolicy_ + : consolidatedPolicyBuilder_.build(); } } @@ -934,59 +801,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer) - other); + if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - other) { - if (other - == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer other) { + if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; bitField0_ |= 0x00000001; @@ -1018,10 +872,9 @@ public Builder mergeFrom( policyBundleBuilder_ = null; policyBundle_ = other.policyBundle_; bitField0_ = (bitField0_ & ~0x00000008); - policyBundleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPolicyBundleFieldBuilder() - : null; + policyBundleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPolicyBundleFieldBuilder() : null; } else { policyBundleBuilder_.addAllMessages(other.policyBundle_); } @@ -1053,45 +906,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getConsolidatedPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.cloud.asset.v1.AnalyzerOrgPolicy m = - input.readMessage( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), extensionRegistry); - if (policyBundleBuilder_ == null) { - ensurePolicyBundleIsMutable(); - policyBundle_.add(m); - } else { - policyBundleBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getConsolidatedPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.cloud.asset.v1.AnalyzerOrgPolicy m = + input.readMessage( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), + extensionRegistry); + if (policyBundleBuilder_ == null) { + ensurePolicyBundleIsMutable(); + policyBundle_.add(m); + } else { + policyBundleBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1101,13 +951,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1115,13 +962,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; @@ -1130,8 +977,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1139,14 +984,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 { @@ -1154,8 +1000,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1163,22 +1007,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1186,7 +1026,6 @@ public Builder setFullResourceName(java.lang.String value) {
        * 
* * string full_resource_name = 1; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1196,8 +1035,6 @@ public Builder clearFullResourceName() { return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1205,14 +1042,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -1222,8 +1057,6 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1232,13 +1065,13 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string parent = 2; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1247,8 +1080,6 @@ public java.lang.String getParent() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1257,14 +1088,15 @@ public java.lang.String getParent() {
        * 
* * string parent = 2; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1272,8 +1104,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1282,22 +1112,18 @@ public com.google.protobuf.ByteString getParentBytes() {
        * 
* * string parent = 2; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1306,7 +1132,6 @@ public Builder setParent(java.lang.String value) {
        * 
* * string parent = 2; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1316,8 +1141,6 @@ public Builder clearParent() { return this; } /** - * - * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1326,14 +1149,12 @@ public Builder clearParent() {
        * 
* * string parent = 2; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -1343,13 +1164,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> - consolidatedPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> consolidatedPolicyBuilder_; /** - * - * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1359,15 +1175,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return Whether the consolidatedPolicy field is set. */ public boolean hasConsolidatedPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1377,21 +1190,16 @@ public boolean hasConsolidatedPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; - * * @return The consolidatedPolicy. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { if (consolidatedPolicyBuilder_ == null) { - return consolidatedPolicy_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() - : consolidatedPolicy_; + return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; } else { return consolidatedPolicyBuilder_.getMessage(); } } /** - * - * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1416,8 +1224,6 @@ public Builder setConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1440,8 +1246,6 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1454,10 +1258,9 @@ public Builder setConsolidatedPolicy(
        */
       public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (consolidatedPolicyBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && consolidatedPolicy_ != null
-              && consolidatedPolicy_
-                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            consolidatedPolicy_ != null &&
+            consolidatedPolicy_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
             getConsolidatedPolicyBuilder().mergeFrom(value);
           } else {
             consolidatedPolicy_ = value;
@@ -1470,8 +1273,6 @@ public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPoli
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1493,8 +1294,6 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1511,8 +1310,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getConsolidatedPolicy
         return getConsolidatedPolicyFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1527,14 +1324,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
         if (consolidatedPolicyBuilder_ != null) {
           return consolidatedPolicyBuilder_.getMessageOrBuilder();
         } else {
-          return consolidatedPolicy_ == null
-              ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
-              : consolidatedPolicy_;
+          return consolidatedPolicy_ == null ?
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
         }
       }
       /**
-       *
-       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1546,42 +1340,32 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
        * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
           getConsolidatedPolicyFieldBuilder() {
         if (consolidatedPolicyBuilder_ == null) {
-          consolidatedPolicyBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
-                  getConsolidatedPolicy(), getParentForChildren(), isClean());
+          consolidatedPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+                  getConsolidatedPolicy(),
+                  getParentForChildren(),
+                  isClean());
           consolidatedPolicy_ = null;
         }
         return consolidatedPolicyBuilder_;
       }
 
       private java.util.List policyBundle_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensurePolicyBundleIsMutable() {
         if (!((bitField0_ & 0x00000008) != 0)) {
-          policyBundle_ =
-              new java.util.ArrayList(policyBundle_);
+          policyBundle_ = new java.util.ArrayList(policyBundle_);
           bitField0_ |= 0x00000008;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
-          policyBundleBuilder_;
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> policyBundleBuilder_;
 
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1600,8 +1384,6 @@ public java.util.List getPolicyBund
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1620,8 +1402,6 @@ public int getPolicyBundleCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1640,8 +1420,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1652,7 +1430,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder setPolicyBundle(
+          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1666,8 +1445,6 @@ public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgP
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1690,8 +1467,6 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1716,8 +1491,6 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1728,7 +1501,8 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder addPolicyBundle(
+          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1742,8 +1516,6 @@ public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgP
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1766,8 +1538,6 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1790,8 +1560,6 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1806,7 +1574,8 @@ public Builder addAllPolicyBundle(
           java.lang.Iterable values) {
         if (policyBundleBuilder_ == null) {
           ensurePolicyBundleIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBundle_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, policyBundle_);
           onChanged();
         } else {
           policyBundleBuilder_.addAllMessages(values);
@@ -1814,8 +1583,6 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1837,8 +1604,6 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1860,8 +1625,6 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1872,12 +1635,11 @@ public Builder removePolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index) {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(
+          int index) {
         return getPolicyBundleFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1891,14 +1653,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilde
       public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
           int index) {
         if (policyBundleBuilder_ == null) {
-          return policyBundle_.get(index);
-        } else {
+          return policyBundle_.get(index);  } else {
           return policyBundleBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1909,8 +1668,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List
-          getPolicyBundleOrBuilderList() {
+      public java.util.List 
+           getPolicyBundleOrBuilderList() {
         if (policyBundleBuilder_ != null) {
           return policyBundleBuilder_.getMessageOrBuilderList();
         } else {
@@ -1918,8 +1677,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1931,12 +1688,10 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
       public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder() {
-        return getPolicyBundleFieldBuilder()
-            .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+        return getPolicyBundleFieldBuilder().addBuilder(
+            com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1947,13 +1702,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index) {
-        return getPolicyBundleFieldBuilder()
-            .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(
+          int index) {
+        return getPolicyBundleFieldBuilder().addBuilder(
+            index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1964,22 +1718,16 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List
-          getPolicyBundleBuilderList() {
+      public java.util.List 
+           getPolicyBundleBuilderList() {
         return getPolicyBundleFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
           getPolicyBundleFieldBuilder() {
         if (policyBundleBuilder_ == null) {
-          policyBundleBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+          policyBundleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
                   policyBundle_,
                   ((bitField0_ & 0x00000008) != 0),
                   getParentForChildren(),
@@ -1988,7 +1736,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
         }
         return policyBundleBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2001,48 +1748,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
-    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-              .GovernedContainer();
+      DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer();
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-            .GovernedContainer
-        getDefaultInstance() {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public GovernedContainer parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public GovernedContainer parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2054,114 +1794,81 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int GOVERNED_CONTAINERS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
-  private java.util.List<
-          com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>
-      governedContainers_;
+  private java.util.List governedContainers_;
   /**
-   *
-   *
    * 
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> - getGovernedContainersList() { + public java.util.List getGovernedContainersList() { return governedContainers_; } /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder> + public java.util.List getGovernedContainersOrBuilderList() { return governedContainers_; } /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ @java.lang.Override public int getGovernedContainersCount() { return governedContainers_.size(); } /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - getGovernedContainers(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index) { return governedContainers_.get(index); } /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder - getGovernedContainersOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder( + int index) { return governedContainers_.get(index); } public static final int CONSTRAINT_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ @java.lang.Override @@ -2169,25 +1876,18 @@ public boolean hasConstraint() { return constraint_ != null; } /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } /** - * - * *
    * The definition of the constraint in the request.
    * 
@@ -2196,25 +1896,19 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder() { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -2223,30 +1917,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; } } /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * 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 { @@ -2255,7 +1949,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2267,7 +1960,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < governedContainers_.size(); i++) { output.writeMessage(1, governedContainers_.get(i)); } @@ -2287,11 +1981,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < governedContainers_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, governedContainers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, governedContainers_.get(i)); } if (constraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConstraint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -2304,20 +1999,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.AnalyzeOrgPolicyGovernedContainersResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other = - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) obj; - if (!getGovernedContainersList().equals(other.getGovernedContainersList())) return false; + if (!getGovernedContainersList() + .equals(other.getGovernedContainersList())) return false; if (hasConstraint() != other.hasConstraint()) return false; if (hasConstraint()) { - if (!getConstraint().equals(other.getConstraint())) return false; + if (!getConstraint() + .equals(other.getConstraint())) return false; } - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2345,105 +2042,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( com.google.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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedContainersResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedContainersResponse parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedContainersResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -2451,33 +2139,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse}
    */
-  public static final class Builder extends com.google.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.AnalyzeOrgPolicyGovernedContainersResponse)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class,
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2499,16 +2187,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_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-          .getDefaultInstance();
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstanceForType() {
+      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -2522,18 +2208,14 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse buil
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result =
-          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse(this);
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
       if (governedContainersBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           governedContainers_ = java.util.Collections.unmodifiableList(governedContainers_);
@@ -2545,11 +2227,12 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
+    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.constraint_ = constraintBuilder_ == null ? constraint_ : constraintBuilder_.build();
+        result.constraint_ = constraintBuilder_ == null
+            ? constraint_
+            : constraintBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -2560,51 +2243,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) {
-        return mergeFrom(
-            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other) {
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.getDefaultInstance()) return this;
       if (governedContainersBuilder_ == null) {
         if (!other.governedContainers_.isEmpty()) {
           if (governedContainers_.isEmpty()) {
@@ -2623,10 +2301,9 @@ public Builder mergeFrom(
             governedContainersBuilder_ = null;
             governedContainers_ = other.governedContainers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            governedContainersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getGovernedContainersFieldBuilder()
-                    : null;
+            governedContainersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getGovernedContainersFieldBuilder() : null;
           } else {
             governedContainersBuilder_.addAllMessages(other.governedContainers_);
           }
@@ -2666,42 +2343,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-                        .GovernedContainer
-                    m =
-                        input.readMessage(
-                            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-                                .GovernedContainer.parser(),
-                            extensionRegistry);
-                if (governedContainersBuilder_ == null) {
-                  ensureGovernedContainersIsMutable();
-                  governedContainers_.add(m);
-                } else {
-                  governedContainersBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getConstraintFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.parser(),
+                      extensionRegistry);
+              if (governedContainersBuilder_ == null) {
+                ensureGovernedContainersIsMutable();
+                governedContainers_.add(m);
+              } else {
+                governedContainersBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getConstraintFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2711,45 +2383,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List<
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>
-        governedContainers_ = java.util.Collections.emptyList();
-
+    private java.util.List governedContainers_ =
+      java.util.Collections.emptyList();
     private void ensureGovernedContainersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        governedContainers_ =
-            new java.util.ArrayList<
-                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-                    .GovernedContainer>(governedContainers_);
+        governedContainers_ = new java.util.ArrayList(governedContainers_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
-                .Builder,
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
-                .GovernedContainerOrBuilder>
-        governedContainersBuilder_;
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder> governedContainersBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> - getGovernedContainersList() { + public java.util.List getGovernedContainersList() { if (governedContainersBuilder_ == null) { return java.util.Collections.unmodifiableList(governedContainers_); } else { @@ -2757,15 +2412,11 @@ private void ensureGovernedContainersIsMutable() { } } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public int getGovernedContainersCount() { if (governedContainersBuilder_ == null) { @@ -2775,18 +2426,13 @@ public int getGovernedContainersCount() { } } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - getGovernedContainers(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index) { if (governedContainersBuilder_ == null) { return governedContainers_.get(index); } else { @@ -2794,20 +2440,14 @@ public int getGovernedContainersCount() { } } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder setGovernedContainers( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - value) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value) { if (governedContainersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2821,21 +2461,14 @@ public Builder setGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder setGovernedContainers( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); governedContainers_.set(index, builderForValue.build()); @@ -2846,19 +2479,13 @@ public Builder setGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public Builder addGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - value) { + public Builder addGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value) { if (governedContainersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2872,20 +2499,14 @@ public Builder addGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder addGovernedContainers( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - value) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value) { if (governedContainersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2899,20 +2520,14 @@ public Builder addGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder addGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); governedContainers_.add(builderForValue.build()); @@ -2923,21 +2538,14 @@ public Builder addGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder addGovernedContainers( - int index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); governedContainers_.add(index, builderForValue.build()); @@ -2948,25 +2556,18 @@ public Builder addGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder addAllGovernedContainers( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer> - values) { + java.lang.Iterable values) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, governedContainers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, governedContainers_); onChanged(); } else { governedContainersBuilder_.addAllMessages(values); @@ -2974,15 +2575,11 @@ public Builder addAllGovernedContainers( return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder clearGovernedContainers() { if (governedContainersBuilder_ == null) { @@ -2995,15 +2592,11 @@ public Builder clearGovernedContainers() { return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ public Builder removeGovernedContainers(int index) { if (governedContainersBuilder_ == null) { @@ -3016,57 +2609,39 @@ public Builder removeGovernedContainers(int index) { return this; } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder - getGovernedContainersBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder getGovernedContainersBuilder( + int index) { return getGovernedContainersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder - getGovernedContainersOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder( + int index) { if (governedContainersBuilder_ == null) { - return governedContainers_.get(index); - } else { + return governedContainers_.get(index); } else { return governedContainersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder> - getGovernedContainersOrBuilderList() { + public java.util.List + getGovernedContainersOrBuilderList() { if (governedContainersBuilder_ != null) { return governedContainersBuilder_.getMessageOrBuilderList(); } else { @@ -3074,78 +2649,45 @@ public Builder removeGovernedContainers(int index) { } } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder - addGovernedContainersBuilder() { - return getGovernedContainersFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addGovernedContainersBuilder() { + return getGovernedContainersFieldBuilder().addBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance()); } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder - addGovernedContainersBuilder(int index) { - return getGovernedContainersFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addGovernedContainersBuilder( + int index) { + return getGovernedContainersFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance()); } /** - * - * *
      * The list of the analyzed governed containers.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder> - getGovernedContainersBuilderList() { + public java.util.List + getGovernedContainersBuilderList() { return getGovernedContainersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - .Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder> getGovernedContainersFieldBuilder() { if (governedContainersBuilder_ == null) { - governedContainersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainer.Builder, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder>( + governedContainersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder>( governedContainers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3157,47 +2699,34 @@ public Builder removeGovernedContainers(int index) { private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> - constraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> constraintBuilder_; /** - * - * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ public boolean hasConstraint() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { if (constraintBuilder_ == null) { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } else { return constraintBuilder_.getMessage(); } } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3218,8 +2747,6 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3238,8 +2765,6 @@ public Builder setConstraint( return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3248,10 +2773,9 @@ public Builder setConstraint( */ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint value) { if (constraintBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && constraint_ != null - && constraint_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + constraint_ != null && + constraint_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { getConstraintBuilder().mergeFrom(value); } else { constraint_ = value; @@ -3264,8 +2788,6 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3283,8 +2805,6 @@ public Builder clearConstraint() { return this; } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3297,8 +2817,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3309,14 +2827,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilder(); } else { - return constraint_ == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() - : constraint_; + return constraint_ == null ? + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; } } /** - * - * *
      * The definition of the constraint in the request.
      * 
@@ -3324,17 +2839,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { - constraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( - getConstraint(), getParentForChildren(), isClean()); + constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( + getConstraint(), + getParentForChildren(), + isClean()); constraint_ = null; } return constraintBuilder_; @@ -3342,21 +2854,19 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * 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; @@ -3365,22 +2875,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * 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 { @@ -3388,37 +2897,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -3428,31 +2930,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3462,45 +2960,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedContainersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedContainersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3512,8 +3006,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java similarity index 56% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java index fa73d7fa02aa..1ad6116f848f 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java @@ -1,124 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeOrgPolicyGovernedContainersResponseOrBuilder - extends +public interface AnalyzeOrgPolicyGovernedContainersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - java.util.List< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> + java.util.List getGovernedContainersList(); /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer - getGovernedContainers(int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index); /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ int getGovernedContainersCount(); /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - java.util.List< - ? extends - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse - .GovernedContainerOrBuilder> + java.util.List getGovernedContainersOrBuilderList(); /** - * - * *
    * The list of the analyzed governed containers.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; - * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder - getGovernedContainersOrBuilder(int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder( + int index); /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return Whether the constraint field is set. */ boolean hasConstraint(); /** - * - * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; - * * @return The constraint. */ com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint(); /** - * - * *
    * The definition of the constraint in the request.
    * 
@@ -128,29 +79,24 @@ public interface AnalyzeOrgPolicyGovernedContainersResponseOrBuilder com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder(); /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java similarity index 76% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java index d97471fb263d..8d6bb14738c2 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.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; /** - * - * *
  * This organization policy message is a modified version of the one defined in
  * the Organization Policy system. This message contains several fields defined
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy}
  */
-public final class AnalyzerOrgPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzerOrgPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicy)
     AnalyzerOrgPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzerOrgPolicy.newBuilder() to construct.
   private AnalyzerOrgPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzerOrgPolicy() {
     attachedResource_ = "";
     appliedResource_ = "";
@@ -48,64 +30,54 @@ private AnalyzerOrgPolicy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzerOrgPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzerOrgPolicy.class,
-            com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
+            com.google.cloud.asset.v1.AnalyzerOrgPolicy.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
   }
 
-  public interface RuleOrBuilder
-      extends
+  public interface RuleOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; - * * @return Whether the values field is set. */ boolean hasValues(); /** - * - * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; - * * @return The values. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues(); /** - * - * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
@@ -116,62 +88,48 @@ public interface RuleOrBuilder
     com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder();
 
     /**
-     *
-     *
      * 
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; - * * @return Whether the allowAll field is set. */ boolean hasAllowAll(); /** - * - * *
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; - * * @return The allowAll. */ boolean getAllowAll(); /** - * - * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; - * * @return Whether the denyAll field is set. */ boolean hasDenyAll(); /** - * - * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; - * * @return The denyAll. */ boolean getDenyAll(); /** - * - * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -179,13 +137,10 @@ public interface RuleOrBuilder
      * 
* * bool enforce = 6; - * * @return Whether the enforce field is set. */ boolean hasEnforce(); /** - * - * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -193,38 +148,29 @@ public interface RuleOrBuilder
      * 
* * bool enforce = 6; - * * @return The enforce. */ boolean getEnforce(); /** - * - * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; - * * @return The condition. */ com.google.type.Expr getCondition(); /** - * - * *
      * The evaluating condition for this rule.
      * 
@@ -236,178 +182,151 @@ public interface RuleOrBuilder public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.KindCase getKindCase(); } /** - * - * *
    * Represents a rule defined in an organization policy
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule} */ - public static final class Rule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Rule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) RuleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Rule.newBuilder() to construct. private Rule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Rule() {} + private Rule() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Rule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); } - public interface StringValuesOrBuilder - extends + public interface StringValuesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - java.util.List getAllowedValuesList(); + java.util.List + getAllowedValuesList(); /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString getAllowedValuesBytes(int index); + com.google.protobuf.ByteString + getAllowedValuesBytes(int index); /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @return A list containing the deniedValues. */ - java.util.List getDeniedValuesList(); + java.util.List + getDeniedValuesList(); /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @return The count of deniedValues. */ int getDeniedValuesCount(); /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @param index The index of the element to return. * @return The deniedValues at the given index. */ java.lang.String getDeniedValues(int index); /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @param index The index of the value to return. * @return The bytes of the deniedValues at the given index. */ - com.google.protobuf.ByteString getDeniedValuesBytes(int index); + com.google.protobuf.ByteString + getDeniedValuesBytes(int index); } /** - * - * *
      * The string values for the list constraints.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues} */ - public static final class StringValues extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringValues extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) StringValuesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringValues.newBuilder() to construct. private StringValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringValues() { allowedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; deniedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -415,71 +334,61 @@ private StringValues() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringValues(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList allowedValues_; /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_; } /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -487,62 +396,51 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } public static final int DENIED_VALUES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList deniedValues_; /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @return A list containing the deniedValues. */ - public com.google.protobuf.ProtocolStringList getDeniedValuesList() { + public com.google.protobuf.ProtocolStringList + getDeniedValuesList() { return deniedValues_; } /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @return The count of deniedValues. */ public int getDeniedValuesCount() { return deniedValues_.size(); } /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @param index The index of the element to return. * @return The deniedValues at the given index. */ @@ -550,23 +448,20 @@ public java.lang.String getDeniedValues(int index) { return deniedValues_.get(index); } /** - * - * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; - * * @param index The index of the value to return. * @return The bytes of the deniedValues at the given index. */ - public com.google.protobuf.ByteString getDeniedValuesBytes(int index) { + public com.google.protobuf.ByteString + getDeniedValuesBytes(int index) { return deniedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -578,7 +473,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -618,16 +514,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.AnalyzerOrgPolicy.Rule.StringValues)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other = (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) obj; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; - if (!getDeniedValuesList().equals(other.getDeniedValuesList())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; + if (!getDeniedValuesList() + .equals(other.getDeniedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -653,96 +550,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( com.google.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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicy.Rule.StringValues - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues - parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicy.Rule.StringValues parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicy.Rule.StringValues prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -752,42 +640,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The string values for the list constraints.
        * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues} */ - public static final class Builder - extends com.google.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.AnalyzerOrgPolicy.Rule.StringValues) com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -800,14 +685,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_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getDefaultInstanceForType() { return com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance(); } @@ -822,18 +706,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(this); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { if (((bitField0_ & 0x00000001) != 0)) { allowedValues_ = allowedValues_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -846,8 +726,7 @@ private void buildPartialRepeatedFields( result.deniedValues_ = deniedValues_; } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { int from_bitField0_ = bitField0_; } @@ -855,52 +734,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other) { - if (other - == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other) { + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -947,27 +820,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.add(s); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDeniedValuesIsMutable(); - deniedValues_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedValuesIsMutable(); + allowedValues_.add(s); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeniedValuesIsMutable(); + deniedValues_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -977,55 +847,44 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList allowedValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList allowedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_.getUnmodifiableView(); } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -1033,90 +892,76 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllowedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); onChanged(); return this; } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.add(value); onChanged(); return this; } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues(java.lang.Iterable values) { + public Builder addAllAllowedValues( + java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); onChanged(); return this; } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @return This builder for chaining. */ public Builder clearAllowedValues() { @@ -1126,21 +971,17 @@ public Builder clearAllowedValues() { return this; } /** - * - * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; - * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -1148,52 +989,42 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList deniedValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList deniedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDeniedValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { deniedValues_ = new com.google.protobuf.LazyStringArrayList(deniedValues_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @return A list containing the deniedValues. */ - public com.google.protobuf.ProtocolStringList getDeniedValuesList() { + public com.google.protobuf.ProtocolStringList + getDeniedValuesList() { return deniedValues_.getUnmodifiableView(); } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @return The count of deniedValues. */ public int getDeniedValuesCount() { return deniedValues_.size(); } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @param index The index of the element to return. * @return The deniedValues at the given index. */ @@ -1201,90 +1032,76 @@ public java.lang.String getDeniedValues(int index) { return deniedValues_.get(index); } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @param index The index of the value to return. * @return The bytes of the deniedValues at the given index. */ - public com.google.protobuf.ByteString getDeniedValuesBytes(int index) { + public com.google.protobuf.ByteString + getDeniedValuesBytes(int index) { return deniedValues_.getByteString(index); } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @param index The index to set the value at. * @param value The deniedValues to set. * @return This builder for chaining. */ - public Builder setDeniedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDeniedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDeniedValuesIsMutable(); deniedValues_.set(index, value); onChanged(); return this; } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @param value The deniedValues to add. * @return This builder for chaining. */ - public Builder addDeniedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDeniedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDeniedValuesIsMutable(); deniedValues_.add(value); onChanged(); return this; } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @param values The deniedValues to add. * @return This builder for chaining. */ - public Builder addAllDeniedValues(java.lang.Iterable values) { + public Builder addAllDeniedValues( + java.lang.Iterable values) { ensureDeniedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deniedValues_); onChanged(); return this; } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @return This builder for chaining. */ public Builder clearDeniedValues() { @@ -1294,28 +1111,23 @@ public Builder clearDeniedValues() { return this; } /** - * - * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; - * * @param value The bytes of the deniedValues to add. * @return This builder for chaining. */ - public Builder addDeniedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDeniedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDeniedValuesIsMutable(); deniedValues_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1328,44 +1140,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1377,18 +1186,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int kindCase_ = 0; private java.lang.Object kind_; - public enum KindCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUES(3), ALLOW_ALL(4), @@ -1396,7 +1203,6 @@ public enum KindCase ENFORCE(6), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -1412,41 +1218,33 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 3: - return VALUES; - case 4: - return ALLOW_ALL; - case 5: - return DENY_ALL; - case 6: - return ENFORCE; - case 0: - return KIND_NOT_SET; - default: - return null; + case 3: return VALUES; + case 4: return ALLOW_ALL; + case 5: return DENY_ALL; + case 6: return ENFORCE; + case 0: return KIND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); + public KindCase + getKindCase() { + return KindCase.forNumber( + kindCase_); } public static final int VALUES_FIELD_NUMBER = 3; /** - * - * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; - * * @return Whether the values field is set. */ @java.lang.Override @@ -1454,27 +1252,22 @@ public boolean hasValues() { return kindCase_ == 3; } /** - * - * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; - * * @return The values. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues() { if (kindCase_ == 3) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_; } return com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance(); } /** - * - * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
@@ -1483,25 +1276,21 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues()
      * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder
-        getValuesOrBuilder() {
+    public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder() {
       if (kindCase_ == 3) {
-        return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_;
+         return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_;
       }
       return com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance();
     }
 
     public static final int ALLOW_ALL_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; - * * @return Whether the allowAll field is set. */ @java.lang.Override @@ -1509,15 +1298,12 @@ public boolean hasAllowAll() { return kindCase_ == 4; } /** - * - * *
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; - * * @return The allowAll. */ @java.lang.Override @@ -1530,15 +1316,12 @@ public boolean getAllowAll() { public static final int DENY_ALL_FIELD_NUMBER = 5; /** - * - * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; - * * @return Whether the denyAll field is set. */ @java.lang.Override @@ -1546,15 +1329,12 @@ public boolean hasDenyAll() { return kindCase_ == 5; } /** - * - * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; - * * @return The denyAll. */ @java.lang.Override @@ -1567,8 +1347,6 @@ public boolean getDenyAll() { public static final int ENFORCE_FIELD_NUMBER = 6; /** - * - * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -1576,7 +1354,6 @@ public boolean getDenyAll() {
      * 
* * bool enforce = 6; - * * @return Whether the enforce field is set. */ @java.lang.Override @@ -1584,8 +1361,6 @@ public boolean hasEnforce() { return kindCase_ == 6; } /** - * - * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -1593,7 +1368,6 @@ public boolean hasEnforce() {
      * 
* * bool enforce = 6; - * * @return The enforce. */ @java.lang.Override @@ -1607,14 +1381,11 @@ public boolean getEnforce() { public static final int CONDITION_FIELD_NUMBER = 7; private com.google.type.Expr condition_; /** - * - * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -1622,14 +1393,11 @@ public boolean hasCondition() { return condition_ != null; } /** - * - * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; - * * @return The condition. */ @java.lang.Override @@ -1637,8 +1405,6 @@ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** - * - * *
      * The evaluating condition for this rule.
      * 
@@ -1651,7 +1417,6 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1663,19 +1428,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (kindCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); + output.writeMessage(3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); } if (kindCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) kind_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - output.writeBool(5, (boolean) ((java.lang.Boolean) kind_)); + output.writeBool( + 5, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 6) { - output.writeBool(6, (boolean) ((java.lang.Boolean) kind_)); + output.writeBool( + 6, (boolean)((java.lang.Boolean) kind_)); } if (condition_ != null) { output.writeMessage(7, getCondition()); @@ -1690,27 +1458,27 @@ public int getSerializedSize() { size = 0; if (kindCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); } if (kindCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, (boolean) ((java.lang.Boolean) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 5, (boolean)((java.lang.Boolean) kind_)); } if (kindCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 6, (boolean) ((java.lang.Boolean) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 6, (boolean)((java.lang.Boolean) kind_)); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCondition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCondition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1720,31 +1488,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.v1.AnalyzerOrgPolicy.Rule)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule other = (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) obj; if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition().equals(other.getCondition())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; } if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 3: - if (!getValues().equals(other.getValues())) return false; + if (!getValues() + .equals(other.getValues())) return false; break; case 4: - if (getAllowAll() != other.getAllowAll()) return false; + if (getAllowAll() + != other.getAllowAll()) return false; break; case 5: - if (getDenyAll() != other.getDenyAll()) return false; + if (getDenyAll() + != other.getDenyAll()) return false; break; case 6: - if (getEnforce() != other.getEnforce()) return false; + if (getEnforce() + != other.getEnforce()) return false; break; case 0: default: @@ -1771,15 +1543,18 @@ public int hashCode() { break; case 4: hash = (37 * hash) + ALLOW_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowAll()); break; case 5: hash = (37 * hash) + DENY_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDenyAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDenyAll()); break; case 6: hash = (37 * hash) + ENFORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnforce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnforce()); break; case 0: default: @@ -1790,93 +1565,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicy.Rule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicy.Rule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( com.google.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.AnalyzerOrgPolicy.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicy.Rule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicy.Rule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzerOrgPolicy.Rule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzerOrgPolicy.Rule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicy.Rule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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,41 +1655,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a rule defined in an organization policy
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule} */ - public static final class Builder - extends com.google.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.AnalyzerOrgPolicy.Rule) com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1939,9 +1706,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_AnalyzerOrgPolicy_Rule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; } @java.lang.Override @@ -1960,11 +1727,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1973,14 +1737,17 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000010) != 0)) { - result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build(); + result.condition_ = conditionBuilder_ == null + ? condition_ + : conditionBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result) { result.kindCase_ = kindCase_; result.kind_ = this.kind_; - if (kindCase_ == 3 && valuesBuilder_ != null) { + if (kindCase_ == 3 && + valuesBuilder_ != null) { result.kind_ = valuesBuilder_.build(); } } @@ -1989,41 +1756,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.AnalyzerOrgPolicy.Rule) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule)other); } else { super.mergeFrom(other); return this; @@ -2031,36 +1795,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()) return this; if (other.hasCondition()) { mergeCondition(other.getCondition()); } switch (other.getKindCase()) { - case VALUES: - { - mergeValues(other.getValues()); - break; - } - case ALLOW_ALL: - { - setAllowAll(other.getAllowAll()); - break; - } - case DENY_ALL: - { - setDenyAll(other.getDenyAll()); - break; - } - case ENFORCE: - { - setEnforce(other.getEnforce()); - break; - } - case KIND_NOT_SET: - { - break; - } + case VALUES: { + mergeValues(other.getValues()); + break; + } + case ALLOW_ALL: { + setAllowAll(other.getAllowAll()); + break; + } + case DENY_ALL: { + setDenyAll(other.getDenyAll()); + break; + } + case ENFORCE: { + setEnforce(other.getEnforce()); + break; + } + case KIND_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2088,43 +1846,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - input.readMessage(getValuesFieldBuilder().getBuilder(), extensionRegistry); - kindCase_ = 3; - break; - } // case 26 - case 32: - { - kind_ = input.readBool(); - kindCase_ = 4; - break; - } // case 32 - case 40: - { - kind_ = input.readBool(); - kindCase_ = 5; - break; - } // case 40 - case 48: - { - kind_ = input.readBool(); - kindCase_ = 6; - break; - } // case 48 - case 58: - { - input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + input.readMessage( + getValuesFieldBuilder().getBuilder(), + extensionRegistry); + kindCase_ = 3; + break; + } // case 26 + case 32: { + kind_ = input.readBool(); + kindCase_ = 4; + break; + } // case 32 + case 40: { + kind_ = input.readBool(); + kindCase_ = 5; + break; + } // case 40 + case 48: { + kind_ = input.readBool(); + kindCase_ = 6; + break; + } // case 48 + case 58: { + input.readMessage( + getConditionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2134,12 +1890,12 @@ public Builder mergeFrom( } // finally return this; } - private int kindCase_ = 0; private java.lang.Object kind_; - - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); + public KindCase + getKindCase() { + return KindCase.forNumber( + kindCase_); } public Builder clearKind() { @@ -2152,20 +1908,14 @@ public Builder clearKind() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder> - valuesBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder> valuesBuilder_; /** - * - * *
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; - * * @return Whether the values field is set. */ @java.lang.Override @@ -2173,15 +1923,12 @@ public boolean hasValues() { return kindCase_ == 3; } /** - * - * *
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; - * * @return The values. */ @java.lang.Override @@ -2199,8 +1946,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues() } } /** - * - * *
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2208,8 +1953,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues()
        *
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
-      public Builder setValues(
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
+      public Builder setValues(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2223,8 +1967,6 @@ public Builder setValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2244,8 +1986,6 @@ public Builder setValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2253,18 +1993,12 @@ public Builder setValues(
        *
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
-      public Builder mergeValues(
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
+      public Builder mergeValues(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
         if (valuesBuilder_ == null) {
-          if (kindCase_ == 3
-              && kind_
-                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues
-                      .getDefaultInstance()) {
-            kind_ =
-                com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder(
-                        (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (kindCase_ == 3 &&
+              kind_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance()) {
+            kind_ = com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_)
+                .mergeFrom(value).buildPartial();
           } else {
             kind_ = value;
           }
@@ -2280,8 +2014,6 @@ public Builder mergeValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2306,8 +2038,6 @@ public Builder clearValues() {
         return this;
       }
       /**
-       *
-       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2315,13 +2045,10 @@ public Builder clearValues() {
        *
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder
-          getValuesBuilder() {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder getValuesBuilder() {
         return getValuesFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2330,8 +2057,7 @@ public Builder clearValues() {
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
       @java.lang.Override
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder
-          getValuesOrBuilder() {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder() {
         if ((kindCase_ == 3) && (valuesBuilder_ != null)) {
           return valuesBuilder_.getMessageOrBuilder();
         } else {
@@ -2342,8 +2068,6 @@ public Builder clearValues() {
         }
       }
       /**
-       *
-       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2352,20 +2076,14 @@ public Builder clearValues() {
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder>
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder> 
           getValuesFieldBuilder() {
         if (valuesBuilder_ == null) {
           if (!(kindCase_ == 3)) {
-            kind_ =
-                com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance();
+            kind_ = com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance();
           }
-          valuesBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder,
-                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder>(
+          valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder>(
                   (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_,
                   getParentForChildren(),
                   isClean());
@@ -2377,30 +2095,24 @@ public Builder clearValues() {
       }
 
       /**
-       *
-       *
        * 
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; - * * @return Whether the allowAll field is set. */ public boolean hasAllowAll() { return kindCase_ == 4; } /** - * - * *
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; - * * @return The allowAll. */ public boolean getAllowAll() { @@ -2410,35 +2122,29 @@ public boolean getAllowAll() { return false; } /** - * - * *
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; - * * @param value The allowAll to set. * @return This builder for chaining. */ public Builder setAllowAll(boolean value) { - + kindCase_ = 4; kind_ = value; onChanged(); return this; } /** - * - * *
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; - * * @return This builder for chaining. */ public Builder clearAllowAll() { @@ -2451,30 +2157,24 @@ public Builder clearAllowAll() { } /** - * - * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; - * * @return Whether the denyAll field is set. */ public boolean hasDenyAll() { return kindCase_ == 5; } /** - * - * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; - * * @return The denyAll. */ public boolean getDenyAll() { @@ -2484,35 +2184,29 @@ public boolean getDenyAll() { return false; } /** - * - * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; - * * @param value The denyAll to set. * @return This builder for chaining. */ public Builder setDenyAll(boolean value) { - + kindCase_ = 5; kind_ = value; onChanged(); return this; } /** - * - * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; - * * @return This builder for chaining. */ public Builder clearDenyAll() { @@ -2525,8 +2219,6 @@ public Builder clearDenyAll() { } /** - * - * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2534,15 +2226,12 @@ public Builder clearDenyAll() {
        * 
* * bool enforce = 6; - * * @return Whether the enforce field is set. */ public boolean hasEnforce() { return kindCase_ == 6; } /** - * - * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2550,7 +2239,6 @@ public boolean hasEnforce() {
        * 
* * bool enforce = 6; - * * @return The enforce. */ public boolean getEnforce() { @@ -2560,8 +2248,6 @@ public boolean getEnforce() { return false; } /** - * - * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2569,20 +2255,17 @@ public boolean getEnforce() {
        * 
* * bool enforce = 6; - * * @param value The enforce to set. * @return This builder for chaining. */ public Builder setEnforce(boolean value) { - + kindCase_ = 6; kind_ = value; onChanged(); return this; } /** - * - * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2590,7 +2273,6 @@ public Builder setEnforce(boolean value) {
        * 
* * bool enforce = 6; - * * @return This builder for chaining. */ public Builder clearEnforce() { @@ -2604,31 +2286,24 @@ public Builder clearEnforce() { 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_; /** - * - * *
        * The evaluating condition for this rule.
        * 
* * .google.type.Expr condition = 7; - * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * The evaluating condition for this rule.
        * 
* * .google.type.Expr condition = 7; - * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -2639,8 +2314,6 @@ public com.google.type.Expr getCondition() { } } /** - * - * *
        * The evaluating condition for this rule.
        * 
@@ -2661,15 +2334,14 @@ public Builder setCondition(com.google.type.Expr value) { return this; } /** - * - * *
        * The evaluating condition for this rule.
        * 
* * .google.type.Expr condition = 7; */ - public Builder setCondition(com.google.type.Expr.Builder builderForValue) { + public Builder setCondition( + com.google.type.Expr.Builder builderForValue) { if (conditionBuilder_ == null) { condition_ = builderForValue.build(); } else { @@ -2680,8 +2352,6 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) { return this; } /** - * - * *
        * The evaluating condition for this rule.
        * 
@@ -2690,9 +2360,9 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) { */ public Builder mergeCondition(com.google.type.Expr value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && condition_ != null - && condition_ != com.google.type.Expr.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + condition_ != null && + condition_ != com.google.type.Expr.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -2705,8 +2375,6 @@ public Builder mergeCondition(com.google.type.Expr value) { return this; } /** - * - * *
        * The evaluating condition for this rule.
        * 
@@ -2724,8 +2392,6 @@ public Builder clearCondition() { return this; } /** - * - * *
        * The evaluating condition for this rule.
        * 
@@ -2738,8 +2404,6 @@ public com.google.type.Expr.Builder getConditionBuilder() { return getConditionFieldBuilder().getBuilder(); } /** - * - * *
        * The evaluating condition for this rule.
        * 
@@ -2750,12 +2414,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_; } } /** - * - * *
        * The evaluating condition for this rule.
        * 
@@ -2763,19 +2426,18 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { * .google.type.Expr condition = 7; */ 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_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2788,12 +2450,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule(); } @@ -2802,28 +2464,27 @@ public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2838,15 +2499,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ATTACHED_RESOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object attachedResource_ = ""; /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2857,7 +2516,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanceForTyp
    * 
* * string attached_resource = 1; - * * @return The attachedResource. */ @java.lang.Override @@ -2866,15 +2524,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]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2885,15 +2542,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 { @@ -2902,12 +2560,9 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { } public static final int APPLIED_RESOURCE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object appliedResource_ = ""; /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2919,7 +2574,6 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() {
    * 
* * string applied_resource = 5; - * * @return The appliedResource. */ @java.lang.Override @@ -2928,15 +2582,14 @@ public java.lang.String getAppliedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appliedResource_ = s; return s; } } /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2948,15 +2601,16 @@ public java.lang.String getAppliedResource() {
    * 
* * string applied_resource = 5; - * * @return The bytes for appliedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getAppliedResourceBytes() { + public com.google.protobuf.ByteString + getAppliedResourceBytes() { java.lang.Object ref = appliedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appliedResource_ = b; return b; } else { @@ -2965,12 +2619,9 @@ public com.google.protobuf.ByteString getAppliedResourceBytes() { } public static final int RULES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -2982,8 +2633,6 @@ public java.util.List getRules return rules_; } /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -2991,13 +2640,11 @@ public java.util.List getRules * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -3009,8 +2656,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -3022,8 +2667,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { return rules_.get(index); } /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -3031,15 +2674,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } public static final int INHERIT_FROM_PARENT_FIELD_NUMBER = 3; private boolean inheritFromParent_ = false; /** - * - * *
    * If `inherit_from_parent` is true, Rules set higher up in the
    * hierarchy (up to the closest root) are inherited and present in the
@@ -3048,7 +2690,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild
    * 
* * bool inherit_from_parent = 3; - * * @return The inheritFromParent. */ @java.lang.Override @@ -3059,8 +2700,6 @@ public boolean getInheritFromParent() { public static final int RESET_FIELD_NUMBER = 4; private boolean reset_ = false; /** - * - * *
    * Ignores policies set above this resource and restores the default behavior
    * of the constraint at this resource.
@@ -3070,7 +2709,6 @@ public boolean getInheritFromParent() {
    * 
* * bool reset = 4; - * * @return The reset. */ @java.lang.Override @@ -3079,7 +2717,6 @@ public boolean getReset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3091,7 +2728,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3120,13 +2758,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResource_); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, rules_.get(i)); } if (inheritFromParent_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, inheritFromParent_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, inheritFromParent_); } if (reset_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, reset_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, reset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appliedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appliedResource_); @@ -3139,19 +2780,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.AnalyzerOrgPolicy)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicy other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicy) obj; - - if (!getAttachedResource().equals(other.getAttachedResource())) return false; - if (!getAppliedResource().equals(other.getAppliedResource())) return false; - if (!getRulesList().equals(other.getRulesList())) return false; - if (getInheritFromParent() != other.getInheritFromParent()) return false; - if (getReset() != other.getReset()) return false; + com.google.cloud.asset.v1.AnalyzerOrgPolicy other = (com.google.cloud.asset.v1.AnalyzerOrgPolicy) obj; + + if (!getAttachedResource() + .equals(other.getAttachedResource())) return false; + if (!getAppliedResource() + .equals(other.getAppliedResource())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; + if (getInheritFromParent() + != other.getInheritFromParent()) return false; + if (getReset() + != other.getReset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3172,112 +2817,107 @@ public int hashCode() { hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + INHERIT_FROM_PARENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInheritFromParent()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInheritFromParent()); hash = (37 * hash) + RESET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( com.google.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.AnalyzerOrgPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicy 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.AnalyzerOrgPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzerOrgPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzerOrgPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This organization policy message is a modified version of the one defined in
    * the Organization Policy system. This message contains several fields defined
@@ -3287,32 +2927,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy}
    */
-  public static final class Builder extends com.google.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.AnalyzerOrgPolicy)
       com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.class,
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3332,9 +2973,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_AnalyzerOrgPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -3353,12 +2994,9 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicy buildPartial() {
-      com.google.cloud.asset.v1.AnalyzerOrgPolicy result =
-          new com.google.cloud.asset.v1.AnalyzerOrgPolicy(this);
+      com.google.cloud.asset.v1.AnalyzerOrgPolicy result = new com.google.cloud.asset.v1.AnalyzerOrgPolicy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -3395,39 +3033,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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.AnalyzerOrgPolicy) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3464,10 +3101,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicy other) {
             rulesBuilder_ = null;
             rules_ = other.rules_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            rulesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRulesFieldBuilder()
-                    : null;
+            rulesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRulesFieldBuilder() : null;
           } else {
             rulesBuilder_.addAllMessages(other.rules_);
           }
@@ -3505,51 +3141,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                attachedResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.parser(),
-                        extensionRegistry);
-                if (rulesBuilder_ == null) {
-                  ensureRulesIsMutable();
-                  rules_.add(m);
-                } else {
-                  rulesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                inheritFromParent_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 24
-            case 32:
-              {
-                reset_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 32
-            case 42:
-              {
-                appliedResource_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              attachedResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.parser(),
+                      extensionRegistry);
+              if (rulesBuilder_ == null) {
+                ensureRulesIsMutable();
+                rules_.add(m);
+              } else {
+                rulesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              inheritFromParent_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 24
+            case 32: {
+              reset_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 32
+            case 42: {
+              appliedResource_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3559,13 +3189,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object attachedResource_ = "";
     /**
-     *
-     *
      * 
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3576,13 +3203,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; @@ -3591,8 +3218,6 @@ public java.lang.String getAttachedResource() { } } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3603,14 +3228,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 { @@ -3618,8 +3244,6 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { } } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3630,22 +3254,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attachedResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3656,7 +3276,6 @@ public Builder setAttachedResource(java.lang.String value) {
      * 
* * string attached_resource = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -3666,8 +3285,6 @@ public Builder clearAttachedResource() { return this; } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3678,14 +3295,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attachedResource_ = value; bitField0_ |= 0x00000001; @@ -3695,8 +3310,6 @@ public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object appliedResource_ = ""; /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3708,13 +3321,13 @@ public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string applied_resource = 5; - * * @return The appliedResource. */ public java.lang.String getAppliedResource() { java.lang.Object ref = appliedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appliedResource_ = s; return s; @@ -3723,8 +3336,6 @@ public java.lang.String getAppliedResource() { } } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3736,14 +3347,15 @@ public java.lang.String getAppliedResource() {
      * 
* * string applied_resource = 5; - * * @return The bytes for appliedResource. */ - public com.google.protobuf.ByteString getAppliedResourceBytes() { + public com.google.protobuf.ByteString + getAppliedResourceBytes() { java.lang.Object ref = appliedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appliedResource_ = b; return b; } else { @@ -3751,8 +3363,6 @@ public com.google.protobuf.ByteString getAppliedResourceBytes() { } } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3764,22 +3374,18 @@ public com.google.protobuf.ByteString getAppliedResourceBytes() {
      * 
* * string applied_resource = 5; - * * @param value The appliedResource to set. * @return This builder for chaining. */ - public Builder setAppliedResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppliedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appliedResource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3791,7 +3397,6 @@ public Builder setAppliedResource(java.lang.String value) {
      * 
* * string applied_resource = 5; - * * @return This builder for chaining. */ public Builder clearAppliedResource() { @@ -3801,8 +3406,6 @@ public Builder clearAppliedResource() { return this; } /** - * - * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3814,14 +3417,12 @@ public Builder clearAppliedResource() {
      * 
* * string applied_resource = 5; - * * @param value The bytes for appliedResource to set. * @return This builder for chaining. */ - public Builder setAppliedResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppliedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appliedResource_ = value; bitField0_ |= 0x00000002; @@ -3830,24 +3431,18 @@ public Builder setAppliedResourceBytes(com.google.protobuf.ByteString value) { } private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> - rulesBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> rulesBuilder_; /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -3862,8 +3457,6 @@ public java.util.List getRules } } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -3878,8 +3471,6 @@ public int getRulesCount() { } } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -3894,15 +3485,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { } } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public Builder setRules(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { + public Builder setRules( + int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3916,8 +3506,6 @@ public Builder setRules(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.R return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -3936,8 +3524,6 @@ public Builder setRules( return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -3958,15 +3544,14 @@ public Builder addRules(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public Builder addRules(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { + public Builder addRules( + int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3980,8 +3565,6 @@ public Builder addRules(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.R return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -4000,8 +3583,6 @@ public Builder addRules( return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -4020,8 +3601,6 @@ public Builder addRules( return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -4032,7 +3611,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -4040,8 +3620,6 @@ public Builder addAllRules( return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -4059,8 +3637,6 @@ public Builder clearRules() { return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -4078,44 +3654,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder getRulesBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -4123,8 +3694,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild } } /** - * - * *
      * List of rules for this organization policy.
      * 
@@ -4132,57 +3701,49 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); } /** - * - * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder>( - rules_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - private boolean inheritFromParent_; + private boolean inheritFromParent_ ; /** - * - * *
      * If `inherit_from_parent` is true, Rules set higher up in the
      * hierarchy (up to the closest root) are inherited and present in the
@@ -4191,7 +3752,6 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder(
      * 
* * bool inherit_from_parent = 3; - * * @return The inheritFromParent. */ @java.lang.Override @@ -4199,8 +3759,6 @@ public boolean getInheritFromParent() { return inheritFromParent_; } /** - * - * *
      * If `inherit_from_parent` is true, Rules set higher up in the
      * hierarchy (up to the closest root) are inherited and present in the
@@ -4209,20 +3767,17 @@ public boolean getInheritFromParent() {
      * 
* * bool inherit_from_parent = 3; - * * @param value The inheritFromParent to set. * @return This builder for chaining. */ public Builder setInheritFromParent(boolean value) { - + inheritFromParent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If `inherit_from_parent` is true, Rules set higher up in the
      * hierarchy (up to the closest root) are inherited and present in the
@@ -4231,7 +3786,6 @@ public Builder setInheritFromParent(boolean value) {
      * 
* * bool inherit_from_parent = 3; - * * @return This builder for chaining. */ public Builder clearInheritFromParent() { @@ -4241,10 +3795,8 @@ public Builder clearInheritFromParent() { return this; } - private boolean reset_; + private boolean reset_ ; /** - * - * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -4254,7 +3806,6 @@ public Builder clearInheritFromParent() {
      * 
* * bool reset = 4; - * * @return The reset. */ @java.lang.Override @@ -4262,8 +3813,6 @@ public boolean getReset() { return reset_; } /** - * - * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -4273,20 +3822,17 @@ public boolean getReset() {
      * 
* * bool reset = 4; - * * @param value The reset to set. * @return This builder for chaining. */ public Builder setReset(boolean value) { - + reset_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -4296,7 +3842,6 @@ public Builder setReset(boolean value) {
      * 
* * bool reset = 4; - * * @return This builder for chaining. */ public Builder clearReset() { @@ -4305,9 +3850,9 @@ public Builder clearReset() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4317,12 +3862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicy) private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicy(); } @@ -4331,27 +3876,27 @@ public static com.google.cloud.asset.v1.AnalyzerOrgPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzerOrgPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzerOrgPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4366,4 +3911,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzerOrgPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java similarity index 63% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java index d3406b6575b2..2dae6ae81337 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java @@ -1,78 +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 organization policy constraint definition.
  * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint} */ -public final class AnalyzerOrgPolicyConstraint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalyzerOrgPolicyConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) AnalyzerOrgPolicyConstraintOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalyzerOrgPolicyConstraint.newBuilder() to construct. private AnalyzerOrgPolicyConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnalyzerOrgPolicyConstraint() {} + private AnalyzerOrgPolicyConstraint() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalyzerOrgPolicyConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); } - public interface ConstraintOrBuilder - extends + public interface ConstraintOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -80,13 +59,10 @@ public interface ConstraintOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -94,201 +70,144 @@ public interface ConstraintOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return The enum numeric value on the wire for constraintDefault. */ int getConstraintDefaultValue(); /** - * - * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return The constraintDefault. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - getConstraintDefault(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault(); /** - * - * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; * @return Whether the listConstraint field is set. */ boolean hasListConstraint(); /** - * - * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; * @return The listConstraint. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - getListConstraint(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint(); /** - * - * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder - getListConstraintOrBuilder(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder(); /** - * - * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; * @return Whether the booleanConstraint field is set. */ boolean hasBooleanConstraint(); /** - * - * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; * @return The booleanConstraint. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - getBooleanConstraint(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint(); /** - * - * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder - getBooleanConstraintOrBuilder(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder(); - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase - getConstraintTypeCase(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase getConstraintTypeCase(); } /** - * - * *
    * The definition of a constraint.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint} */ - public static final class Constraint extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Constraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) ConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Constraint.newBuilder() to construct. private Constraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Constraint() { name_ = ""; displayName_ = ""; @@ -298,45 +217,40 @@ private Constraint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Constraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); } /** - * - * *
      * Specifies the default behavior in the absence of any `Policy` for the
      * `Constraint`. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`.
      * 
* - * Protobuf enum {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault} + * Protobuf enum {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault} */ - public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum { + public enum ConstraintDefault + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * This is only used for distinguishing unset values and should never be
        * used.
@@ -346,8 +260,6 @@ public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum
        */
       CONSTRAINT_DEFAULT_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * Indicate that all values are allowed for list constraints.
        * Indicate that enforcement is off for boolean constraints.
@@ -357,8 +269,6 @@ public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum
        */
       ALLOW(1),
       /**
-       *
-       *
        * 
        * Indicate that all values are denied for list constraints.
        * Indicate that enforcement is on for boolean constraints.
@@ -371,8 +281,6 @@ public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum
       ;
 
       /**
-       *
-       *
        * 
        * This is only used for distinguishing unset values and should never be
        * used.
@@ -382,8 +290,6 @@ public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int CONSTRAINT_DEFAULT_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * Indicate that all values are allowed for list constraints.
        * Indicate that enforcement is off for boolean constraints.
@@ -393,8 +299,6 @@ public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int ALLOW_VALUE = 1;
       /**
-       *
-       *
        * 
        * Indicate that all values are denied for list constraints.
        * Indicate that enforcement is on for boolean constraints.
@@ -404,6 +308,7 @@ public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int DENY_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -428,14 +333,10 @@ public static ConstraintDefault valueOf(int value) {
        */
       public static ConstraintDefault forNumber(int value) {
         switch (value) {
-          case 0:
-            return CONSTRAINT_DEFAULT_UNSPECIFIED;
-          case 1:
-            return ALLOW;
-          case 2:
-            return DENY;
-          default:
-            return null;
+          case 0: return CONSTRAINT_DEFAULT_UNSPECIFIED;
+          case 1: return ALLOW;
+          case 2: return DENY;
+          default: return null;
         }
       }
 
@@ -443,31 +344,29 @@ public static ConstraintDefault forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ConstraintDefault> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ConstraintDefault findValueByNumber(int number) {
+                return ConstraintDefault.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ConstraintDefault findValueByNumber(int number) {
-                  return ConstraintDefault.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.AnalyzerOrgPolicyConstraint.Constraint.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ConstraintDefault[] VALUES = values();
@@ -475,7 +374,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ConstraintDefault 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;
@@ -492,14 +392,11 @@ private ConstraintDefault(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault)
     }
 
-    public interface ListConstraintOrBuilder
-        extends
+    public interface ListConstraintOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Indicates whether values grouped into categories can be used in
        * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -507,14 +404,11 @@ public interface ListConstraintOrBuilder
        * 
* * bool supports_in = 1; - * * @return The supportsIn. */ boolean getSupportsIn(); /** - * - * *
        * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
        * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -523,67 +417,58 @@ public interface ListConstraintOrBuilder
        * 
* * bool supports_under = 2; - * * @return The supportsUnder. */ boolean getSupportsUnder(); } /** - * - * *
      * A `Constraint` that allows or disallows a list of string values, which
      * are configured by an organization's policy administrator with a `Policy`.
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} + * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} */ - public static final class ListConstraint extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) ListConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConstraint.newBuilder() to construct. private ListConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ListConstraint() {} + private ListConstraint() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder.class); } public static final int SUPPORTS_IN_FIELD_NUMBER = 1; private boolean supportsIn_ = false; /** - * - * *
        * Indicates whether values grouped into categories can be used in
        * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -591,7 +476,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * bool supports_in = 1; - * * @return The supportsIn. */ @java.lang.Override @@ -602,8 +486,6 @@ public boolean getSupportsIn() { public static final int SUPPORTS_UNDER_FIELD_NUMBER = 2; private boolean supportsUnder_ = false; /** - * - * *
        * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
        * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -612,7 +494,6 @@ public boolean getSupportsIn() {
        * 
* * bool supports_under = 2; - * * @return The supportsUnder. */ @java.lang.Override @@ -621,7 +502,6 @@ public boolean getSupportsUnder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -633,7 +513,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (supportsIn_ != false) { output.writeBool(1, supportsIn_); } @@ -650,10 +531,12 @@ public int getSerializedSize() { size = 0; if (supportsIn_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, supportsIn_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, supportsIn_); } if (supportsUnder_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, supportsUnder_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, supportsUnder_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -663,18 +546,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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)) { + if (!(obj instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) obj; - if (getSupportsIn() != other.getSupportsIn()) return false; - if (getSupportsUnder() != other.getSupportsUnder()) return false; + if (getSupportsIn() + != other.getSupportsIn()) return false; + if (getSupportsUnder() + != other.getSupportsUnder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -687,112 +569,98 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SUPPORTS_IN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsIn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSupportsIn()); hash = (37 * hash) + SUPPORTS_UNDER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsUnder()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSupportsUnder()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( + com.google.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -802,46 +670,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A `Constraint` that allows or disallows a list of string values, which
        * are configured by an organization's policy administrator with a `Policy`.
        * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} + * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} */ - public static final class Builder - extends com.google.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -852,23 +714,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_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - build() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = - buildPartial(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint build() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -876,21 +734,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint buildPartial() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.supportsIn_ = supportsIn_; @@ -904,56 +755,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - other); + if (other instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other) { - if (other - == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other) { + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance()) return this; if (other.getSupportsIn() != false) { setSupportsIn(other.getSupportsIn()); } @@ -986,25 +827,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - supportsIn_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - supportsUnder_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + supportsIn_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + supportsUnder_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1014,13 +852,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean supportsIn_; + private boolean supportsIn_ ; /** - * - * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -1028,7 +863,6 @@ public Builder mergeFrom(
          * 
* * bool supports_in = 1; - * * @return The supportsIn. */ @java.lang.Override @@ -1036,8 +870,6 @@ public boolean getSupportsIn() { return supportsIn_; } /** - * - * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -1045,20 +877,17 @@ public boolean getSupportsIn() {
          * 
* * bool supports_in = 1; - * * @param value The supportsIn to set. * @return This builder for chaining. */ public Builder setSupportsIn(boolean value) { - + supportsIn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -1066,7 +895,6 @@ public Builder setSupportsIn(boolean value) {
          * 
* * bool supports_in = 1; - * * @return This builder for chaining. */ public Builder clearSupportsIn() { @@ -1076,10 +904,8 @@ public Builder clearSupportsIn() { return this; } - private boolean supportsUnder_; + private boolean supportsUnder_ ; /** - * - * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -1088,7 +914,6 @@ public Builder clearSupportsIn() {
          * 
* * bool supports_under = 2; - * * @return The supportsUnder. */ @java.lang.Override @@ -1096,8 +921,6 @@ public boolean getSupportsUnder() { return supportsUnder_; } /** - * - * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -1106,20 +929,17 @@ public boolean getSupportsUnder() {
          * 
* * bool supports_under = 2; - * * @param value The supportsUnder to set. * @return This builder for chaining. */ public Builder setSupportsUnder(boolean value) { - + supportsUnder_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -1128,7 +948,6 @@ public Builder setSupportsUnder(boolean value) {
          * 
* * bool supports_under = 2; - * * @return This builder for chaining. */ public Builder clearSupportsUnder() { @@ -1137,7 +956,6 @@ public Builder clearSupportsUnder() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1150,46 +968,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .ListConstraint - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,19 +1014,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BooleanConstraintOrBuilder - extends + public interface BooleanConstraintOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
      * A `Constraint` that is either enforced or not.
      * For example a constraint `constraints/compute.disableSerialPortAccess`.
@@ -1221,51 +1032,46 @@ public interface BooleanConstraintOrBuilder
      * opened to that instance.
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} + * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} */ - public static final class BooleanConstraint extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BooleanConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) BooleanConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BooleanConstraint.newBuilder() to construct. private BooleanConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BooleanConstraint() {} + private BooleanConstraint() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BooleanConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1277,7 +1083,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -1295,16 +1102,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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint)) { + if (!(obj instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1322,116 +1125,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( + com.google.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.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1441,8 +1216,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A `Constraint` that is either enforced or not.
        * For example a constraint `constraints/compute.disableSerialPortAccess`.
@@ -1450,40 +1223,35 @@ protected Builder newBuilderForType(
        * opened to that instance.
        * 
* - * Protobuf type {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} + * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} */ - public static final class Builder - extends com.google.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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1491,23 +1259,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_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - build() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint build() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1515,12 +1279,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint(this); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint buildPartial() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint(this); onBuilt(); return result; } @@ -1529,57 +1289,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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - other); + if (other instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - other) { - if (other - == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other) { + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1606,13 +1355,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1622,7 +1370,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1635,48 +1382,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BooleanConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BooleanConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1688,24 +1428,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int constraintTypeCase_ = 0; private java.lang.Object constraintType_; - public enum ConstraintTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LIST_CONSTRAINT(5), BOOLEAN_CONSTRAINT(6), CONSTRAINTTYPE_NOT_SET(0); private final int value; - private ConstraintTypeCase(int value) { this.value = value; } @@ -1721,33 +1458,27 @@ public static ConstraintTypeCase valueOf(int value) { public static ConstraintTypeCase forNumber(int value) { switch (value) { - case 5: - return LIST_CONSTRAINT; - case 6: - return BOOLEAN_CONSTRAINT; - case 0: - return CONSTRAINTTYPE_NOT_SET; - default: - return null; + case 5: return LIST_CONSTRAINT; + case 6: return BOOLEAN_CONSTRAINT; + case 0: return CONSTRAINTTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConstraintTypeCase getConstraintTypeCase() { - return ConstraintTypeCase.forNumber(constraintTypeCase_); + public ConstraintTypeCase + getConstraintTypeCase() { + return ConstraintTypeCase.forNumber( + constraintTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * The unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -1755,7 +1486,6 @@ public ConstraintTypeCase getConstraintTypeCase() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1764,15 +1494,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 unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -1780,15 +1509,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 { @@ -1797,18 +1527,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1817,29 +1543,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1848,19 +1574,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1869,30 +1591,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; } } /** - * - * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1903,59 +1625,36 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CONSTRAINT_DEFAULT_FIELD_NUMBER = 4; private int constraintDefault_ = 0; /** - * - * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return The enum numeric value on the wire for constraintDefault. */ - @java.lang.Override - public int getConstraintDefaultValue() { + @java.lang.Override public int getConstraintDefaultValue() { return constraintDefault_; } /** - * - * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return The constraintDefault. */ - @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - getConstraintDefault() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - .forNumber(constraintDefault_); - return result == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.forNumber(constraintDefault_); + return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.UNRECOGNIZED : result; } public static final int LIST_CONSTRAINT_FIELD_NUMBER = 5; /** - * - * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; * @return Whether the listConstraint field is set. */ @java.lang.Override @@ -1963,62 +1662,42 @@ public boolean hasListConstraint() { return constraintTypeCase_ == 5; } /** - * - * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; * @return The listConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - getListConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint() { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } /** - * - * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder - getListConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder() { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } public static final int BOOLEAN_CONSTRAINT_FIELD_NUMBER = 6; /** - * - * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; * @return Whether the booleanConstraint field is set. */ @java.lang.Override @@ -2026,53 +1705,36 @@ public boolean hasBooleanConstraint() { return constraintTypeCase_ == 6; } /** - * - * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; * @return The booleanConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - getBooleanConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint() { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } /** - * - * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraintOrBuilder - getBooleanConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder() { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2084,7 +1746,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2094,23 +1757,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (constraintDefault_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - .CONSTRAINT_DEFAULT_UNSPECIFIED - .getNumber()) { + if (constraintDefault_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.CONSTRAINT_DEFAULT_UNSPECIFIED.getNumber()) { output.writeEnum(4, constraintDefault_); } if (constraintTypeCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_); + output.writeMessage(5, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_); } if (constraintTypeCase_ == 6) { - output.writeMessage( - 6, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - constraintType_); + output.writeMessage(6, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_); } getUnknownFields().writeTo(output); } @@ -2130,25 +1784,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (constraintDefault_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - .CONSTRAINT_DEFAULT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, constraintDefault_); + if (constraintDefault_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.CONSTRAINT_DEFAULT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, constraintDefault_); } if (constraintTypeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_); } if (constraintTypeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - constraintType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2158,25 +1804,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.AnalyzerOrgPolicyConstraint.Constraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (constraintDefault_ != other.constraintDefault_) return false; if (!getConstraintTypeCase().equals(other.getConstraintTypeCase())) return false; switch (constraintTypeCase_) { case 5: - if (!getListConstraint().equals(other.getListConstraint())) return false; + if (!getListConstraint() + .equals(other.getListConstraint())) return false; break; case 6: - if (!getBooleanConstraint().equals(other.getBooleanConstraint())) return false; + if (!getBooleanConstraint() + .equals(other.getBooleanConstraint())) return false; break; case 0: default: @@ -2218,95 +1868,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( com.google.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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicyConstraint.Constraint - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.Constraint parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicyConstraint.Constraint prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2316,42 +1958,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The definition of a constraint.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint} */ - public static final class Builder - extends com.google.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.AnalyzerOrgPolicyConstraint.Constraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2372,16 +2011,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_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } @java.lang.Override @@ -2395,18 +2032,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint build() @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -2422,14 +2055,15 @@ private void buildPartial0( } } - private void buildPartialOneofs( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { + private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { result.constraintTypeCase_ = constraintTypeCase_; result.constraintType_ = this.constraintType_; - if (constraintTypeCase_ == 5 && listConstraintBuilder_ != null) { + if (constraintTypeCase_ == 5 && + listConstraintBuilder_ != null) { result.constraintType_ = listConstraintBuilder_.build(); } - if (constraintTypeCase_ == 6 && booleanConstraintBuilder_ != null) { + if (constraintTypeCase_ == 6 && + booleanConstraintBuilder_ != null) { result.constraintType_ = booleanConstraintBuilder_.build(); } } @@ -2438,53 +2072,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other) { - if (other - == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other) { + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2504,20 +2131,17 @@ public Builder mergeFrom( setConstraintDefaultValue(other.getConstraintDefaultValue()); } switch (other.getConstraintTypeCase()) { - case LIST_CONSTRAINT: - { - mergeListConstraint(other.getListConstraint()); - break; - } - case BOOLEAN_CONSTRAINT: - { - mergeBooleanConstraint(other.getBooleanConstraint()); - break; - } - case CONSTRAINTTYPE_NOT_SET: - { - break; - } + case LIST_CONSTRAINT: { + mergeListConstraint(other.getListConstraint()); + break; + } + case BOOLEAN_CONSTRAINT: { + mergeBooleanConstraint(other.getBooleanConstraint()); + break; + } + case CONSTRAINTTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2545,51 +2169,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - constraintDefault_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - input.readMessage( - getListConstraintFieldBuilder().getBuilder(), extensionRegistry); - constraintTypeCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage( - getBooleanConstraintFieldBuilder().getBuilder(), extensionRegistry); - constraintTypeCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + constraintDefault_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getListConstraintFieldBuilder().getBuilder(), + extensionRegistry); + constraintTypeCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getBooleanConstraintFieldBuilder().getBuilder(), + extensionRegistry); + constraintTypeCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2599,12 +2218,12 @@ public Builder mergeFrom( } // finally return this; } - private int constraintTypeCase_ = 0; private java.lang.Object constraintType_; - - public ConstraintTypeCase getConstraintTypeCase() { - return ConstraintTypeCase.forNumber(constraintTypeCase_); + public ConstraintTypeCase + getConstraintTypeCase() { + return ConstraintTypeCase.forNumber( + constraintTypeCase_); } public Builder clearConstraintType() { @@ -2618,8 +2237,6 @@ public Builder clearConstraintType() { private java.lang.Object name_ = ""; /** - * - * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2627,13 +2244,13 @@ public Builder clearConstraintType() {
        * 
* * 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; @@ -2642,8 +2259,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2651,14 +2266,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 { @@ -2666,8 +2282,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2675,22 +2289,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2698,7 +2308,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2708,8 +2317,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2717,14 +2324,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2734,20 +2339,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2756,21 +2359,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2778,35 +2380,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2816,21 +2411,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2840,21 +2431,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2863,22 +2452,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2886,37 +2474,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2926,22 +2507,18 @@ public Builder clearDescription() { return this; } /** - * - * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2951,33 +2528,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int constraintDefault_ = 0; /** - * - * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return The enum numeric value on the wire for constraintDefault. */ - @java.lang.Override - public int getConstraintDefaultValue() { + @java.lang.Override public int getConstraintDefaultValue() { return constraintDefault_; } /** - * - * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @param value The enum numeric value on the wire for constraintDefault to set. * @return This builder for chaining. */ @@ -2988,46 +2554,28 @@ public Builder setConstraintDefaultValue(int value) { return this; } /** - * - * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return The constraintDefault. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - getConstraintDefault() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - .forNumber(constraintDefault_); - return result == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - .UNRECOGNIZED - : result; + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.forNumber(constraintDefault_); + return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.UNRECOGNIZED : result; } /** - * - * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @param value The constraintDefault to set. * @return This builder for chaining. */ - public Builder setConstraintDefault( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault - value) { + public Builder setConstraintDefault(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault value) { if (value == null) { throw new NullPointerException(); } @@ -3037,16 +2585,11 @@ public Builder setConstraintDefault( return this; } /** - * - * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; * @return This builder for chaining. */ public Builder clearConstraintDefault() { @@ -3057,23 +2600,13 @@ public Builder clearConstraintDefault() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .ListConstraintOrBuilder> - listConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder> listConstraintBuilder_; /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; * @return Whether the listConstraint field is set. */ @java.lang.Override @@ -3081,49 +2614,35 @@ public boolean hasListConstraint() { return constraintTypeCase_ == 5; } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; * @return The listConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - getListConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint() { if (listConstraintBuilder_ == null) { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } else { if (constraintTypeCase_ == 5) { return listConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ - public Builder setListConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { + public Builder setListConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { if (listConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3137,19 +2656,14 @@ public Builder setListConstraint( return this; } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ public Builder setListConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder builderForValue) { if (listConstraintBuilder_ == null) { constraintType_ = builderForValue.build(); onChanged(); @@ -3160,31 +2674,18 @@ public Builder setListConstraint( return this; } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ - public Builder mergeListConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { + public Builder mergeListConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { if (listConstraintBuilder_ == null) { - if (constraintTypeCase_ == 5 - && constraintType_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance()) { - constraintType_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .newBuilder( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .ListConstraint) - constraintType_) - .mergeFrom(value) - .buildPartial(); + if (constraintTypeCase_ == 5 && + constraintType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance()) { + constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_) + .mergeFrom(value).buildPartial(); } else { constraintType_ = value; } @@ -3200,15 +2701,11 @@ public Builder mergeListConstraint( return this; } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ public Builder clearListConstraint() { if (listConstraintBuilder_ == null) { @@ -3227,79 +2724,50 @@ public Builder clearListConstraint() { return this; } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder - getListConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder getListConstraintBuilder() { return getListConstraintFieldBuilder().getBuilder(); } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .ListConstraintOrBuilder - getListConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder() { if ((constraintTypeCase_ == 5) && (listConstraintBuilder_ != null)) { return listConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } } /** - * - * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .ListConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder> getListConstraintFieldBuilder() { if (listConstraintBuilder_ == null) { if (!(constraintTypeCase_ == 5)) { - constraintType_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .getDefaultInstance(); + constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); } - listConstraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint - .Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .ListConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - constraintType_, + listConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_, getParentForChildren(), isClean()); constraintType_ = null; @@ -3310,23 +2778,13 @@ public Builder clearListConstraint() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraintOrBuilder> - booleanConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder> booleanConstraintBuilder_; /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; * @return Whether the booleanConstraint field is set. */ @java.lang.Override @@ -3334,51 +2792,35 @@ public boolean hasBooleanConstraint() { return constraintTypeCase_ == 6; } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; * @return The booleanConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - getBooleanConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint() { if (booleanConstraintBuilder_ == null) { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } else { if (constraintTypeCase_ == 6) { return booleanConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ - public Builder setBooleanConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - value) { + public Builder setBooleanConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value) { if (booleanConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3392,19 +2834,14 @@ public Builder setBooleanConstraint( return this; } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ public Builder setBooleanConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder builderForValue) { if (booleanConstraintBuilder_ == null) { constraintType_ = builderForValue.build(); onChanged(); @@ -3415,32 +2852,18 @@ public Builder setBooleanConstraint( return this; } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ - public Builder mergeBooleanConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - value) { + public Builder mergeBooleanConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value) { if (booleanConstraintBuilder_ == null) { - if (constraintTypeCase_ == 6 - && constraintType_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint.getDefaultInstance()) { - constraintType_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .newBuilder( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint) - constraintType_) - .mergeFrom(value) - .buildPartial(); + if (constraintTypeCase_ == 6 && + constraintType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance()) { + constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_) + .mergeFrom(value).buildPartial(); } else { constraintType_ = value; } @@ -3456,15 +2879,11 @@ public Builder mergeBooleanConstraint( return this; } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ public Builder clearBooleanConstraint() { if (booleanConstraintBuilder_ == null) { @@ -3483,83 +2902,50 @@ public Builder clearBooleanConstraint() { return this; } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .Builder - getBooleanConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder getBooleanConstraintBuilder() { return getBooleanConstraintFieldBuilder().getBuilder(); } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraintOrBuilder - getBooleanConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder() { if ((constraintTypeCase_ == 6) && (booleanConstraintBuilder_ != null)) { return booleanConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint) - constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } } /** - * - * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder> getBooleanConstraintFieldBuilder() { if (booleanConstraintBuilder_ == null) { if (!(constraintTypeCase_ == 6)) { - constraintType_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .getDefaultInstance(); + constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); } - booleanConstraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint - .Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .BooleanConstraint) - constraintType_, + booleanConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_, getParentForChildren(), isClean()); constraintType_ = null; @@ -3568,7 +2954,6 @@ public Builder clearBooleanConstraint() { onChanged(); return booleanConstraintBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3581,44 +2966,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Constraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Constraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3630,20 +3012,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CustomConstraintOrBuilder - extends + public interface CustomConstraintOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -3653,13 +3032,10 @@ public interface CustomConstraintOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -3669,14 +3045,12 @@ public interface CustomConstraintOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3684,13 +3058,11 @@ public interface CustomConstraintOrBuilder
      * 
* * repeated string resource_types = 2; - * * @return A list containing the resourceTypes. */ - java.util.List getResourceTypesList(); + java.util.List + getResourceTypesList(); /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3698,13 +3070,10 @@ public interface CustomConstraintOrBuilder
      * 
* * repeated string resource_types = 2; - * * @return The count of resourceTypes. */ int getResourceTypesCount(); /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3712,14 +3081,11 @@ public interface CustomConstraintOrBuilder
      * 
* * repeated string resource_types = 2; - * * @param index The index of the element to return. * @return The resourceTypes at the given index. */ java.lang.String getResourceTypes(int index); /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3727,91 +3093,62 @@ public interface CustomConstraintOrBuilder
      * 
* * repeated string resource_types = 2; - * * @param index The index of the value to return. * @return The bytes of the resourceTypes at the given index. */ - com.google.protobuf.ByteString getResourceTypesBytes(int index); + com.google.protobuf.ByteString + getResourceTypesBytes(int index); /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return A list containing the methodTypes. */ - java.util.List< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> - getMethodTypesList(); + java.util.List getMethodTypesList(); /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return The count of methodTypes. */ int getMethodTypesCount(); /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index of the element to return. * @return The methodTypes at the given index. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType - getMethodTypes(int index); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index); /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return A list containing the enum numeric values on the wire for methodTypes. */ - java.util.List getMethodTypesValueList(); + java.util.List + getMethodTypesValueList(); /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of methodTypes at the given index. */ int getMethodTypesValue(int index); /** - * - * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -3819,13 +3156,10 @@ public interface CustomConstraintOrBuilder
      * 
* * string condition = 4; - * * @return The condition. */ java.lang.String getCondition(); /** - * - * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -3833,110 +3167,86 @@ public interface CustomConstraintOrBuilder
      * 
* * string condition = 4; - * * @return The bytes for condition. */ - com.google.protobuf.ByteString getConditionBytes(); + com.google.protobuf.ByteString + getConditionBytes(); /** - * - * *
      * Allow or deny type.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return The enum numeric value on the wire for actionType. */ int getActionTypeValue(); /** - * - * *
      * Allow or deny type.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return The actionType. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - getActionType(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType(); /** - * - * *
      * One line display name for the UI.
      * 
* * string display_name = 6; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * One line display name for the UI.
      * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } /** - * - * *
    * The definition of a custom constraint.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint} */ - public static final class CustomConstraint extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) CustomConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomConstraint.newBuilder() to construct. private CustomConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomConstraint() { name_ = ""; resourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -3949,33 +3259,30 @@ private CustomConstraint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder.class); } /** - * - * *
      * The operation in which this constraint will be applied. For example:
      * If the constraint applies only when create VMs, the method_types will be
@@ -3983,13 +3290,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * method_types will be "CREATE" and "DELETE".
      * 
* - * Protobuf enum {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType} + * Protobuf enum {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType} */ - public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { + public enum MethodType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified. Will results in user error.
        * 
@@ -3998,8 +3303,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ METHOD_TYPE_UNSPECIFIED(0), /** - * - * *
        * Constraint applied when creating the resource.
        * 
@@ -4008,8 +3311,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
        * Constraint applied when updating the resource.
        * 
@@ -4018,8 +3319,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(2), /** - * - * *
        * Constraint applied when deleting the resource.
        * 
@@ -4031,8 +3330,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified. Will results in user error.
        * 
@@ -4041,8 +3338,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METHOD_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Constraint applied when creating the resource.
        * 
@@ -4051,8 +3346,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
        * Constraint applied when updating the resource.
        * 
@@ -4061,8 +3354,6 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 2; /** - * - * *
        * Constraint applied when deleting the resource.
        * 
@@ -4071,6 +3362,7 @@ public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4095,54 +3387,50 @@ public static MethodType valueOf(int value) { */ public static MethodType forNumber(int value) { switch (value) { - case 0: - return METHOD_TYPE_UNSPECIFIED; - case 1: - return CREATE; - case 2: - return UPDATE; - case 3: - return DELETE; - default: - return null; + case 0: return METHOD_TYPE_UNSPECIFIED; + case 1: return CREATE; + case 2: return UPDATE; + case 3: return DELETE; + 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< + MethodType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MethodType findValueByNumber(int number) { + return MethodType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MethodType findValueByNumber(int number) { - return MethodType.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.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDescriptor().getEnumTypes().get(0); } private static final MethodType[] VALUES = values(); - public static MethodType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MethodType 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; @@ -4160,19 +3448,15 @@ private MethodType(int value) { } /** - * - * *
      * Allow or deny type.
      * 
* - * Protobuf enum {@code - * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType} + * Protobuf enum {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType} */ - public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { + public enum ActionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified. Will results in user error.
        * 
@@ -4181,8 +3465,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ ACTION_TYPE_UNSPECIFIED(0), /** - * - * *
        * Allowed action type.
        * 
@@ -4191,8 +3473,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ ALLOW(1), /** - * - * *
        * Deny action type.
        * 
@@ -4204,8 +3484,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified. Will results in user error.
        * 
@@ -4214,8 +3492,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Allowed action type.
        * 
@@ -4224,8 +3500,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOW_VALUE = 1; /** - * - * *
        * Deny action type.
        * 
@@ -4234,6 +3508,7 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DENY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4258,52 +3533,49 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: - return ACTION_TYPE_UNSPECIFIED; - case 1: - return ALLOW; - case 2: - return DENY; - default: - return null; + case 0: return ACTION_TYPE_UNSPECIFIED; + case 1: return ALLOW; + case 2: return DENY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ActionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.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.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDescriptor().getEnumTypes().get(1); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType 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; @@ -4321,12 +3593,9 @@ private ActionType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -4336,7 +3605,6 @@ private ActionType(int value) {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -4345,15 +3613,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; } } /** - * - * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -4363,15 +3630,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 { @@ -4380,12 +3648,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int RESOURCE_TYPES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList resourceTypes_; /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -4393,15 +3658,13 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * repeated string resource_types = 2; - * * @return A list containing the resourceTypes. */ - public com.google.protobuf.ProtocolStringList getResourceTypesList() { + public com.google.protobuf.ProtocolStringList + getResourceTypesList() { return resourceTypes_; } /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -4409,15 +3672,12 @@ public com.google.protobuf.ProtocolStringList getResourceTypesList() {
      * 
* * repeated string resource_types = 2; - * * @return The count of resourceTypes. */ public int getResourceTypesCount() { return resourceTypes_.size(); } /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -4425,7 +3685,6 @@ public int getResourceTypesCount() {
      * 
* * repeated string resource_types = 2; - * * @param index The index of the element to return. * @return The resourceTypes at the given index. */ @@ -4433,8 +3692,6 @@ public java.lang.String getResourceTypes(int index) { return resourceTypes_.get(index); } /** - * - * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -4442,73 +3699,45 @@ public java.lang.String getResourceTypes(int index) {
      * 
* * repeated string resource_types = 2; - * * @param index The index of the value to return. * @return The bytes of the resourceTypes at the given index. */ - public com.google.protobuf.ByteString getResourceTypesBytes(int index) { + public com.google.protobuf.ByteString + getResourceTypesBytes(int index) { return resourceTypes_.getByteString(index); } public static final int METHOD_TYPES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List methodTypes_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> - methodTypes_converter_ = + java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> methodTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .MethodType>() { - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .MethodType - convert(java.lang.Integer from) { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType - result = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .MethodType.forNumber(from); - return result == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .MethodType.UNRECOGNIZED - : result; + java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType convert(java.lang.Integer from) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType.forNumber(from); + return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType.UNRECOGNIZED : result; } }; /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return A list containing the methodTypes. */ @java.lang.Override - public java.util.List< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> - getMethodTypesList() { + public java.util.List getMethodTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>( - methodTypes_, methodTypes_converter_); + java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>(methodTypes_, methodTypes_converter_); } /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return The count of methodTypes. */ @java.lang.Override @@ -4516,52 +3745,37 @@ public int getMethodTypesCount() { return methodTypes_.size(); } /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index of the element to return. * @return The methodTypes at the given index. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType - getMethodTypes(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index) { return methodTypes_converter_.convert(methodTypes_.get(index)); } /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return A list containing the enum numeric values on the wire for methodTypes. */ @java.lang.Override - public java.util.List getMethodTypesValueList() { + public java.util.List + getMethodTypesValueList() { return methodTypes_; } /** - * - * *
      * All the operations being applied for this constraint.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of methodTypes at the given index. */ @@ -4569,16 +3783,12 @@ public java.util.List getMethodTypesValueList() { public int getMethodTypesValue(int index) { return methodTypes_.get(index); } - private int methodTypesMemoizedSerializedSize; public static final int CONDITION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object condition_ = ""; /** - * - * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4586,7 +3796,6 @@ public int getMethodTypesValue(int index) {
      * 
* * string condition = 4; - * * @return The condition. */ @java.lang.Override @@ -4595,15 +3804,14 @@ public java.lang.String getCondition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); condition_ = s; return s; } } /** - * - * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4611,15 +3819,16 @@ public java.lang.String getCondition() {
      * 
* * string condition = 4; - * * @return The bytes for condition. */ @java.lang.Override - public com.google.protobuf.ByteString getConditionBytes() { + public com.google.protobuf.ByteString + getConditionBytes() { java.lang.Object ref = condition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); condition_ = b; return b; } else { @@ -4630,60 +3839,38 @@ public com.google.protobuf.ByteString getConditionBytes() { public static final int ACTION_TYPE_FIELD_NUMBER = 5; private int actionType_ = 0; /** - * - * *
      * Allow or deny type.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return The enum numeric value on the wire for actionType. */ - @java.lang.Override - public int getActionTypeValue() { + @java.lang.Override public int getActionTypeValue() { return actionType_; } /** - * - * *
      * Allow or deny type.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return The actionType. */ - @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - getActionType() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - .forNumber(actionType_); - return result == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.forNumber(actionType_); + return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
      * One line display name for the UI.
      * 
* * string display_name = 6; - * * @return The displayName. */ @java.lang.Override @@ -4692,29 +3879,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; } } /** - * - * *
      * One line display name for the UI.
      * 
* * string display_name = 6; - * * @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 { @@ -4723,18 +3910,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; - * * @return The description. */ @java.lang.Override @@ -4743,29 +3926,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; - * * @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 { @@ -4774,7 +3957,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4786,7 +3968,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -4804,10 +3987,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, condition_); } - if (actionType_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - .ACTION_TYPE_UNSPECIFIED - .getNumber()) { + if (actionType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, actionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { @@ -4839,24 +4019,21 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < methodTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(methodTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(methodTypes_.get(i)); } size += dataSize; - if (!getMethodTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - methodTypesMemoizedSerializedSize = dataSize; + if (!getMethodTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }methodTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, condition_); } - if (actionType_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - .ACTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, actionType_); + if (actionType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, actionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -4872,22 +4049,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.AnalyzerOrgPolicyConstraint.CustomConstraint)) { + if (!(obj instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) obj; - if (!getName().equals(other.getName())) return false; - if (!getResourceTypesList().equals(other.getResourceTypesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getResourceTypesList() + .equals(other.getResourceTypesList())) return false; if (!methodTypes_.equals(other.methodTypes_)) return false; - if (!getCondition().equals(other.getCondition())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; if (actionType_ != other.actionType_) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4923,95 +4103,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( com.google.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicyConstraint.CustomConstraint - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicyConstraint.CustomConstraint prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5021,43 +4193,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The definition of a custom constraint.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint} */ - public static final class Builder - extends com.google.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.AnalyzerOrgPolicyConstraint.CustomConstraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder - .class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5075,22 +4243,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_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint build() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = - buildPartial(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5099,18 +4264,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint bu @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(this); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { if (((bitField0_ & 0x00000002) != 0)) { resourceTypes_ = resourceTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -5123,8 +4284,7 @@ private void buildPartialRepeatedFields( result.methodTypes_ = methodTypes_; } - private void buildPartial0( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { + private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -5147,54 +4307,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) other); + if (other instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) { + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other) { - if (other - == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other) { + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -5264,69 +4416,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureResourceTypesIsMutable(); - resourceTypes_.add(s); - break; - } // case 18 - case 24: - { + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureResourceTypesIsMutable(); + resourceTypes_.add(s); + break; + } // case 18 + case 24: { + int tmpRaw = input.readEnum(); + ensureMethodTypesIsMutable(); + methodTypes_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureMethodTypesIsMutable(); methodTypes_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureMethodTypesIsMutable(); - methodTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - case 34: - { - condition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - actionType_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 26 + case 34: { + condition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + actionType_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5336,13 +4479,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -5352,13 +4492,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; @@ -5367,8 +4507,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -5378,14 +4516,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 { @@ -5393,8 +4532,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -5404,22 +4541,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -5429,7 +4562,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -5439,8 +4571,6 @@ public Builder clearName() { return this; } /** - * - * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -5450,14 +4580,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -5465,18 +4593,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList resourceTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList resourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureResourceTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { resourceTypes_ = new com.google.protobuf.LazyStringArrayList(resourceTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5484,15 +4608,13 @@ private void ensureResourceTypesIsMutable() {
        * 
* * repeated string resource_types = 2; - * * @return A list containing the resourceTypes. */ - public com.google.protobuf.ProtocolStringList getResourceTypesList() { + public com.google.protobuf.ProtocolStringList + getResourceTypesList() { return resourceTypes_.getUnmodifiableView(); } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5500,15 +4622,12 @@ public com.google.protobuf.ProtocolStringList getResourceTypesList() {
        * 
* * repeated string resource_types = 2; - * * @return The count of resourceTypes. */ public int getResourceTypesCount() { return resourceTypes_.size(); } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5516,7 +4635,6 @@ public int getResourceTypesCount() {
        * 
* * repeated string resource_types = 2; - * * @param index The index of the element to return. * @return The resourceTypes at the given index. */ @@ -5524,8 +4642,6 @@ public java.lang.String getResourceTypes(int index) { return resourceTypes_.get(index); } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5533,16 +4649,14 @@ public java.lang.String getResourceTypes(int index) {
        * 
* * repeated string resource_types = 2; - * * @param index The index of the value to return. * @return The bytes of the resourceTypes at the given index. */ - public com.google.protobuf.ByteString getResourceTypesBytes(int index) { + public com.google.protobuf.ByteString + getResourceTypesBytes(int index) { return resourceTypes_.getByteString(index); } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5550,23 +4664,19 @@ public com.google.protobuf.ByteString getResourceTypesBytes(int index) {
        * 
* * repeated string resource_types = 2; - * * @param index The index to set the value at. * @param value The resourceTypes to set. * @return This builder for chaining. */ - public Builder setResourceTypes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceTypes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureResourceTypesIsMutable(); resourceTypes_.set(index, value); onChanged(); return this; } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5574,22 +4684,18 @@ public Builder setResourceTypes(int index, java.lang.String value) {
        * 
* * repeated string resource_types = 2; - * * @param value The resourceTypes to add. * @return This builder for chaining. */ - public Builder addResourceTypes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addResourceTypes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureResourceTypesIsMutable(); resourceTypes_.add(value); onChanged(); return this; } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5597,19 +4703,18 @@ public Builder addResourceTypes(java.lang.String value) {
        * 
* * repeated string resource_types = 2; - * * @param values The resourceTypes to add. * @return This builder for chaining. */ - public Builder addAllResourceTypes(java.lang.Iterable values) { + public Builder addAllResourceTypes( + java.lang.Iterable values) { ensureResourceTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceTypes_); onChanged(); return this; } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5617,7 +4722,6 @@ public Builder addAllResourceTypes(java.lang.Iterable values)
        * 
* * repeated string resource_types = 2; - * * @return This builder for chaining. */ public Builder clearResourceTypes() { @@ -5627,8 +4731,6 @@ public Builder clearResourceTypes() { return this; } /** - * - * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -5636,14 +4738,12 @@ public Builder clearResourceTypes() {
        * 
* * repeated string resource_types = 2; - * * @param value The bytes of the resourceTypes to add. * @return This builder for chaining. */ - public Builder addResourceTypesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addResourceTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureResourceTypesIsMutable(); resourceTypes_.add(value); @@ -5651,8 +4751,8 @@ public Builder addResourceTypesBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List methodTypes_ = java.util.Collections.emptyList(); - + private java.util.List methodTypes_ = + java.util.Collections.emptyList(); private void ensureMethodTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { methodTypes_ = new java.util.ArrayList(methodTypes_); @@ -5660,78 +4760,52 @@ private void ensureMethodTypesIsMutable() { } } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return A list containing the methodTypes. */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> - getMethodTypesList() { + public java.util.List getMethodTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>( - methodTypes_, methodTypes_converter_); + java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>(methodTypes_, methodTypes_converter_); } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return The count of methodTypes. */ public int getMethodTypesCount() { return methodTypes_.size(); } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index of the element to return. * @return The methodTypes at the given index. */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType - getMethodTypes(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index) { return methodTypes_converter_.convert(methodTypes_.get(index)); } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index to set the value at. * @param value The methodTypes to set. * @return This builder for chaining. */ public Builder setMethodTypes( - int index, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { + int index, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { if (value == null) { throw new NullPointerException(); } @@ -5741,21 +4815,15 @@ public Builder setMethodTypes( return this; } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param value The methodTypes to add. * @return This builder for chaining. */ - public Builder addMethodTypes( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { + public Builder addMethodTypes(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { if (value == null) { throw new NullPointerException(); } @@ -5765,44 +4833,29 @@ public Builder addMethodTypes( return this; } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param values The methodTypes to add. * @return This builder for chaining. */ public Builder addAllMethodTypes( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .MethodType> - values) { + java.lang.Iterable values) { ensureMethodTypesIsMutable(); - for (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType - value : values) { + for (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value : values) { methodTypes_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return This builder for chaining. */ public Builder clearMethodTypes() { @@ -5812,32 +4865,23 @@ public Builder clearMethodTypes() { return this; } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @return A list containing the enum numeric values on the wire for methodTypes. */ - public java.util.List getMethodTypesValueList() { + public java.util.List + getMethodTypesValueList() { return java.util.Collections.unmodifiableList(methodTypes_); } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of methodTypes at the given index. */ @@ -5845,37 +4889,28 @@ public int getMethodTypesValue(int index) { return methodTypes_.get(index); } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param index The index to set the value at. * @param value The enum numeric value on the wire for methodTypes to set. * @return This builder for chaining. */ - public Builder setMethodTypesValue(int index, int value) { + public Builder setMethodTypesValue( + int index, int value) { ensureMethodTypesIsMutable(); methodTypes_.set(index, value); onChanged(); return this; } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param value The enum numeric value on the wire for methodTypes to add. * @return This builder for chaining. */ @@ -5886,20 +4921,16 @@ public Builder addMethodTypesValue(int value) { return this; } /** - * - * *
        * All the operations being applied for this constraint.
        * 
* - * - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; - * - * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; * @param values The enum numeric values on the wire for methodTypes to add. * @return This builder for chaining. */ - public Builder addAllMethodTypesValue(java.lang.Iterable values) { + public Builder addAllMethodTypesValue( + java.lang.Iterable values) { ensureMethodTypesIsMutable(); for (int value : values) { methodTypes_.add(value); @@ -5910,8 +4941,6 @@ public Builder addAllMethodTypesValue(java.lang.Iterable valu private java.lang.Object condition_ = ""; /** - * - * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5919,13 +4948,13 @@ public Builder addAllMethodTypesValue(java.lang.Iterable valu
        * 
* * string condition = 4; - * * @return The condition. */ public java.lang.String getCondition() { java.lang.Object ref = condition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); condition_ = s; return s; @@ -5934,8 +4963,6 @@ public java.lang.String getCondition() { } } /** - * - * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5943,14 +4970,15 @@ public java.lang.String getCondition() {
        * 
* * string condition = 4; - * * @return The bytes for condition. */ - public com.google.protobuf.ByteString getConditionBytes() { + public com.google.protobuf.ByteString + getConditionBytes() { java.lang.Object ref = condition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); condition_ = b; return b; } else { @@ -5958,8 +4986,6 @@ public com.google.protobuf.ByteString getConditionBytes() { } } /** - * - * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5967,22 +4993,18 @@ public com.google.protobuf.ByteString getConditionBytes() {
        * 
* * string condition = 4; - * * @param value The condition to set. * @return This builder for chaining. */ - public Builder setCondition(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCondition( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } condition_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5990,7 +5012,6 @@ public Builder setCondition(java.lang.String value) {
        * 
* * string condition = 4; - * * @return This builder for chaining. */ public Builder clearCondition() { @@ -6000,8 +5021,6 @@ public Builder clearCondition() { return this; } /** - * - * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -6009,14 +5028,12 @@ public Builder clearCondition() {
        * 
* * string condition = 4; - * * @param value The bytes for condition to set. * @return This builder for chaining. */ - public Builder setConditionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConditionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); condition_ = value; bitField0_ |= 0x00000008; @@ -6026,33 +5043,22 @@ public Builder setConditionBytes(com.google.protobuf.ByteString value) { private int actionType_ = 0; /** - * - * *
        * Allow or deny type.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return The enum numeric value on the wire for actionType. */ - @java.lang.Override - public int getActionTypeValue() { + @java.lang.Override public int getActionTypeValue() { return actionType_; } /** - * - * *
        * Allow or deny type.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @param value The enum numeric value on the wire for actionType to set. * @return This builder for chaining. */ @@ -6063,45 +5069,28 @@ public Builder setActionTypeValue(int value) { return this; } /** - * - * *
        * Allow or deny type.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return The actionType. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - getActionType() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - .forNumber(actionType_); - return result == null - ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType - .UNRECOGNIZED - : result; + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.forNumber(actionType_); + return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.UNRECOGNIZED : result; } /** - * - * *
        * Allow or deny type.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @param value The actionType to set. * @return This builder for chaining. */ - public Builder setActionType( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType value) { + public Builder setActionType(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType value) { if (value == null) { throw new NullPointerException(); } @@ -6111,16 +5100,11 @@ public Builder setActionType( return this; } /** - * - * *
        * Allow or deny type.
        * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; * @return This builder for chaining. */ public Builder clearActionType() { @@ -6132,20 +5116,18 @@ public Builder clearActionType() { private java.lang.Object displayName_ = ""; /** - * - * *
        * One line display name for the UI.
        * 
* * string display_name = 6; - * * @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; @@ -6154,21 +5136,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * One line display name for the UI.
        * 
* * string display_name = 6; - * * @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 { @@ -6176,35 +5157,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * One line display name for the UI.
        * 
* * string display_name = 6; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * One line display name for the UI.
        * 
* * string display_name = 6; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6214,21 +5188,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
        * One line display name for the UI.
        * 
* * string display_name = 6; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -6238,20 +5208,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; - * * @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; @@ -6260,21 +5228,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; - * * @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 { @@ -6282,35 +5249,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -6320,28 +5280,23 @@ public Builder clearDescription() { return this; } /** - * - * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6354,45 +5309,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6404,24 +5355,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int constraintDefinitionCase_ = 0; private java.lang.Object constraintDefinition_; - public enum ConstraintDefinitionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GOOGLE_DEFINED_CONSTRAINT(1), CUSTOM_CONSTRAINT(2), CONSTRAINTDEFINITION_NOT_SET(0); private final int value; - private ConstraintDefinitionCase(int value) { this.value = value; } @@ -6437,38 +5385,30 @@ public static ConstraintDefinitionCase valueOf(int value) { public static ConstraintDefinitionCase forNumber(int value) { switch (value) { - case 1: - return GOOGLE_DEFINED_CONSTRAINT; - case 2: - return CUSTOM_CONSTRAINT; - case 0: - return CONSTRAINTDEFINITION_NOT_SET; - default: - return null; + case 1: return GOOGLE_DEFINED_CONSTRAINT; + case 2: return CUSTOM_CONSTRAINT; + case 0: return CONSTRAINTDEFINITION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConstraintDefinitionCase getConstraintDefinitionCase() { - return ConstraintDefinitionCase.forNumber(constraintDefinitionCase_); + public ConstraintDefinitionCase + getConstraintDefinitionCase() { + return ConstraintDefinitionCase.forNumber( + constraintDefinitionCase_); } public static final int GOOGLE_DEFINED_CONSTRAINT_FIELD_NUMBER = 1; /** - * - * *
    * The definition of the canned constraint defined by Google.
    * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; * @return Whether the googleDefinedConstraint field is set. */ @java.lang.Override @@ -6476,60 +5416,42 @@ public boolean hasGoogleDefinedConstraint() { return constraintDefinitionCase_ == 1; } /** - * - * *
    * The definition of the canned constraint defined by Google.
    * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; * @return The googleDefinedConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - getGoogleDefinedConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint() { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; } return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } /** - * - * *
    * The definition of the canned constraint defined by Google.
    * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder - getGoogleDefinedConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder() { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; } return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } public static final int CUSTOM_CONSTRAINT_FIELD_NUMBER = 2; /** - * - * *
    * The definition of the custom constraint.
    * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; * @return Whether the customConstraint field is set. */ @java.lang.Override @@ -6537,52 +5459,36 @@ public boolean hasCustomConstraint() { return constraintDefinitionCase_ == 2; } /** - * - * *
    * The definition of the custom constraint.
    * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; * @return The customConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - getCustomConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint() { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); } /** - * - * *
    * The definition of the custom constraint.
    * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder - getCustomConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder() { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6594,17 +5500,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 (constraintDefinitionCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_); + output.writeMessage(1, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_); } if (constraintDefinitionCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_); + output.writeMessage(2, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_); } getUnknownFields().writeTo(output); } @@ -6616,18 +5518,12 @@ public int getSerializedSize() { size = 0; if (constraintDefinitionCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_); } if (constraintDefinitionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6637,21 +5533,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.AnalyzerOrgPolicyConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint other = - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) obj; if (!getConstraintDefinitionCase().equals(other.getConstraintDefinitionCase())) return false; switch (constraintDefinitionCase_) { case 1: - if (!getGoogleDefinedConstraint().equals(other.getGoogleDefinedConstraint())) return false; + if (!getGoogleDefinedConstraint() + .equals(other.getGoogleDefinedConstraint())) return false; break; case 2: - if (!getCustomConstraint().equals(other.getCustomConstraint())) return false; + if (!getCustomConstraint() + .equals(other.getCustomConstraint())) return false; break; case 0: default: @@ -6685,136 +5582,129 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicyConstraint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicyConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( com.google.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.AnalyzerOrgPolicyConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicyConstraint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicyConstraint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzerOrgPolicyConstraint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.AnalyzerOrgPolicyConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicyConstraint prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 organization policy constraint definition.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint} */ - public static final class Builder extends com.google.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.AnalyzerOrgPolicyConstraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6831,9 +5721,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_AnalyzerOrgPolicyConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; } @java.lang.Override @@ -6852,11 +5742,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint result = - new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -6869,10 +5756,12 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint result) { result.constraintDefinitionCase_ = constraintDefinitionCase_; result.constraintDefinition_ = this.constraintDefinition_; - if (constraintDefinitionCase_ == 1 && googleDefinedConstraintBuilder_ != null) { + if (constraintDefinitionCase_ == 1 && + googleDefinedConstraintBuilder_ != null) { result.constraintDefinition_ = googleDefinedConstraintBuilder_.build(); } - if (constraintDefinitionCase_ == 2 && customConstraintBuilder_ != null) { + if (constraintDefinitionCase_ == 2 && + customConstraintBuilder_ != null) { result.constraintDefinition_ = customConstraintBuilder_.build(); } } @@ -6881,39 +5770,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConst public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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.AnalyzerOrgPolicyConstraint) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint)other); } else { super.mergeFrom(other); return this; @@ -6921,23 +5809,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) return this; switch (other.getConstraintDefinitionCase()) { - case GOOGLE_DEFINED_CONSTRAINT: - { - mergeGoogleDefinedConstraint(other.getGoogleDefinedConstraint()); - break; - } - case CUSTOM_CONSTRAINT: - { - mergeCustomConstraint(other.getCustomConstraint()); - break; - } - case CONSTRAINTDEFINITION_NOT_SET: - { - break; - } + case GOOGLE_DEFINED_CONSTRAINT: { + mergeGoogleDefinedConstraint(other.getGoogleDefinedConstraint()); + break; + } + case CUSTOM_CONSTRAINT: { + mergeCustomConstraint(other.getCustomConstraint()); + break; + } + case CONSTRAINTDEFINITION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6965,27 +5849,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getGoogleDefinedConstraintFieldBuilder().getBuilder(), extensionRegistry); - constraintDefinitionCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getCustomConstraintFieldBuilder().getBuilder(), extensionRegistry); - constraintDefinitionCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGoogleDefinedConstraintFieldBuilder().getBuilder(), + extensionRegistry); + constraintDefinitionCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getCustomConstraintFieldBuilder().getBuilder(), + extensionRegistry); + constraintDefinitionCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6995,12 +5878,12 @@ public Builder mergeFrom( } // finally return this; } - private int constraintDefinitionCase_ = 0; private java.lang.Object constraintDefinition_; - - public ConstraintDefinitionCase getConstraintDefinitionCase() { - return ConstraintDefinitionCase.forNumber(constraintDefinitionCase_); + public ConstraintDefinitionCase + getConstraintDefinitionCase() { + return ConstraintDefinitionCase.forNumber( + constraintDefinitionCase_); } public Builder clearConstraintDefinition() { @@ -7013,21 +5896,13 @@ public Builder clearConstraintDefinition() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> - googleDefinedConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> googleDefinedConstraintBuilder_; /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; * @return Whether the googleDefinedConstraint field is set. */ @java.lang.Override @@ -7035,49 +5910,35 @@ public boolean hasGoogleDefinedConstraint() { return constraintDefinitionCase_ == 1; } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; * @return The googleDefinedConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - getGoogleDefinedConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint() { if (googleDefinedConstraintBuilder_ == null) { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } else { if (constraintDefinitionCase_ == 1) { return googleDefinedConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ - public Builder setGoogleDefinedConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { + public Builder setGoogleDefinedConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { if (googleDefinedConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7091,15 +5952,11 @@ public Builder setGoogleDefinedConstraint( return this; } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ public Builder setGoogleDefinedConstraint( com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder builderForValue) { @@ -7113,29 +5970,18 @@ public Builder setGoogleDefinedConstraint( return this; } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ - public Builder mergeGoogleDefinedConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { + public Builder mergeGoogleDefinedConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { if (googleDefinedConstraintBuilder_ == null) { - if (constraintDefinitionCase_ == 1 - && constraintDefinition_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .getDefaultInstance()) { - constraintDefinition_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_) - .mergeFrom(value) - .buildPartial(); + if (constraintDefinitionCase_ == 1 && + constraintDefinition_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance()) { + constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_) + .mergeFrom(value).buildPartial(); } else { constraintDefinition_ = value; } @@ -7151,15 +5997,11 @@ public Builder mergeGoogleDefinedConstraint( return this; } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ public Builder clearGoogleDefinedConstraint() { if (googleDefinedConstraintBuilder_ == null) { @@ -7178,73 +6020,50 @@ public Builder clearGoogleDefinedConstraint() { return this; } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder - getGoogleDefinedConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder getGoogleDefinedConstraintBuilder() { return getGoogleDefinedConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder - getGoogleDefinedConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder() { if ((constraintDefinitionCase_ == 1) && (googleDefinedConstraintBuilder_ != null)) { return googleDefinedConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } } /** - * - * *
      * The definition of the canned constraint defined by Google.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> getGoogleDefinedConstraintFieldBuilder() { if (googleDefinedConstraintBuilder_ == null) { if (!(constraintDefinitionCase_ == 1)) { - constraintDefinition_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); - } - googleDefinedConstraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - constraintDefinition_, + constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); + } + googleDefinedConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_, getParentForChildren(), isClean()); constraintDefinition_ = null; @@ -7255,21 +6074,13 @@ public Builder clearGoogleDefinedConstraint() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> - customConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> customConstraintBuilder_; /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; * @return Whether the customConstraint field is set. */ @java.lang.Override @@ -7277,49 +6088,35 @@ public boolean hasCustomConstraint() { return constraintDefinitionCase_ == 2; } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; * @return The customConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - getCustomConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint() { if (customConstraintBuilder_ == null) { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); } else { if (constraintDefinitionCase_ == 2) { return customConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); } } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ - public Builder setCustomConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { + public Builder setCustomConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { if (customConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7333,19 +6130,14 @@ public Builder setCustomConstraint( return this; } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ public Builder setCustomConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder builderForValue) { if (customConstraintBuilder_ == null) { constraintDefinition_ = builderForValue.build(); onChanged(); @@ -7356,29 +6148,18 @@ public Builder setCustomConstraint( return this; } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ - public Builder mergeCustomConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { + public Builder mergeCustomConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { if (customConstraintBuilder_ == null) { - if (constraintDefinitionCase_ == 2 - && constraintDefinition_ - != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance()) { - constraintDefinition_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_) - .mergeFrom(value) - .buildPartial(); + if (constraintDefinitionCase_ == 2 && + constraintDefinition_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance()) { + constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_) + .mergeFrom(value).buildPartial(); } else { constraintDefinition_ = value; } @@ -7394,15 +6175,11 @@ public Builder mergeCustomConstraint( return this; } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ public Builder clearCustomConstraint() { if (customConstraintBuilder_ == null) { @@ -7421,74 +6198,50 @@ public Builder clearCustomConstraint() { return this; } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder - getCustomConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder getCustomConstraintBuilder() { return getCustomConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder - getCustomConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder() { if ((constraintDefinitionCase_ == 2) && (customConstraintBuilder_ != null)) { return customConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); } } /** - * - * *
      * The definition of the custom constraint.
      * 
* - * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> getCustomConstraintFieldBuilder() { if (customConstraintBuilder_ == null) { if (!(constraintDefinitionCase_ == 2)) { - constraintDefinition_ = - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint - .getDefaultInstance(); - } - customConstraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - constraintDefinition_, + constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + } + customConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_, getParentForChildren(), isClean()); constraintDefinition_ = null; @@ -7497,9 +6250,9 @@ public Builder clearCustomConstraint() { onChanged(); return customConstraintBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7509,12 +6262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint(); } @@ -7523,27 +6276,27 @@ public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzerOrgPolicyConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzerOrgPolicyConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7558,4 +6311,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java new file mode 100644 index 000000000000..7d94de01635c --- /dev/null +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java @@ -0,0 +1,65 @@ +// 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 AnalyzerOrgPolicyConstraintOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The definition of the canned constraint defined by Google.
+   * 
+ * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * @return Whether the googleDefinedConstraint field is set. + */ + boolean hasGoogleDefinedConstraint(); + /** + *
+   * The definition of the canned constraint defined by Google.
+   * 
+ * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * @return The googleDefinedConstraint. + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint(); + /** + *
+   * The definition of the canned constraint defined by Google.
+   * 
+ * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder(); + + /** + *
+   * The definition of the custom constraint.
+   * 
+ * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * @return Whether the customConstraint field is set. + */ + boolean hasCustomConstraint(); + /** + *
+   * The definition of the custom constraint.
+   * 
+ * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * @return The customConstraint. + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint(); + /** + *
+   * The definition of the custom constraint.
+   * 
+ * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder(); + + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase getConstraintDefinitionCase(); +} diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java similarity index 81% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java index d124ac9fefb9..02e0c60c2b0c 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.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 AnalyzerOrgPolicyOrBuilder - extends +public interface AnalyzerOrgPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -36,13 +18,10 @@ public interface AnalyzerOrgPolicyOrBuilder
    * 
* * string attached_resource = 1; - * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -53,14 +32,12 @@ public interface AnalyzerOrgPolicyOrBuilder
    * 
* * string attached_resource = 1; - * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString getAttachedResourceBytes(); + com.google.protobuf.ByteString + getAttachedResourceBytes(); /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -72,13 +49,10 @@ public interface AnalyzerOrgPolicyOrBuilder
    * 
* * string applied_resource = 5; - * * @return The appliedResource. */ java.lang.String getAppliedResource(); /** - * - * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -90,24 +64,21 @@ public interface AnalyzerOrgPolicyOrBuilder
    * 
* * string applied_resource = 5; - * * @return The bytes for appliedResource. */ - com.google.protobuf.ByteString getAppliedResourceBytes(); + com.google.protobuf.ByteString + getAppliedResourceBytes(); /** - * - * *
    * List of rules for this organization policy.
    * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -116,8 +87,6 @@ public interface AnalyzerOrgPolicyOrBuilder */ com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index); /** - * - * *
    * List of rules for this organization policy.
    * 
@@ -126,30 +95,25 @@ public interface AnalyzerOrgPolicyOrBuilder */ int getRulesCount(); /** - * - * *
    * List of rules for this organization policy.
    * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * List of rules for this organization policy.
    * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(int index); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder( + int index); /** - * - * *
    * If `inherit_from_parent` is true, Rules set higher up in the
    * hierarchy (up to the closest root) are inherited and present in the
@@ -158,14 +122,11 @@ public interface AnalyzerOrgPolicyOrBuilder
    * 
* * bool inherit_from_parent = 3; - * * @return The inheritFromParent. */ boolean getInheritFromParent(); /** - * - * *
    * Ignores policies set above this resource and restores the default behavior
    * of the constraint at this resource.
@@ -175,7 +136,6 @@ public interface AnalyzerOrgPolicyOrBuilder
    * 
* * bool reset = 4; - * * @return The reset. */ boolean getReset(); diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java similarity index 77% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java index 634046f46333..ee41ffbede13 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java +++ b/owl-bot-staging/java-asset/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,42 +36,39 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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;
     }
@@ -105,40 +84,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 @@ -146,15 +118,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 @@ -162,8 +131,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.
@@ -177,12 +144,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -192,7 +156,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -201,15 +164,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`
@@ -219,15 +181,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 { @@ -236,12 +199,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -250,7 +210,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -259,15 +218,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
@@ -276,15 +234,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 { @@ -295,14 +254,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 @@ -310,14 +266,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 @@ -325,8 +278,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.
    * 
@@ -341,8 +292,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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -356,7 +305,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 @@ -364,8 +312,6 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -379,7 +325,6 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -387,8 +332,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -409,12 +352,9 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List orgPolicy_;
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -429,8 +369,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).
@@ -441,13 +379,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).
@@ -462,8 +398,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).
@@ -478,8 +412,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).
@@ -490,21 +422,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 @@ -512,27 +442,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).
@@ -541,25 +466,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 @@ -567,27 +488,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).
@@ -596,25 +512,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 @@ -622,27 +534,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).
@@ -651,10 +558,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();
   }
@@ -662,8 +568,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)
@@ -671,7 +575,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 @@ -679,8 +582,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)
@@ -688,18 +589,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)
@@ -710,16 +606,12 @@ public com.google.cloud.osconfig.v1.Inventory getOsInventory() {
    */
   @java.lang.Override
   public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder() {
-    return osInventory_ == null
-        ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()
-        : osInventory_;
+    return osInventory_ == null ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_;
   }
 
   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
@@ -729,19 +621,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
@@ -751,21 +639,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
@@ -777,24 +659,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() {
-    return relatedAssets_ == null
-        ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()
-        : relatedAssets_;
+  @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
+    return relatedAssets_ == null ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_;
   }
 
   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 @@ -802,25 +678,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.
    * 
@@ -829,18 +698,13 @@ public com.google.cloud.asset.v1.RelatedAsset getRelatedAsset() { */ @java.lang.Override public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder() { - return relatedAsset_ == null - ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() - : relatedAsset_; + return relatedAsset_ == null ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; } public static final int ANCESTORS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") 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),
@@ -852,15 +716,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),
@@ -872,15 +734,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),
@@ -892,7 +751,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -900,8 +758,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),
@@ -913,16 +769,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; @@ -934,7 +789,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -951,16 +807,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)); @@ -993,29 +846,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; @@ -1026,16 +878,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1045,7 +901,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); @@ -1054,42 +910,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: @@ -1162,103 +1031,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
@@ -1273,31 +1136,33 @@ 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);
     }
 
     // Construct using com.google.cloud.asset.v1.Asset.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1358,9 +1223,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
@@ -1381,9 +1246,7 @@ public com.google.cloud.asset.v1.Asset build() {
     public com.google.cloud.asset.v1.Asset buildPartial() {
       com.google.cloud.asset.v1.Asset result = new com.google.cloud.asset.v1.Asset(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1409,7 +1272,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.Asset result)
     private void buildPartial0(com.google.cloud.asset.v1.Asset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.name_ = name_;
@@ -1418,35 +1283,45 @@ private void buildPartial0(com.google.cloud.asset.v1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null
+            ? resource_
+            : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null
+            ? iamPolicy_
+            : iamPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.osInventory_ =
-            osInventoryBuilder_ == null ? osInventory_ : osInventoryBuilder_.build();
+        result.osInventory_ = osInventoryBuilder_ == null
+            ? osInventory_
+            : osInventoryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.relatedAssets_ =
-            relatedAssetsBuilder_ == null ? relatedAssets_ : relatedAssetsBuilder_.build();
+        result.relatedAssets_ = relatedAssetsBuilder_ == null
+            ? relatedAssets_
+            : relatedAssetsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.relatedAsset_ =
-            relatedAssetBuilder_ == null ? relatedAsset_ : relatedAssetBuilder_.build();
+        result.relatedAsset_ = relatedAssetBuilder_ == null
+            ? relatedAsset_
+            : relatedAssetBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.asset.v1.Asset result) {
       result.accessContextPolicyCase_ = accessContextPolicyCase_;
       result.accessContextPolicy_ = this.accessContextPolicy_;
-      if (accessContextPolicyCase_ == 7 && accessPolicyBuilder_ != null) {
+      if (accessContextPolicyCase_ == 7 &&
+          accessPolicyBuilder_ != null) {
         result.accessContextPolicy_ = accessPolicyBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 8 && accessLevelBuilder_ != null) {
+      if (accessContextPolicyCase_ == 8 &&
+          accessLevelBuilder_ != null) {
         result.accessContextPolicy_ = accessLevelBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 9 && servicePerimeterBuilder_ != null) {
+      if (accessContextPolicyCase_ == 9 &&
+          servicePerimeterBuilder_ != null) {
         result.accessContextPolicy_ = servicePerimeterBuilder_.build();
       }
     }
@@ -1455,39 +1330,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1533,10 +1407,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            orgPolicyBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyFieldBuilder()
-                    : null;
+            orgPolicyBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyFieldBuilder() : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1562,25 +1435,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.getUnknownFields());
       onChanged();
@@ -1608,100 +1477,104 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-            case 50:
-              {
-                com.google.cloud.orgpolicy.v1.Policy m =
-                    input.readMessage(
-                        com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry);
-                if (orgPolicyBuilder_ == null) {
-                  ensureOrgPolicyIsMutable();
-                  orgPolicy_.add(m);
-                } else {
-                  orgPolicyBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getAccessPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getAccessLevelFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getServicePerimeterFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 9;
-                break;
-              } // case 74
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAncestorsIsMutable();
-                ancestors_.add(s);
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getOsInventoryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(getRelatedAssetsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 106
-            case 122:
-              {
-                input.readMessage(getRelatedAssetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 122
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getResourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getIamPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 34
+            case 50: {
+              com.google.cloud.orgpolicy.v1.Policy m =
+                  input.readMessage(
+                      com.google.cloud.orgpolicy.v1.Policy.parser(),
+                      extensionRegistry);
+              if (orgPolicyBuilder_ == null) {
+                ensureOrgPolicyIsMutable();
+                orgPolicy_.add(m);
+              } else {
+                orgPolicyBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getAccessPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getAccessLevelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getServicePerimeterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 9;
+              break;
+            } // case 74
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAncestorsIsMutable();
+              ancestors_.add(s);
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getOsInventoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getRelatedAssetsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 106
+            case 122: {
+              input.readMessage(
+                  getRelatedAssetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 122
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1711,12 +1584,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -1730,49 +1603,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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
@@ -1794,8 +1654,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.
@@ -1803,7 +1661,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();
       } else {
@@ -1814,8 +1673,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.
@@ -1825,9 +1682,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1840,8 +1697,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.
@@ -1860,8 +1715,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1875,8 +1728,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1888,14 +1739,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.
@@ -1904,17 +1752,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_;
@@ -1922,8 +1767,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`
@@ -1933,13 +1776,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; @@ -1948,8 +1791,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1959,14 +1800,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 { @@ -1974,8 +1816,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`
@@ -1985,22 +1825,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2010,7 +1846,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2020,8 +1855,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2031,14 +1864,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -2048,8 +1879,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
@@ -2058,13 +1887,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; @@ -2073,8 +1902,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2083,14 +1910,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 { @@ -2098,8 +1926,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2108,22 +1934,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2132,7 +1954,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -2142,8 +1963,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2152,14 +1971,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000004; @@ -2169,47 +1986,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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.
      * 
@@ -2230,15 +2034,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(); } else { @@ -2249,8 +2052,6 @@ public Builder setResource(com.google.cloud.asset.v1.Resource.Builder builderFor return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2259,9 +2060,9 @@ public Builder setResource(com.google.cloud.asset.v1.Resource.Builder builderFor */ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && resource_ != null - && resource_ != com.google.cloud.asset.v1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + resource_ != null && + resource_ != com.google.cloud.asset.v1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -2274,8 +2075,6 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2293,8 +2092,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2307,8 +2104,6 @@ public com.google.cloud.asset.v1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * A representation of the resource.
      * 
@@ -2319,14 +2114,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.
      * 
@@ -2334,17 +2126,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_; @@ -2352,13 +2141,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2372,15 +2156,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2394,7 +2175,6 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2405,8 +2185,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2435,8 +2213,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2451,7 +2227,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();
       } else {
@@ -2462,8 +2239,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2480,9 +2255,9 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && iamPolicy_ != null
-            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          iamPolicy_ != null &&
+          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -2495,8 +2270,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2522,8 +2295,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2544,8 +2315,6 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2564,12 +2333,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2585,41 +2353,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_ & 0x00000020) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     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).
@@ -2637,8 +2396,6 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2656,8 +2413,6 @@ public int getOrgPolicyCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2675,8 +2430,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).
@@ -2686,7 +2439,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();
@@ -2700,8 +2454,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).
@@ -2723,8 +2475,6 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2748,8 +2498,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).
@@ -2759,7 +2507,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();
@@ -2773,8 +2522,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).
@@ -2784,7 +2531,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());
@@ -2795,8 +2543,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).
@@ -2818,8 +2564,6 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2833,7 +2577,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);
@@ -2841,8 +2586,6 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2863,8 +2606,6 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2885,8 +2626,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).
@@ -2896,12 +2635,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).
@@ -2911,16 +2649,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).
@@ -2930,8 +2666,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 {
@@ -2939,8 +2675,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).
@@ -2951,12 +2685,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).
@@ -2966,13 +2698,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).
@@ -2982,42 +2713,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_ & 0x00000020) != 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_ & 0x00000020) != 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 @@ -3025,15 +2748,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 @@ -3051,8 +2771,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).
@@ -3074,8 +2792,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).
@@ -3095,8 +2811,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).
@@ -3104,18 +2818,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;
         }
@@ -3131,8 +2839,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).
@@ -3157,8 +2863,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).
@@ -3166,13 +2870,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).
@@ -3181,8 +2882,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 {
@@ -3193,8 +2893,6 @@ public Builder clearAccessPolicy() {
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3203,20 +2901,14 @@ 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());
@@ -3228,20 +2920,14 @@ public Builder clearAccessPolicy() {
     }
 
     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 @@ -3249,15 +2935,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 @@ -3275,8 +2958,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).
@@ -3298,8 +2979,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).
@@ -3319,8 +2998,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).
@@ -3330,15 +3007,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;
         }
@@ -3354,8 +3026,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).
@@ -3380,8 +3050,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).
@@ -3393,8 +3061,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).
@@ -3403,8 +3069,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 {
@@ -3415,8 +3080,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).
@@ -3425,20 +3088,14 @@ 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());
@@ -3450,20 +3107,14 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
     }
 
     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 @@ -3471,23 +3122,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 { @@ -3498,8 +3145,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).
@@ -3507,8 +3152,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();
@@ -3522,8 +3166,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3543,8 +3185,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3552,19 +3192,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;
         }
@@ -3580,8 +3213,6 @@ public Builder mergeServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3606,8 +3237,6 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3615,13 +3244,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).
@@ -3630,21 +3256,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).
@@ -3653,20 +3275,14 @@ 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());
@@ -3679,13 +3295,8 @@ public Builder clearServicePerimeter() {
 
     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)
@@ -3693,15 +3304,12 @@ public Builder clearServicePerimeter() {
      * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return Whether the osInventory field is set. */ public boolean hasOsInventory() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3709,21 +3317,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)
@@ -3746,8 +3349,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)
@@ -3756,7 +3357,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();
       } else {
@@ -3767,8 +3369,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)
@@ -3779,9 +3379,9 @@ public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory.Builder bui
      */
     public Builder mergeOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       if (osInventoryBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0)
-            && osInventory_ != null
-            && osInventory_ != com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0) &&
+          osInventory_ != null &&
+          osInventory_ != com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()) {
           getOsInventoryBuilder().mergeFrom(value);
         } else {
           osInventory_ = value;
@@ -3794,8 +3394,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)
@@ -3815,8 +3413,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)
@@ -3831,8 +3427,6 @@ public com.google.cloud.osconfig.v1.Inventory.Builder getOsInventoryBuilder() {
       return getOsInventoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3845,14 +3439,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)
@@ -3862,17 +3453,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_;
@@ -3880,13 +3468,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
@@ -3896,18 +3479,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 ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3917,24 +3496,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
@@ -3945,8 +3518,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();
@@ -3960,8 +3532,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
@@ -3972,8 +3542,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();
@@ -3985,8 +3554,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
@@ -3997,12 +3564,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 (((bitField0_ & 0x00000400) != 0)
-            && relatedAssets_ != null
-            && relatedAssets_ != com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000400) != 0) &&
+          relatedAssets_ != null &&
+          relatedAssets_ != com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()) {
           getRelatedAssetsBuilder().mergeFrom(value);
         } else {
           relatedAssets_ = value;
@@ -4015,8 +3581,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
@@ -4027,8 +3591,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() {
       bitField0_ = (bitField0_ & ~0x00000400);
       relatedAssets_ = null;
       if (relatedAssetsBuilder_ != null) {
@@ -4039,8 +3602,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
@@ -4051,15 +3612,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() {
       bitField0_ |= 0x00000400;
       onChanged();
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4070,19 +3628,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
@@ -4094,17 +3648,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_;
@@ -4112,47 +3663,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 ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * 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.
      * 
@@ -4173,15 +3711,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(); } else { @@ -4192,8 +3729,6 @@ public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset.Builder bu return this; } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4202,9 +3737,9 @@ public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset.Builder bu */ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { if (relatedAssetBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && relatedAsset_ != null - && relatedAsset_ != com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + relatedAsset_ != null && + relatedAsset_ != com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()) { getRelatedAssetBuilder().mergeFrom(value); } else { relatedAsset_ = value; @@ -4217,8 +3752,6 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4236,8 +3769,6 @@ public Builder clearRelatedAsset() { return this; } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4250,8 +3781,6 @@ public com.google.cloud.asset.v1.RelatedAsset.Builder getRelatedAssetBuilder() { return getRelatedAssetFieldBuilder().getBuilder(); } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4262,14 +3791,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.
      * 
@@ -4277,34 +3803,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_ & 0x00001000) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00001000; - } + } } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4316,15 +3835,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),
@@ -4336,15 +3853,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),
@@ -4356,7 +3870,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -4364,8 +3877,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),
@@ -4377,16 +3888,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),
@@ -4398,23 +3907,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestors( + int index, java.lang.String value) { + if (value == null) { 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),
@@ -4426,22 +3931,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestors( + java.lang.String value) { + if (value == null) { 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),
@@ -4453,19 +3954,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),
@@ -4477,7 +3977,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 10; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -4487,8 +3986,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),
@@ -4500,23 +3997,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -4526,12 +4021,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(); } @@ -4540,27 +4035,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4575,4 +4070,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java similarity index 89% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java index e4461f52fc95..2f6dec7e3f3a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java new file mode 100644 index 000000000000..827b5e487605 --- /dev/null +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java @@ -0,0 +1,505 @@ +// 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\"\310\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\023\n\007kms_key\030\n \001(\tB\002\030\001\022\020\n\010kms_ke" + + "ys\030\034 \003(\t\022/\n\013create_time\030\013 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022/\n\013update_time\030\014 \001(\0132\032" + + ".google.protobuf.Timestamp\022\r\n\005state\030\r \001(" + + "\t\0226\n\025additional_attributes\030\t \001(\0132\027.googl" + + "e.protobuf.Struct\022!\n\031parent_full_resourc" + + "e_name\030\023 \001(\t\022E\n\023versioned_resources\030\020 \003(" + + "\0132(.google.cloud.asset.v1.VersionedResou" + + "rce\022C\n\022attached_resources\030\024 \003(\0132\'.google" + + ".cloud.asset.v1.AttachedResource\022U\n\rrela" + + "tionships\030\025 \003(\0132>.google.cloud.asset.v1." + + "ResourceSearchResult.RelationshipsEntry\022" + + "\020\n\010tag_keys\030\027 \003(\t\022\022\n\ntag_values\030\031 \003(\t\022\025\n" + + "\rtag_value_ids\030\032 \003(\t\022\031\n\021parent_asset_typ" + + "e\030g \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\032]\n\022RelationshipsEntry\022\013\n\003" + + "key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud." + + "asset.v1.RelatedResources:\0028\001\"O\n\021Version" + + "edResource\022\017\n\007version\030\001 \001(\t\022)\n\010resource\030" + + "\002 \001(\0132\027.google.protobuf.Struct\"m\n\020Attach" + + "edResource\022\022\n\nasset_type\030\001 \001(\t\022E\n\023versio" + + "ned_resources\030\003 \003(\0132(.google.cloud.asset" + + ".v1.VersionedResource\"U\n\020RelatedResource" + + "s\022A\n\021related_resources\030\001 \003(\0132&.google.cl" + + "oud.asset.v1.RelatedResource\"A\n\017RelatedR" + + "esource\022\022\n\nasset_type\030\001 \001(\t\022\032\n\022full_reso" + + "urce_name\030\002 \001(\t\"\217\004\n\025IamPolicySearchResul" + + "t\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\007folders\030\006 \003(\t\022\024\n\014org" + + "anization\030\007 \001(\t\022%\n\006policy\030\003 \001(\0132\025.google" + + ".iam.v1.Policy\022M\n\013explanation\030\004 \001(\01328.go" + + "ogle.cloud.asset.v1.IamPolicySearchResul" + + "t.Explanation\032\241\002\n\013Explanation\022m\n\023matched" + + "_permissions\030\001 \003(\0132P.google.cloud.asset." + + "v1.IamPolicySearchResult.Explanation.Mat" + + "chedPermissionsEntry\032\"\n\013Permissions\022\023\n\013p" + + "ermissions\030\001 \003(\t\032\177\n\027MatchedPermissionsEn" + + "try\022\013\n\003key\030\001 \001(\t\022S\n\005value\030\002 \001(\0132D.google" + + ".cloud.asset.v1.IamPolicySearchResult.Ex" + + "planation.Permissions:\0028\001\"G\n\026IamPolicyAn" + + "alysisState\022\036\n\004code\030\001 \001(\0162\020.google.rpc.C" + + "ode\022\r\n\005cause\030\002 \001(\t\"\306\001\n\023ConditionEvaluati" + + "on\022T\n\020evaluation_value\030\001 \001(\0162:.google.cl" + + "oud.asset.v1.ConditionEvaluation.Evaluat" + + "ionValue\"Y\n\017EvaluationValue\022 \n\034EVALUATIO" + + "N_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\027IamPolicyAnalysi" + + "sResult\022#\n\033attached_resource_full_name\030\001" + + " \001(\t\022+\n\013iam_binding\030\002 \001(\0132\026.google.iam.v" + + "1.Binding\022^\n\024access_control_lists\030\003 \003(\0132" + + "@.google.cloud.asset.v1.IamPolicyAnalysi" + + "sResult.AccessControlList\022R\n\ridentity_li" + + "st\030\004 \001(\0132;.google.cloud.asset.v1.IamPoli" + + "cyAnalysisResult.IdentityList\022\026\n\016fully_e" + + "xplored\030\005 \001(\010\032m\n\010Resource\022\032\n\022full_resour" + + "ce_name\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-." + + "google.cloud.asset.v1.IamPolicyAnalysisS" + + "tate\032\205\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermi" + + "ssion\030\002 \001(\tH\000\022E\n\016analysis_state\030\003 \001(\0132-." + + "google.cloud.asset.v1.IamPolicyAnalysisS" + + "tateB\016\n\014oneof_access\032_\n\010Identity\022\014\n\004name" + + "\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-.google." + + "cloud.asset.v1.IamPolicyAnalysisState\0320\n" + + "\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_nod" + + "e\030\002 \001(\t\032\277\002\n\021AccessControlList\022J\n\tresourc" + + "es\030\001 \003(\01327.google.cloud.asset.v1.IamPoli" + + "cyAnalysisResult.Resource\022G\n\010accesses\030\002 " + + "\003(\01325.google.cloud.asset.v1.IamPolicyAna" + + "lysisResult.Access\022K\n\016resource_edges\030\003 \003" + + "(\01323.google.cloud.asset.v1.IamPolicyAnal" + + "ysisResult.Edge\022H\n\024condition_evaluation\030" + + "\004 \001(\0132*.google.cloud.asset.v1.ConditionE" + + "valuation\032\245\001\n\014IdentityList\022K\n\nidentities" + + "\030\001 \003(\01327.google.cloud.asset.v1.IamPolicy" + + "AnalysisResult.Identity\022H\n\013group_edges\030\002" + + " \003(\01323.google.cloud.asset.v1.IamPolicyAn" + + "alysisResult.EdgeB\215\001\n\031com.google.cloud.a" + + "sset.v1B\nAssetProtoP\001Z/cloud.google.com/" + + "go/asset/apiv1/assetpb;assetpb\370\001\001\252\002\025Goog" + + "le.Cloud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V" + + "1b\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", "KmsKeys", "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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java new file mode 100644 index 000000000000..f22e2e60b9c2 --- /dev/null +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java @@ -0,0 +1,1474 @@ +// 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_QueryAssetsOutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_TableSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TableFieldSchema_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; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_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\034google/protobuf/struc" + + "t.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\026google/type/e" + + "xpr.proto\"[\n#AnalyzeIamPolicyLongrunning" + + "Metadata\0224\n\013create_time\030\001 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\"\251\002\n\023ExportAssetsR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudass" + + "et.googleapis.com/Asset\022-\n\tread_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\".goog" + + "le.cloud.asset.v1.ContentType\022?\n\routput_" + + "config\030\005 \001(\0132#.google.cloud.asset.v1.Out" + + "putConfigB\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.Timestamp\022:\n\rou" + + "tput_config\030\002 \001(\0132#.google.cloud.asset.v" + + "1.OutputConfig\022:\n\routput_result\030\003 \001(\0132#." + + "google.cloud.asset.v1.OutputResult\"\215\002\n\021L" + + "istAssetsRequest\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" + + "\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\t\022\032" + + "\n\022relationship_types\030\007 \003(\t\"\212\001\n\022ListAsset" + + "sResponse\022-\n\tread_time\030\001 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022,\n\006assets\030\002 \003(\0132\034.googl" + + "e.cloud.asset.v1.Asset\022\027\n\017next_page_toke" + + "n\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHistoryRequest" + + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.goo" + + "gleapis.com/Asset\022\023\n\013asset_names\030\002 \003(\t\022=" + + "\n\014content_type\030\003 \001(\0162\".google.cloud.asse" + + "t.v1.ContentTypeB\003\340A\001\022@\n\020read_time_windo" + + "w\030\004 \001(\0132!.google.cloud.asset.v1.TimeWind" + + "owB\003\340A\001\022\037\n\022relationship_types\030\005 \003(\tB\003\340A\001" + + "\"U\n\035BatchGetAssetsHistoryResponse\0224\n\006ass" + + "ets\030\001 \003(\0132$.google.cloud.asset.v1.Tempor" + + "alAsset\"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/Feed\"\'\n\020ListF" + + "eedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"?\n\021List" + + "FeedsResponse\022*\n\005feeds\030\001 \003(\0132\033.google.cl" + + "oud.asset.v1.Feed\"y\n\021UpdateFeedRequest\022." + + "\n\004feed\030\001 \001(\0132\033.google.cloud.asset.v1.Fee" + + "dB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pro" + + "tobuf.FieldMaskB\003\340A\002\"I\n\021DeleteFeedReques" + + "t\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.goog" + + "leapis.com/Feed\"\253\001\n\014OutputConfig\022@\n\017gcs_" + + "destination\030\001 \001(\0132%.google.cloud.asset.v" + + "1.GcsDestinationH\000\022J\n\024bigquery_destinati" + + "on\030\002 \001(\0132*.google.cloud.asset.v1.BigQuer" + + "yDestinationH\000B\r\n\013destination\"V\n\014OutputR" + + "esult\022<\n\ngcs_result\030\001 \001(\0132&.google.cloud" + + ".asset.v1.GcsOutputResultH\000B\010\n\006result\"\037\n" + + "\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t\"C\n\016GcsDes" + + "tination\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\023BigQueryDestinat" + + "ion\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\t" + + "B\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partition_spec\030\004" + + " \001(\0132$.google.cloud.asset.v1.PartitionSp" + + "ec\022&\n\036separate_tables_per_asset_type\030\005 \001" + + "(\010\"\251\001\n\rPartitionSpec\022H\n\rpartition_key\030\001 " + + "\001(\01621.google.cloud.asset.v1.PartitionSpe" + + "c.PartitionKey\"N\n\014PartitionKey\022\035\n\031PARTIT" + + "ION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014" + + "REQUEST_TIME\020\002\"\"\n\021PubsubDestination\022\r\n\005t" + + "opic\030\001 \001(\t\"i\n\020FeedOutputConfig\022F\n\022pubsub" + + "_destination\030\001 \001(\0132(.google.cloud.asset." + + "v1.PubsubDestinationH\000B\r\n\013destination\"\235\003" + + "\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\0228\n\014content_t" + + "ype\030\004 \001(\0162\".google.cloud.asset.v1.Conten" + + "tType\022H\n\022feed_output_config\030\005 \001(\0132\'.goog" + + "le.cloud.asset.v1.FeedOutputConfigB\003\340A\002\022" + + "$\n\tcondition\030\006 \001(\0132\021.google.type.Expr\022\032\n" + + "\022relationship_types\030\007 \003(\t:\221\001\352A\215\001\n\036clouda" + + "sset.googleapis.com/Feed\022\037projects/{proj" + + "ect}/feeds/{feed}\022\035folders/{folder}/feed" + + "s/{feed}\022)organizations/{organization}/f" + + "eeds/{feed} \001\"\331\001\n\031SearchAllResourcesRequ" + + "est\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_si" + + "ze\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(\013" + + "2\032.google.protobuf.FieldMaskB\003\340A\001\"s\n\032Sea" + + "rchAllResourcesResponse\022<\n\007results\030\001 \003(\013" + + "2+.google.cloud.asset.v1.ResourceSearchR" + + "esult\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n\033Searc" + + "hAllIamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340" + + "A\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\034SearchAllIamPoliciesResponse\022=\n\007resu" + + "lts\030\001 \003(\0132,.google.cloud.asset.v1.IamPol" + + "icySearchResult\022\027\n\017next_page_token\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>.goo" + + "gle.cloud.asset.v1.IamPolicyAnalysisQuer" + + "y.ResourceSelectorB\003\340A\001\022^\n\021identity_sele" + + "ctor\030\003 \001(\0132>.google.cloud.asset.v1.IamPo" + + "licyAnalysisQuery.IdentitySelectorB\003\340A\001\022" + + "Z\n\017access_selector\030\004 \001(\0132<.google.cloud." + + "asset.v1.IamPolicyAnalysisQuery.AccessSe" + + "lectorB\003\340A\001\022K\n\007options\030\005 \001(\01325.google.cl" + + "oud.asset.v1.IamPolicyAnalysisQuery.Opti" + + "onsB\003\340A\001\022^\n\021condition_context\030\006 \001(\0132>.go" + + "ogle.cloud.asset.v1.IamPolicyAnalysisQue" + + "ry.ConditionContextB\003\340A\001\0323\n\020ResourceSele" + + "ctor\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\007Options\022\032\n\r" + + "expand_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\340" + + "A\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%analy" + + "ze_service_account_impersonation\030\006 \001(\010B\003" + + "\340A\001\032T\n\020ConditionContext\0221\n\013access_time\030\001" + + " \001(\0132\032.google.protobuf.TimestampH\000B\r\n\013Ti" + + "meContext\"\303\001\n\027AnalyzeIamPolicyRequest\022J\n" + + "\016analysis_query\030\001 \001(\0132-.google.cloud.ass" + + "et.v1.IamPolicyAnalysisQueryB\003\340A\002\022!\n\024sav" + + "ed_analysis_query\030\003 \001(\tB\003\340A\001\0229\n\021executio" + + "n_timeout\030\002 \001(\0132\031.google.protobuf.Durati" + + "onB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyResponse\022X\n\r" + + "main_analysis\030\001 \001(\0132A.google.cloud.asset" + + ".v1.AnalyzeIamPolicyResponse.IamPolicyAn" + + "alysis\022q\n&service_account_impersonation_" + + "analysis\030\002 \003(\0132A.google.cloud.asset.v1.A" + + "nalyzeIamPolicyResponse.IamPolicyAnalysi" + + "s\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021IamPolicyA" + + "nalysis\022E\n\016analysis_query\030\001 \001(\0132-.google" + + ".cloud.asset.v1.IamPolicyAnalysisQuery\022H" + + "\n\020analysis_results\030\002 \003(\0132..google.cloud." + + "asset.v1.IamPolicyAnalysisResult\022\026\n\016full" + + "y_explored\030\003 \001(\010\022J\n\023non_critical_errors\030" + + "\005 \003(\0132-.google.cloud.asset.v1.IamPolicyA" + + "nalysisState\"\264\004\n\035IamPolicyAnalysisOutput" + + "Config\022^\n\017gcs_destination\030\001 \001(\0132C.google" + + ".cloud.asset.v1.IamPolicyAnalysisOutputC" + + "onfig.GcsDestinationH\000\022h\n\024bigquery_desti" + + "nation\030\002 \001(\0132H.google.cloud.asset.v1.Iam" + + "PolicyAnalysisOutputConfig.BigQueryDesti" + + "nationH\000\032\"\n\016GcsDestination\022\020\n\003uri\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.asse" + + "t.v1.IamPolicyAnalysisOutputConfig.BigQu" + + "eryDestination.PartitionKey\022\036\n\021write_dis" + + "position\030\004 \001(\tB\003\340A\001\"?\n\014PartitionKey\022\035\n\031P" + + "ARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014REQUEST_TI" + + "ME\020\001B\r\n\013destination\"\345\001\n\"AnalyzeIamPolicy" + + "LongrunningRequest\022J\n\016analysis_query\030\001 \001" + + "(\0132-.google.cloud.asset.v1.IamPolicyAnal" + + "ysisQueryB\003\340A\002\022!\n\024saved_analysis_query\030\003" + + " \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001(\01324.googl" + + "e.cloud.asset.v1.IamPolicyAnalysisOutput" + + "ConfigB\003\340A\002\"%\n#AnalyzeIamPolicyLongrunni" + + "ngResponse\"\267\005\n\nSavedQuery\022\014\n\004name\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\007cr" + + "eator\030\004 \001(\tB\003\340A\003\0229\n\020last_update_time\030\005 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\031\n\014l" + + "ast_updater\030\006 \001(\tB\003\340A\003\022=\n\006labels\030\007 \003(\0132-" + + ".google.cloud.asset.v1.SavedQuery.Labels" + + "Entry\022?\n\007content\030\010 \001(\0132..google.cloud.as" + + "set.v1.SavedQuery.QueryContent\032s\n\014QueryC" + + "ontent\022R\n\031iam_policy_analysis_query\030\001 \001(" + + "\0132-.google.cloud.asset.v1.IamPolicyAnaly" + + "sisQueryH\000B\017\n\rquery_content\032-\n\013LabelsEnt" + + "ry\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/SavedQuery\022" + + "-projects/{project}/savedQueries/{saved_" + + "query}\022+folders/{folder}/savedQueries/{s" + + "aved_query}\0227organizations/{organization" + + "}/savedQueries/{saved_query}\"\261\001\n\027CreateS" + + "avedQueryRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&" + + "\022$cloudasset.googleapis.com/SavedQuery\022;" + + "\n\013saved_query\030\002 \001(\0132!.google.cloud.asset" + + ".v1.SavedQueryB\003\340A\002\022\033\n\016saved_query_id\030\003 " + + "\001(\tB\003\340A\002\"R\n\024GetSavedQueryRequest\022:\n\004name" + + "\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.googleapis.co" + + "m/SavedQuery\"\235\001\n\027ListSavedQueriesRequest" + + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$cloudasset.goo" + + "gleapis.com/SavedQuery\022\023\n\006filter\030\004 \001(\tB\003" + + "\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_toke" + + "n\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueriesResponse" + + "\0228\n\rsaved_queries\030\001 \003(\0132!.google.cloud.a" + + "sset.v1.SavedQuery\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\214\001\n\027UpdateSavedQueryRequest\022;\n\013saved" + + "_query\030\001 \001(\0132!.google.cloud.asset.v1.Sav" + + "edQueryB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\002\"U\n\027DeleteSave" + + "dQueryRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$clo" + + "udasset.googleapis.com/SavedQuery\"\326\001\n\022An" + + "alyzeMoveRequest\022\025\n\010resource\030\001 \001(\tB\003\340A\002\022" + + "\037\n\022destination_parent\030\002 \001(\tB\003\340A\002\022D\n\004view" + + "\030\003 \001(\01626.google.cloud.asset.v1.AnalyzeMo" + + "veRequest.AnalysisView\"B\n\014AnalysisView\022\035" + + "\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022" + + "\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveResponse\022:\n\rmov" + + "e_analysis\030\001 \003(\0132#.google.cloud.asset.v1" + + ".MoveAnalysis\"\222\001\n\014MoveAnalysis\022\024\n\014displa" + + "y_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\0132).google." + + "cloud.asset.v1.MoveAnalysisResultH\000\022#\n\005e" + + "rror\030\003 \001(\0132\022.google.rpc.StatusH\000B\010\n\006resu" + + "lt\"~\n\022MoveAnalysisResult\0223\n\010blockers\030\001 \003" + + "(\0132!.google.cloud.asset.v1.MoveImpact\0223\n" + + "\010warnings\030\002 \003(\0132!.google.cloud.asset.v1." + + "MoveImpact\"\034\n\nMoveImpact\022\016\n\006detail\030\001 \001(\t" + + "\"\327\001\n\027QueryAssetsOutputConfig\022`\n\024bigquery" + + "_destination\030\001 \001(\0132B.google.cloud.asset." + + "v1.QueryAssetsOutputConfig.BigQueryDesti" + + "nation\032Z\n\023BigQueryDestination\022\024\n\007dataset" + + "\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\031\n\021write" + + "_disposition\030\003 \001(\t\"\276\003\n\022QueryAssetsReques" + + "t\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.go" + + "ogleapis.com/Asset\022\030\n\tstatement\030\002 \001(\tB\003\340" + + "A\001H\000\022\034\n\rjob_reference\030\003 \001(\tB\003\340A\001H\000\022\026\n\tpa" + + "ge_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003" + + "\340A\001\022/\n\007timeout\030\006 \001(\0132\031.google.protobuf.D" + + "urationB\003\340A\001\022B\n\020read_time_window\030\007 \001(\0132!" + + ".google.cloud.asset.v1.TimeWindowB\003\340A\001H\001" + + "\0224\n\tread_time\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\001H\001\022J\n\routput_config\030\t \001(\0132.." + + "google.cloud.asset.v1.QueryAssetsOutputC" + + "onfigB\003\340A\001B\007\n\005queryB\006\n\004time\"\360\001\n\023QueryAss" + + "etsResponse\022\025\n\rjob_reference\030\001 \001(\t\022\014\n\004do" + + "ne\030\002 \001(\010\022#\n\005error\030\003 \001(\0132\022.google.rpc.Sta" + + "tusH\000\022:\n\014query_result\030\004 \001(\0132\".google.clo" + + "ud.asset.v1.QueryResultH\000\022G\n\routput_conf" + + "ig\030\005 \001(\0132..google.cloud.asset.v1.QueryAs" + + "setsOutputConfigH\000B\n\n\010response\"\225\001\n\013Query" + + "Result\022%\n\004rows\030\001 \003(\0132\027.google.protobuf.S" + + "truct\0222\n\006schema\030\002 \001(\0132\".google.cloud.ass" + + "et.v1.TableSchema\022\027\n\017next_page_token\030\003 \001" + + "(\t\022\022\n\ntotal_rows\030\004 \001(\003\"F\n\013TableSchema\0227\n" + + "\006fields\030\001 \003(\0132\'.google.cloud.asset.v1.Ta" + + "bleFieldSchema\"v\n\020TableFieldSchema\022\r\n\005fi" + + "eld\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\014\n\004mode\030\003 \001(\t\0227\n" + + "\006fields\030\004 \003(\0132\'.google.cloud.asset.v1.Ta" + + "bleFieldSchema\"Y\n#BatchGetEffectiveIamPo" + + "liciesRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022" + + "\030\n\005names\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEf" + + "fectiveIamPoliciesResponse\022f\n\016policy_res" + + "ults\030\002 \003(\0132N.google.cloud.asset.v1.Batch" + + "GetEffectiveIamPoliciesResponse.Effectiv" + + "eIamPolicy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022ful" + + "l_resource_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132" + + "Y.google.cloud.asset.v1.BatchGetEffectiv" + + "eIamPoliciesResponse.EffectiveIamPolicy." + + "PolicyInfo\032N\n\nPolicyInfo\022\031\n\021attached_res" + + "ource\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam" + + ".v1.Policy\"\262\003\n\021AnalyzerOrgPolicy\022\031\n\021atta" + + "ched_resource\030\001 \001(\t\022\030\n\020applied_resource\030" + + "\005 \001(\t\022<\n\005rules\030\002 \003(\0132-.google.cloud.asse" + + "t.v1.AnalyzerOrgPolicy.Rule\022\033\n\023inherit_f" + + "rom_parent\030\003 \001(\010\022\r\n\005reset\030\004 \001(\010\032\375\001\n\004Rule" + + "\022L\n\006values\030\003 \001(\0132:.google.cloud.asset.v1" + + ".AnalyzerOrgPolicy.Rule.StringValuesH\000\022\023" + + "\n\tallow_all\030\004 \001(\010H\000\022\022\n\010deny_all\030\005 \001(\010H\000\022" + + "\021\n\007enforce\030\006 \001(\010H\000\022$\n\tcondition\030\007 \001(\0132\021." + + "google.type.Expr\032=\n\014StringValues\022\026\n\016allo" + + "wed_values\030\001 \003(\t\022\025\n\rdenied_values\030\002 \003(\tB" + + "\006\n\004kind\"\221\n\n\033AnalyzerOrgPolicyConstraint\022" + + "b\n\031google_defined_constraint\030\001 \001(\0132=.goo" + + "gle.cloud.asset.v1.AnalyzerOrgPolicyCons" + + "traint.ConstraintH\000\022`\n\021custom_constraint" + + "\030\002 \001(\0132C.google.cloud.asset.v1.AnalyzerO" + + "rgPolicyConstraint.CustomConstraintH\000\032\277\004" + + "\n\nConstraint\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + + "me\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022k\n\022constra" + + "int_default\030\004 \001(\0162O.google.cloud.asset.v" + + "1.AnalyzerOrgPolicyConstraint.Constraint" + + ".ConstraintDefault\022g\n\017list_constraint\030\005 " + + "\001(\0132L.google.cloud.asset.v1.AnalyzerOrgP" + + "olicyConstraint.Constraint.ListConstrain" + + "tH\000\022m\n\022boolean_constraint\030\006 \001(\0132O.google" + + ".cloud.asset.v1.AnalyzerOrgPolicyConstra" + + "int.Constraint.BooleanConstraintH\000\032=\n\016Li" + + "stConstraint\022\023\n\013supports_in\030\001 \001(\010\022\026\n\016sup" + + "ports_under\030\002 \001(\010\032\023\n\021BooleanConstraint\"L" + + "\n\021ConstraintDefault\022\"\n\036CONSTRAINT_DEFAUL" + + "T_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\021\n\017" + + "constraint_type\032\320\003\n\020CustomConstraint\022\014\n\004" + + "name\030\001 \001(\t\022\026\n\016resource_types\030\002 \003(\t\022d\n\014me" + + "thod_types\030\003 \003(\0162N.google.cloud.asset.v1" + + ".AnalyzerOrgPolicyConstraint.CustomConst" + + "raint.MethodType\022\021\n\tcondition\030\004 \001(\t\022c\n\013a" + + "ction_type\030\005 \001(\0162N.google.cloud.asset.v1" + + ".AnalyzerOrgPolicyConstraint.CustomConst" + + "raint.ActionType\022\024\n\014display_name\030\006 \001(\t\022\023" + + "\n\013description\030\007 \001(\t\"M\n\nMethodType\022\033\n\027MET" + + "HOD_TYPE_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UP" + + "DATE\020\002\022\n\n\006DELETE\020\003\">\n\nActionType\022\033\n\027ACTI" + + "ON_TYPE_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY" + + "\020\002B\027\n\025constraint_definition\"\222\001\n\031AnalyzeO" + + "rgPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n" + + "\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026" + + "\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_token\030\005 \001" + + "(\tB\014\n\n_page_size\"\370\002\n\032AnalyzeOrgPoliciesR" + + "esponse\022]\n\022org_policy_results\030\001 \003(\0132A.go" + + "ogle.cloud.asset.v1.AnalyzeOrgPoliciesRe" + + "sponse.OrgPolicyResult\022F\n\nconstraint\030\002 \001" + + "(\01322.google.cloud.asset.v1.AnalyzerOrgPo" + + "licyConstraint\022\027\n\017next_page_token\030\003 \001(\t\032" + + "\231\001\n\017OrgPolicyResult\022E\n\023consolidated_poli" + + "cy\030\001 \001(\0132(.google.cloud.asset.v1.Analyze" + + "rOrgPolicy\022?\n\rpolicy_bundle\030\002 \003(\0132(.goog" + + "le.cloud.asset.v1.AnalyzerOrgPolicy\"\242\001\n)" + + "AnalyzeOrgPolicyGovernedContainersReques" + + "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n\nconstraint\030\002 \001(" + + "\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026\n\tpage_size\030\004 \001(" + + "\005H\000\210\001\001\022\022\n\npage_token\030\005 \001(\tB\014\n\n_page_size" + + "\"\311\003\n*AnalyzeOrgPolicyGovernedContainersR" + + "esponse\022p\n\023governed_containers\030\001 \003(\0132S.g" + + "oogle.cloud.asset.v1.AnalyzeOrgPolicyGov" + + "ernedContainersResponse.GovernedContaine" + + "r\022F\n\nconstraint\030\002 \001(\01322.google.cloud.ass" + + "et.v1.AnalyzerOrgPolicyConstraint\022\027\n\017nex" + + "t_page_token\030\003 \001(\t\032\307\001\n\021GovernedContainer" + + "\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006parent\030\002" + + " \001(\t\022E\n\023consolidated_policy\030\003 \001(\0132(.goog" + + "le.cloud.asset.v1.AnalyzerOrgPolicy\022?\n\rp" + + "olicy_bundle\030\004 \003(\0132(.google.cloud.asset." + + "v1.AnalyzerOrgPolicy\"\236\001\n%AnalyzeOrgPolic" + + "yGovernedAssetsRequest\022\022\n\005scope\030\001 \001(\tB\003\340" + + "A\002\022\027\n\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 " + + "\001(\t\022\026\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_toke" + + "n\030\005 \001(\tB\014\n\n_page_size\"\200\007\n&AnalyzeOrgPoli" + + "cyGovernedAssetsResponse\022d\n\017governed_ass" + + "ets\030\001 \003(\0132K.google.cloud.asset.v1.Analyz" + + "eOrgPolicyGovernedAssetsResponse.Governe" + + "dAsset\022F\n\nconstraint\030\002 \001(\01322.google.clou" + + "d.asset.v1.AnalyzerOrgPolicyConstraint\022\027" + + "\n\017next_page_token\030\003 \001(\t\032v\n\020GovernedResou" + + "rce\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006paren" + + "t\030\002 \001(\t\022\017\n\007project\030\005 \001(\t\022\017\n\007folders\030\006 \003(" + + "\t\022\024\n\014organization\030\007 \001(\t\032\215\001\n\021GovernedIamP" + + "olicy\022\031\n\021attached_resource\030\001 \001(\t\022%\n\006poli" + + "cy\030\002 \001(\0132\025.google.iam.v1.Policy\022\017\n\007proje" + + "ct\030\005 \001(\t\022\017\n\007folders\030\006 \003(\t\022\024\n\014organizatio" + + "n\030\007 \001(\t\032\206\003\n\rGovernedAsset\022k\n\021governed_re" + + "source\030\001 \001(\0132N.google.cloud.asset.v1.Ana" + + "lyzeOrgPolicyGovernedAssetsResponse.Gove" + + "rnedResourceH\000\022n\n\023governed_iam_policy\030\002 " + + "\001(\0132O.google.cloud.asset.v1.AnalyzeOrgPo" + + "licyGovernedAssetsResponse.GovernedIamPo" + + "licyH\000\022E\n\023consolidated_policy\030\003 \001(\0132(.go" + + "ogle.cloud.asset.v1.AnalyzerOrgPolicy\022?\n" + + "\rpolicy_bundle\030\004 \003(\0132(.google.cloud.asse" + + "t.v1.AnalyzerOrgPolicyB\020\n\016governed_asset" + + "*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_UNSPECI" + + "FIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\n" + + "ORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014OS_IN" + + "VENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\321 \n\014AssetSer" + + "vice\022\336\001\n\014ExportAssets\022*.google.cloud.ass" + + "et.v1.ExportAssetsRequest\032\035.google.longr" + + "unning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{parent=*" + + "/*}:exportAssets:\001*\312AW\n*google.cloud.ass" + + "et.v1.ExportAssetsResponse\022)google.cloud" + + ".asset.v1.ExportAssetsRequest\022\213\001\n\nListAs" + + "sets\022(.google.cloud.asset.v1.ListAssetsR" + + "equest\032).google.cloud.asset.v1.ListAsset" + + "sResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*}/asse" + + "ts\332A\006parent\022\262\001\n\025BatchGetAssetsHistory\0223." + + "google.cloud.asset.v1.BatchGetAssetsHist" + + "oryRequest\0324.google.cloud.asset.v1.Batch" + + "GetAssetsHistoryResponse\".\202\323\344\223\002(\022&/v1/{p" + + "arent=*/*}:batchGetAssetsHistory\022\177\n\nCrea" + + "teFeed\022(.google.cloud.asset.v1.CreateFee" + + "dRequest\032\033.google.cloud.asset.v1.Feed\"*\202" + + "\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A\006paren" + + "t\022t\n\007GetFeed\022%.google.cloud.asset.v1.Get" + + "FeedRequest\032\033.google.cloud.asset.v1.Feed" + + "\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A\004name\022" + + "\207\001\n\tListFeeds\022\'.google.cloud.asset.v1.Li" + + "stFeedsRequest\032(.google.cloud.asset.v1.L" + + "istFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{parent=*/" + + "*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(.googl" + + "e.cloud.asset.v1.UpdateFeedRequest\032\033.goo" + + "gle.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/v1/{fe" + + "ed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\nDelete" + + "Feed\022(.google.cloud.asset.v1.DeleteFeedR" + + "equest\032\026.google.protobuf.Empty\"%\202\323\344\223\002\030*\026" + + "/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022Search" + + "AllResources\0220.google.cloud.asset.v1.Sea" + + "rchAllResourcesRequest\0321.google.cloud.as" + + "set.v1.SearchAllResourcesResponse\"D\202\323\344\223\002", + "$\022\"/v1/{scope=*/*}:searchAllResources\332A\027" + + "scope,query,asset_types\022\273\001\n\024SearchAllIam" + + "Policies\0222.google.cloud.asset.v1.SearchA" + + "llIamPoliciesRequest\0323.google.cloud.asse" + + "t.v1.SearchAllIamPoliciesResponse\":\202\323\344\223\002" + + "&\022$/v1/{scope=*/*}:searchAllIamPolicies\332" + + "A\013scope,query\022\254\001\n\020AnalyzeIamPolicy\022..goo" + + "gle.cloud.asset.v1.AnalyzeIamPolicyReque" + + "st\032/.google.cloud.asset.v1.AnalyzeIamPol" + + "icyResponse\"7\202\323\344\223\0021\022//v1/{analysis_query" + + ".scope=*/*}:analyzeIamPolicy\022\270\002\n\033Analyze" + + "IamPolicyLongrunning\0229.google.cloud.asse" + + "t.v1.AnalyzeIamPolicyLongrunningRequest\032" + + "\035.google.longrunning.Operation\"\276\001\202\323\344\223\002?\"" + + ":/v1/{analysis_query.scope=*/*}:analyzeI" + + "amPolicyLongrunning:\001*\312Av\n9google.cloud." + + "asset.v1.AnalyzeIamPolicyLongrunningResp" + + "onse\0229google.cloud.asset.v1.AnalyzeIamPo" + + "licyLongrunningMetadata\022\214\001\n\013AnalyzeMove\022" + + ").google.cloud.asset.v1.AnalyzeMoveReque" + + "st\032*.google.cloud.asset.v1.AnalyzeMoveRe" + + "sponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}:analy" + + "zeMove\022\215\001\n\013QueryAssets\022).google.cloud.as" + + "set.v1.QueryAssetsRequest\032*.google.cloud" + + ".asset.v1.QueryAssetsResponse\"\'\202\323\344\223\002!\"\034/" + + "v1/{parent=*/*}:queryAssets:\001*\022\275\001\n\020Creat" + + "eSavedQuery\022..google.cloud.asset.v1.Crea" + + "teSavedQueryRequest\032!.google.cloud.asset" + + ".v1.SavedQuery\"V\202\323\344\223\002,\"\035/v1/{parent=*/*}" + + "/savedQueries:\013saved_query\332A!parent,save" + + "d_query,saved_query_id\022\215\001\n\rGetSavedQuery" + + "\022+.google.cloud.asset.v1.GetSavedQueryRe" + + "quest\032!.google.cloud.asset.v1.SavedQuery" + + "\",\202\323\344\223\002\037\022\035/v1/{name=*/*/savedQueries/*}\332" + + "A\004name\022\243\001\n\020ListSavedQueries\022..google.clo" + + "ud.asset.v1.ListSavedQueriesRequest\032/.go" + + "ogle.cloud.asset.v1.ListSavedQueriesResp" + + "onse\".\202\323\344\223\002\037\022\035/v1/{parent=*/*}/savedQuer" + + "ies\332A\006parent\022\277\001\n\020UpdateSavedQuery\022..goog" + + "le.cloud.asset.v1.UpdateSavedQueryReques" + + "t\032!.google.cloud.asset.v1.SavedQuery\"X\202\323" + + "\344\223\00282)/v1/{saved_query.name=*/*/savedQue" + + "ries/*}:\013saved_query\332A\027saved_query,updat" + + "e_mask\022\210\001\n\020DeleteSavedQuery\022..google.clo" + + "ud.asset.v1.DeleteSavedQueryRequest\032\026.go" + + "ogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1/{name=*" + + "/*/savedQueries/*}\332A\004name\022\316\001\n\034BatchGetEf" + + "fectiveIamPolicies\022:.google.cloud.asset." + + "v1.BatchGetEffectiveIamPoliciesRequest\032;" + + ".google.cloud.asset.v1.BatchGetEffective" + + "IamPoliciesResponse\"5\202\323\344\223\002/\022-/v1/{scope=" + + "*/*}/effectiveIamPolicies:batchGet\022\277\001\n\022A" + + "nalyzeOrgPolicies\0220.google.cloud.asset.v" + + "1.AnalyzeOrgPoliciesRequest\0321.google.clo" + + "ud.asset.v1.AnalyzeOrgPoliciesResponse\"D" + + "\202\323\344\223\002$\022\"/v1/{scope=*/*}:analyzeOrgPolici" + + "es\332A\027scope,constraint,filter\022\377\001\n\"Analyze" + + "OrgPolicyGovernedContainers\022@.google.clo" + + "ud.asset.v1.AnalyzeOrgPolicyGovernedCont" + + "ainersRequest\032A.google.cloud.asset.v1.An" + + "alyzeOrgPolicyGovernedContainersResponse" + + "\"T\202\323\344\223\0024\0222/v1/{scope=*/*}:analyzeOrgPoli" + + "cyGovernedContainers\332A\027scope,constraint," + + "filter\022\357\001\n\036AnalyzeOrgPolicyGovernedAsset" + + "s\022<.google.cloud.asset.v1.AnalyzeOrgPoli" + + "cyGovernedAssetsRequest\032=.google.cloud.a" + + "sset.v1.AnalyzeOrgPolicyGovernedAssetsRe" + + "sponse\"P\202\323\344\223\0020\022./v1/{scope=*/*}:analyzeO" + + "rgPolicyGovernedAssets\332A\027scope,constrain" + + "t,filter\032M\312A\031cloudasset.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\221\001\n\031com.google.cloud.asset.v1B\021A" + + "ssetServiceProtoP\001Z/cloud.google.com/go/" + + "asset/apiv1/assetpb;assetpb\252\002\025Google.Clo" + + "ud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V1b\006pro" + + "to3" + }; + 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.StructProto.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_QueryAssetsOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor, + new java.lang.String[] { "BigqueryDestination", }); + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor = + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor, + new java.lang.String[] { "Dataset", "Table", "WriteDisposition", }); + internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor, + new java.lang.String[] { "Parent", "Statement", "JobReference", "PageSize", "PageToken", "Timeout", "ReadTimeWindow", "ReadTime", "OutputConfig", "Query", "Time", }); + internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor, + new java.lang.String[] { "JobReference", "Done", "Error", "QueryResult", "OutputConfig", "Response", }); + internal_static_google_cloud_asset_v1_QueryResult_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryResult_descriptor, + new java.lang.String[] { "Rows", "Schema", "NextPageToken", "TotalRows", }); + internal_static_google_cloud_asset_v1_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TableSchema_descriptor, + new java.lang.String[] { "Fields", }); + internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor, + new java.lang.String[] { "Field", "Type", "Mode", "Fields", }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + 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(51); + 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", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor, + new java.lang.String[] { "AttachedResource", "AppliedResource", "Rules", "InheritFromParent", "Reset", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor, + new java.lang.String[] { "Values", "AllowAll", "DenyAll", "Enforce", "Condition", "Kind", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor, + new java.lang.String[] { "AllowedValues", "DeniedValues", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor, + new java.lang.String[] { "GoogleDefinedConstraint", "CustomConstraint", "ConstraintDefinition", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "ConstraintDefault", "ListConstraint", "BooleanConstraint", "ConstraintType", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor, + new java.lang.String[] { "SupportsIn", "SupportsUnder", }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor, + new java.lang.String[] { "Name", "ResourceTypes", "MethodTypes", "Condition", "ActionType", "DisplayName", "Description", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor, + new java.lang.String[] { "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor, + new java.lang.String[] { "OrgPolicyResults", "Constraint", "NextPageToken", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor, + new java.lang.String[] { "ConsolidatedPolicy", "PolicyBundle", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor, + new java.lang.String[] { "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor, + new java.lang.String[] { "GovernedContainers", "Constraint", "NextPageToken", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor, + new java.lang.String[] { "FullResourceName", "Parent", "ConsolidatedPolicy", "PolicyBundle", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor, + new java.lang.String[] { "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor, + new java.lang.String[] { "GovernedAssets", "Constraint", "NextPageToken", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor, + new java.lang.String[] { "FullResourceName", "Parent", "Project", "Folders", "Organization", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor, + new java.lang.String[] { "AttachedResource", "Policy", "Project", "Folders", "Organization", }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor, + new java.lang.String[] { "GovernedResource", "GovernedIamPolicy", "ConsolidatedPolicy", "PolicyBundle", "GovernedAsset", }); + 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.StructProto.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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java similarity index 76% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java index e6b69a3b795e..192bb676cc29 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java +++ b/owl-bot-staging/java-asset/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,37 +27,33 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object assetType_ = "";
   /**
-   *
-   *
    * 
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -85,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset_type = 1; - * * @return The assetType. */ @java.lang.Override @@ -94,15 +71,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`
@@ -112,15 +88,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 { @@ -129,12 +106,9 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -148,8 +122,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
@@ -159,13 +131,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
@@ -179,8 +149,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
@@ -194,8 +162,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
@@ -211,7 +177,6 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,7 +188,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -243,8 +209,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -254,16 +220,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -286,104 +253,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.
@@ -391,32 +351,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -433,9 +394,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
@@ -454,12 +415,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -487,39 +445,38 @@ private void buildPartial0(com.google.cloud.asset.v1.AttachedResource result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -551,10 +508,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AttachedResource other) {
             versionedResourcesBuilder_ = null;
             versionedResources_ = other.versionedResources_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            versionedResourcesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVersionedResourcesFieldBuilder()
-                    : null;
+            versionedResourcesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVersionedResourcesFieldBuilder() : null;
           } else {
             versionedResourcesBuilder_.addAllMessages(other.versionedResources_);
           }
@@ -586,32 +542,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                com.google.cloud.asset.v1.VersionedResource m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry);
-                if (versionedResourcesBuilder_ == null) {
-                  ensureVersionedResourcesIsMutable();
-                  versionedResources_.add(m);
-                } else {
-                  versionedResourcesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              com.google.cloud.asset.v1.VersionedResource m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.VersionedResource.parser(),
+                      extensionRegistry);
+              if (versionedResourcesBuilder_ == null) {
+                ensureVersionedResourcesIsMutable();
+                versionedResources_.add(m);
+              } else {
+                versionedResourcesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -621,13 +575,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object assetType_ = "";
     /**
-     *
-     *
      * 
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -637,13 +588,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; @@ -652,8 +603,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -663,14 +612,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 { @@ -678,8 +628,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -689,22 +637,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -714,7 +658,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 1; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -724,8 +667,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -735,14 +676,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000001; @@ -751,26 +690,18 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - versionedResources_ = - new java.util.ArrayList( - versionedResources_); + versionedResources_ = new java.util.ArrayList(versionedResources_); bitField0_ |= 0x00000002; - } + } } 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
@@ -787,8 +718,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
@@ -805,8 +734,6 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -823,8 +750,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
@@ -848,8 +773,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
@@ -870,8 +793,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
@@ -894,8 +815,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
@@ -919,8 +838,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
@@ -941,8 +858,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
@@ -963,8 +878,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
@@ -977,7 +890,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);
@@ -985,8 +899,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
@@ -1006,8 +918,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
@@ -1027,8 +937,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
@@ -1042,8 +950,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
@@ -1055,14 +961,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
@@ -1071,8 +974,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 {
@@ -1080,8 +983,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
@@ -1091,12 +992,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
@@ -1107,12 +1006,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
@@ -1121,22 +1018,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_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1145,9 +1036,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);
     }
 
@@ -1157,12 +1048,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();
   }
@@ -1171,27 +1062,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AttachedResource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1206,4 +1097,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AttachedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
similarity index 76%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
index 3b927c8731fc..15fc2826e2e8 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
similarity index 75%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
index 4db51c413174..31dda9955d3a 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
+++ b/owl-bot-staging/java-asset/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,47 +28,40 @@ 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; } - - 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; - @SuppressWarnings("serial") 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 @@ -95,33 +70,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 { @@ -130,12 +103,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -146,15 +116,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
@@ -165,15 +133,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
@@ -184,7 +149,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. */ @@ -192,8 +156,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
@@ -204,58 +166,43 @@ 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_ = 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]; * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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
@@ -265,10 +212,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 @@ -276,8 +220,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
@@ -287,21 +229,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
@@ -311,24 +246,17 @@ 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() { - return readTimeWindow_ == null - ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() - : readTimeWindow_; + return readTimeWindow_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") 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
@@ -349,15 +277,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
@@ -378,15 +304,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
@@ -407,7 +330,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. */ @@ -415,8 +337,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
@@ -437,16 +357,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; @@ -458,15 +377,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) { @@ -495,12 +414,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; @@ -518,22 +438,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -567,136 +490,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -716,9 +632,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 @@ -737,18 +653,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result) { if (((bitField0_ & 0x00000002) != 0)) { assetNames_ = assetNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -770,8 +682,9 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetAssetsHistoryReques result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.readTimeWindow_ = - readTimeWindowBuilder_ == null ? readTimeWindow_ : readTimeWindowBuilder_.build(); + result.readTimeWindow_ = readTimeWindowBuilder_ == null + ? readTimeWindow_ + : readTimeWindowBuilder_.build(); } } @@ -779,39 +692,38 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetAssetsHistoryReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -819,8 +731,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_; bitField0_ |= 0x00000001; @@ -878,45 +789,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetNamesIsMutable(); - assetNames_.add(s); - break; - } // case 18 - case 24: - { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - input.readMessage(getReadTimeWindowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetNamesIsMutable(); + assetNames_.add(s); + break; + } // case 18 + case 24: { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getReadTimeWindowFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -926,29 +833,24 @@ public Builder mergeFrom( } // finally 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; @@ -957,25 +859,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 { @@ -983,43 +882,32 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The 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() { @@ -1029,25 +917,19 @@ public Builder clearParent() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1055,18 +937,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000002) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1077,15 +955,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
@@ -1096,15 +972,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
@@ -1115,7 +988,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. */ @@ -1123,8 +995,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
@@ -1135,16 +1005,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
@@ -1155,23 +1023,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetNames( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1182,22 +1046,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetNames( + java.lang.String value) { + if (value == null) { 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
@@ -1208,19 +1068,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
@@ -1231,7 +1090,6 @@ public Builder addAllAssetNames(java.lang.Iterable values) {
      * 
* * repeated string asset_names = 2; - * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1241,8 +1099,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
@@ -1253,14 +1109,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); @@ -1270,33 +1124,22 @@ 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. */ @@ -1307,35 +1150,24 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1349,16 +1181,11 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1370,13 +1197,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
@@ -1386,18 +1208,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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
@@ -1407,24 +1224,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
@@ -1434,9 +1244,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) { @@ -1452,8 +1260,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
@@ -1463,11 +1269,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(); } else { @@ -1478,8 +1283,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
@@ -1489,15 +1292,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 (((bitField0_ & 0x00000008) != 0) - && readTimeWindow_ != null - && readTimeWindow_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + readTimeWindow_ != null && + readTimeWindow_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { getReadTimeWindowBuilder().mergeFrom(value); } else { readTimeWindow_ = value; @@ -1510,8 +1311,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
@@ -1521,9 +1320,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1536,8 +1333,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
@@ -1547,9 +1342,7 @@ 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() { bitField0_ |= 0x00000008; @@ -1557,8 +1350,6 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() { 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
@@ -1568,22 +1359,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
@@ -1593,39 +1379,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_ & 0x00000010) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1645,17 +1422,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
@@ -1675,17 +1449,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
@@ -1705,9 +1475,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. */ @@ -1715,8 +1483,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
@@ -1736,18 +1502,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
@@ -1767,25 +1530,20 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1805,24 +1563,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypes( + java.lang.String value) { + if (value == null) { 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
@@ -1842,21 +1595,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
@@ -1876,9 +1627,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() { @@ -1888,8 +1637,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
@@ -1909,25 +1656,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -1937,12 +1681,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(); } @@ -1951,27 +1695,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1986,4 +1730,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java similarity index 82% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java index eec14316902c..cfc137961ccd 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java index 5f7bd7836753..c1661748a766 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") private java.util.List assets_; /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -85,8 +63,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -94,13 +70,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.
    * 
@@ -112,8 +86,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -125,8 +97,6 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -134,12 +104,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; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -165,7 +136,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +177,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +315,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 @@ -371,18 +336,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -402,39 +363,38 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetAssetsHistoryRespon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -442,8 +402,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()) { @@ -462,10 +421,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_); } @@ -497,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.TemporalAsset m = - input.readMessage( - com.google.cloud.asset.v1.TemporalAsset.parser(), extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.TemporalAsset m = + input.readMessage( + com.google.cloud.asset.v1.TemporalAsset.parser(), + extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,28 +483,21 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -562,8 +512,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -578,8 +526,6 @@ public int getAssetsCount() { } } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -594,15 +540,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(); @@ -616,8 +561,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.TemporalAsset valu return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -636,8 +579,6 @@ public Builder setAssets( return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -658,15 +599,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(); @@ -680,15 +620,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()); @@ -699,8 +638,6 @@ public Builder addAssets(com.google.cloud.asset.v1.TemporalAsset.Builder builder return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -719,8 +656,6 @@ public Builder addAssets( return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -731,7 +666,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); @@ -739,8 +675,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -758,8 +692,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -777,44 +709,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 { @@ -822,8 +749,6 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int i } } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -831,54 +756,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); } @@ -888,12 +808,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(); } @@ -902,27 +822,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +857,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java index 22976e616b9e..70e9d55a250e 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java index 457cc20dc507..e9d842c2ac13 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java +++ b/owl-bot-staging/java-asset/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,37 +27,33 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   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
@@ -89,10 +65,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 @@ -101,15 +74,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
@@ -121,18 +93,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 { @@ -141,12 +112,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int NAMES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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)
@@ -155,18 +123,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)
@@ -175,18 +139,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)
@@ -195,10 +154,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. */ @@ -206,8 +162,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)
@@ -216,19 +170,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; @@ -240,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -275,16 +227,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -308,104 +261,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].
@@ -413,32 +358,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -450,14 +396,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();
     }
 
@@ -472,18 +417,14 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         names_ = names_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -491,8 +432,7 @@ private void buildPartialRepeatedFields(
       result.names_ = names_;
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
+    private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.scope_ = scope_;
@@ -503,39 +443,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -543,9 +482,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_;
         bitField0_ |= 0x00000001;
@@ -587,26 +524,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                scope_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureNamesIsMutable();
-                names_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              scope_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureNamesIsMutable();
+              names_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -616,13 +550,10 @@ public Builder mergeFrom(
       } // finally
       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
@@ -634,16 +565,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; @@ -652,8 +581,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
@@ -665,17 +592,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 { @@ -683,8 +609,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
@@ -696,25 +620,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; 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
@@ -726,10 +644,7 @@ 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() { @@ -739,8 +654,6 @@ public Builder clearScope() { 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
@@ -752,17 +665,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -770,18 +679,14 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000002) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -790,18 +695,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)
@@ -810,18 +711,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)
@@ -830,10 +726,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. */ @@ -841,8 +734,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)
@@ -851,19 +742,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)
@@ -872,26 +759,20 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNames( + int index, java.lang.String value) { + if (value == null) { 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)
@@ -900,25 +781,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNames( + java.lang.String value) { + if (value == null) { 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)
@@ -927,22 +802,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)
@@ -951,10 +823,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() { @@ -964,8 +833,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)
@@ -974,26 +841,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -1003,13 +866,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(); } @@ -1018,27 +880,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1053,4 +915,6 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java index 90bbc28f3afd..f75a8b07cda0 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java index 5f3436a16eba..bd257c8b6014 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java +++ b/owl-bot-staging/java-asset/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,56 +11,49 @@
  *
  * 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;
   }
-
-  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)
@@ -89,13 +65,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)
@@ -107,14 +80,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].
@@ -136,17 +107,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].
@@ -168,15 +133,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].
@@ -198,14 +158,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].
@@ -227,18 +183,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].
@@ -260,34 +209,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(); @@ -295,40 +237,34 @@ 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; } - - 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]
@@ -336,13 +272,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]
@@ -350,40 +283,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].
@@ -394,64 +319,54 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object attachedResource_ = ""; /** - * - * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -459,7 +374,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string attached_resource = 1; - * * @return The attachedResource. */ @java.lang.Override @@ -468,15 +382,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]
@@ -484,15 +397,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 { @@ -503,15 +417,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 @@ -519,15 +430,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 @@ -535,8 +443,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].
@@ -550,7 +456,6 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -562,7 +467,8 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResource_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResource_);
         }
@@ -582,7 +488,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 += getUnknownFields().getSerializedSize();
         memoizedSize = size;
@@ -592,24 +499,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
         return true;
@@ -633,117 +535,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
@@ -753,46 +626,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -807,26 +673,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); } @@ -834,31 +693,22 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + 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); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - result) { + private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attachedResource_ = attachedResource_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null + ? policy_ + : policyBuilder_.build(); } } @@ -866,60 +716,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.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_; bitField0_ |= 0x00000001; @@ -954,25 +790,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - attachedResource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + attachedResource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -982,13 +817,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object attachedResource_ = ""; /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -996,13 +828,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; @@ -1011,8 +843,6 @@ public java.lang.String getAttachedResource() { } } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1020,14 +850,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 { @@ -1035,8 +866,6 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { } } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1044,22 +873,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attachedResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1067,7 +892,6 @@ public Builder setAttachedResource(java.lang.String value) {
          * 
* * string attached_resource = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -1077,8 +901,6 @@ public Builder clearAttachedResource() { return this; } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1086,14 +908,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attachedResource_ = value; bitField0_ |= 0x00000001; @@ -1103,35 +923,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
          * 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() { @@ -1142,8 +953,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].
@@ -1165,8 +974,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].
@@ -1174,7 +981,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();
           } else {
@@ -1185,8 +993,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].
@@ -1196,9 +1002,9 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
          */
         public Builder mergePolicy(com.google.iam.v1.Policy value) {
           if (policyBuilder_ == null) {
-            if (((bitField0_ & 0x00000002) != 0)
-                && policy_ != null
-                && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+            if (((bitField0_ & 0x00000002) != 0) &&
+              policy_ != null &&
+              policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
               getPolicyBuilder().mergeFrom(value);
             } else {
               policy_ = value;
@@ -1211,8 +1017,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].
@@ -1231,8 +1035,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].
@@ -1246,8 +1048,6 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
           return getPolicyFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1259,12 +1059,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].
@@ -1273,22 +1072,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) {
@@ -1301,48 +1096,41 @@ 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 {
-              Builder builder = newBuilder();
-              try {
-                builder.mergeFrom(input, extensionRegistry);
-              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-                throw e.setUnfinishedMessage(builder.buildPartial());
-              } catch (com.google.protobuf.UninitializedMessageException e) {
-                throw e.asInvalidProtocolBufferException()
-                    .setUnfinishedMessage(builder.buildPartial());
-              } catch (java.io.IOException e) {
-                throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                    .setUnfinishedMessage(builder.buildPartial());
-              }
-              return builder.buildPartial();
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PolicyInfo parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -1354,20 +1142,16 @@ 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;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object fullResourceName_ = "";
     /**
-     *
-     *
      * 
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1379,7 +1163,6 @@ public com.google.protobuf.Parser getParserForType() {
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ @java.lang.Override @@ -1388,15 +1171,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)
@@ -1408,15 +1190,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 { @@ -1425,15 +1208,9 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } public static final int POLICIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - 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].
@@ -1455,20 +1232,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].
@@ -1490,21 +1260,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].
@@ -1526,17 +1289,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].
@@ -1558,19 +1317,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].
@@ -1592,19 +1345,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; @@ -1616,7 +1365,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1636,7 +1386,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1646,18 +1397,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1680,102 +1430,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 @@ -1785,45 +1521,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1840,23 +1570,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); } @@ -1864,22 +1590,15 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result) { if (policiesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { policies_ = java.util.Collections.unmodifiableList(policies_); @@ -1891,9 +1610,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - result) { + private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; @@ -1904,56 +1621,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.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_; bitField0_ |= 0x00000001; @@ -1977,10 +1684,9 @@ public Builder mergeFrom( policiesBuilder_ = null; policies_ = other.policies_; bitField0_ = (bitField0_ & ~0x00000002); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPoliciesFieldBuilder() - : null; + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPoliciesFieldBuilder() : null; } else { policiesBuilder_.addAllMessages(other.policies_); } @@ -2012,36 +1718,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - m = - input.readMessage( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy.PolicyInfo.parser(), - extensionRegistry); - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(m); - } else { - policiesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo m = + input.readMessage( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.parser(), + extensionRegistry); + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(m); + } else { + policiesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2051,13 +1751,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2069,13 +1766,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; @@ -2084,8 +1781,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2097,14 +1792,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 { @@ -2112,8 +1808,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2125,22 +1819,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2152,7 +1842,6 @@ public Builder setFullResourceName(java.lang.String value) {
        * 
* * string full_resource_name = 1; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -2162,8 +1851,6 @@ public Builder clearFullResourceName() { return this; } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2175,14 +1862,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -2190,33 +1875,19 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000002) != 0)) { - policies_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo>(policies_); + policies_ = new java.util.ArrayList(policies_); bitField0_ |= 0x00000002; - } + } } 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].
@@ -2238,14 +1909,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 { @@ -2253,8 +1919,6 @@ private void ensurePoliciesIsMutable() { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2276,9 +1940,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) { @@ -2288,8 +1950,6 @@ public int getPoliciesCount() { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2311,13 +1971,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 { @@ -2325,8 +1981,6 @@ public int getPoliciesCount() { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2348,15 +2002,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(); @@ -2370,8 +2019,6 @@ public Builder setPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2393,15 +2040,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()); @@ -2412,8 +2054,6 @@ public Builder setPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2435,14 +2075,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(); @@ -2456,8 +2091,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2479,15 +2112,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(); @@ -2501,8 +2129,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2524,14 +2150,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()); @@ -2542,8 +2164,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2565,15 +2185,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()); @@ -2584,8 +2199,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2607,19 +2220,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); @@ -2627,8 +2235,6 @@ public Builder addAllPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2650,9 +2256,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) { @@ -2665,8 +2269,6 @@ public Builder clearPolicies() { return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2688,9 +2290,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) { @@ -2703,8 +2303,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].
@@ -2726,18 +2324,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].
@@ -2759,22 +2352,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].
@@ -2796,15 +2383,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 { @@ -2812,8 +2394,6 @@ public Builder removePolicies(int index) { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2835,21 +2415,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].
@@ -2871,22 +2443,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].
@@ -2908,40 +2472,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_ & 0x00000002) != 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_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); policies_ = null; } return policiesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2954,46 +2504,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EffectiveIamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3005,21 +2550,16 @@ 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; - @SuppressWarnings("serial") - 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
@@ -3029,19 +2569,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
@@ -3051,21 +2585,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
@@ -3075,17 +2602,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
@@ -3095,18 +2618,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
@@ -3116,18 +2634,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; @@ -3139,7 +2654,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -3153,7 +2669,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3163,15 +2680,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3193,104 +2710,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].
@@ -3298,32 +2807,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3339,14 +2849,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();
     }
 
@@ -3361,18 +2870,14 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
       if (policyResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           policyResults_ = java.util.Collections.unmodifiableList(policyResults_);
@@ -3384,8 +2889,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
+    private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
       int from_bitField0_ = bitField0_;
     }
 
@@ -3393,39 +2897,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -3433,9 +2936,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()) {
@@ -3454,10 +2955,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_);
           }
@@ -3489,29 +2989,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-                    m =
-                        input.readMessage(
-                            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-                                .EffectiveIamPolicy.parser(),
-                            extensionRegistry);
-                if (policyResultsBuilder_ == null) {
-                  ensurePolicyResultsIsMutable();
-                  policyResults_.add(m);
-                } else {
-                  policyResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.parser(),
+                      extensionRegistry);
+              if (policyResultsBuilder_ == null) {
+                ensurePolicyResultsIsMutable();
+                policyResults_.add(m);
+              } else {
+                policyResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3521,34 +3017,21 @@ public Builder mergeFrom(
       } // finally
       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
@@ -3558,13 +3041,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 { @@ -3572,8 +3051,6 @@ private void ensurePolicyResultsIsMutable() { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3583,9 +3060,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) { @@ -3595,8 +3070,6 @@ public int getPolicyResultsCount() { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3606,12 +3079,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 { @@ -3619,8 +3089,6 @@ public int getPolicyResultsCount() { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3630,13 +3098,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(); @@ -3650,8 +3115,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
@@ -3661,14 +3124,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()); @@ -3679,8 +3138,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
@@ -3690,12 +3147,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(); @@ -3709,8 +3163,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
@@ -3720,13 +3172,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(); @@ -3740,8 +3189,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
@@ -3751,13 +3198,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()); @@ -3768,8 +3212,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
@@ -3779,14 +3221,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()); @@ -3797,8 +3235,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
@@ -3808,19 +3244,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); @@ -3828,8 +3259,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
@@ -3839,9 +3268,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) { @@ -3854,8 +3281,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
@@ -3865,9 +3290,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) { @@ -3880,8 +3303,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
@@ -3891,17 +3312,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
@@ -3911,22 +3328,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
@@ -3936,15 +3347,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 { @@ -3952,8 +3358,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
@@ -3963,20 +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 - 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
@@ -3986,21 +3383,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
@@ -4010,32 +3400,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(), @@ -4044,9 +3420,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); } @@ -4056,43 +3432,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4104,8 +3478,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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java similarity index 64% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java index 8a5e5c2540f8..55cd6994abb1 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java similarity index 81% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java index 4ce3260791b4..f2ba07fc962f 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -87,7 +65,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -96,15 +73,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
@@ -117,15 +93,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 { @@ -134,12 +111,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -147,7 +121,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -156,15 +129,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
@@ -172,15 +144,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 { @@ -191,8 +164,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_ = false; /** - * - * *
    * 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
@@ -201,7 +172,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -212,8 +182,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.
@@ -233,7 +201,6 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -241,8 +208,6 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -262,18 +227,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.
@@ -296,16 +256,12 @@ public com.google.cloud.asset.v1.PartitionSpec getPartitionSpec() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilder() {
-    return partitionSpec_ == null
-        ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()
-        : partitionSpec_;
+    return partitionSpec_ == null ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_;
   }
 
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_ = false;
   /**
-   *
-   *
    * 
    * 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
@@ -334,7 +290,6 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
    * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -343,7 +298,6 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,7 +309,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -387,13 +342,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -403,22 +361,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -435,148 +397,144 @@ 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) + getUnknownFields().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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -594,9 +552,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 @@ -615,11 +573,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.BigQueryDestination result = new com.google.cloud.asset.v1.BigQueryDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -636,8 +591,9 @@ private void buildPartial0(com.google.cloud.asset.v1.BigQueryDestination result) result.force_ = force_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.partitionSpec_ = - partitionSpecBuilder_ == null ? partitionSpec_ : partitionSpecBuilder_.build(); + result.partitionSpec_ = partitionSpecBuilder_ == null + ? partitionSpec_ + : partitionSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.separateTablesPerAssetType_ = separateTablesPerAssetType_; @@ -648,39 +604,38 @@ private void buildPartial0(com.google.cloud.asset.v1.BigQueryDestination result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -734,43 +689,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - force_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - input.readMessage(getPartitionSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - separateTablesPerAssetType_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + force_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getPartitionSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + separateTablesPerAssetType_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -780,13 +731,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dataset_ = ""; /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -799,13 +747,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; @@ -814,8 +762,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -828,14 +774,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 { @@ -843,8 +790,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -857,22 +802,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -885,7 +826,6 @@ public Builder setDataset(java.lang.String value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { @@ -895,8 +835,6 @@ public Builder clearDataset() { return this; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -909,14 +847,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -926,8 +862,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
@@ -935,13 +869,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; @@ -950,8 +884,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
@@ -959,14 +891,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 { @@ -974,8 +907,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
@@ -983,22 +914,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000002; 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
@@ -1006,7 +933,6 @@ public Builder setTable(java.lang.String value) {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1016,8 +942,6 @@ public Builder clearTable() { 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
@@ -1025,14 +949,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000002; @@ -1040,10 +962,8 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { 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
@@ -1052,7 +972,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -1060,8 +979,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
@@ -1070,20 +987,17 @@ public boolean getForce() {
      * 
* * bool force = 3; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; bitField0_ |= 0x00000004; 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
@@ -1092,7 +1006,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -1104,13 +1017,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.
@@ -1130,15 +1038,12 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1158,21 +1063,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.
@@ -1207,8 +1107,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.
@@ -1241,8 +1139,6 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1265,9 +1161,9 @@ public Builder setPartitionSpec(
      */
     public Builder mergePartitionSpec(com.google.cloud.asset.v1.PartitionSpec value) {
       if (partitionSpecBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && partitionSpec_ != null
-            && partitionSpec_ != com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          partitionSpec_ != null &&
+          partitionSpec_ != com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()) {
           getPartitionSpecBuilder().mergeFrom(value);
         } else {
           partitionSpec_ = value;
@@ -1280,8 +1176,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.
@@ -1313,8 +1207,6 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1341,8 +1233,6 @@ public com.google.cloud.asset.v1.PartitionSpec.Builder getPartitionSpecBuilder()
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1367,14 +1257,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.
@@ -1396,26 +1283,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
@@ -1444,7 +1326,6 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1452,8 +1333,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
@@ -1482,20 +1361,17 @@ 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; bitField0_ |= 0x00000010; 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
@@ -1524,7 +1400,6 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { @@ -1533,9 +1408,9 @@ public Builder clearSeparateTablesPerAssetType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1545,12 +1420,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(); } @@ -1559,27 +1434,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1594,4 +1469,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java similarity index 90% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java index b5571d295fbd..2b70f211fc51 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java index e1688440d409..8c235ce218b0 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java @@ -1,85 +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/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; } - - 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.
      * 
@@ -88,8 +66,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_VALUE_UNSPECIFIED(0), /** - * - * *
      * The evaluation result is `true`.
      * 
@@ -98,8 +74,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ TRUE(1), /** - * - * *
      * The evaluation result is `false`.
      * 
@@ -108,8 +82,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
@@ -123,8 +95,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Reserved for future use.
      * 
@@ -133,8 +103,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_VALUE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The evaluation result is `true`.
      * 
@@ -143,8 +111,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRUE_VALUE = 1; /** - * - * *
      * The evaluation result is `false`.
      * 
@@ -153,8 +119,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
@@ -165,6 +129,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(
@@ -189,44 +154,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);
     }
 
@@ -235,7 +196,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;
@@ -255,42 +217,30 @@ private EvaluationValue(int value) {
   public static final int EVALUATION_VALUE_FIELD_NUMBER = 1;
   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; - * * @return The evaluationValue. */ - @java.lang.Override - public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.forNumber(evaluationValue_); - return result == null - ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.forNumber(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; @@ -302,11 +252,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_); } getUnknownFields().writeTo(output); @@ -318,11 +266,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,13 +278,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -359,136 +304,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +437,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 @@ -519,11 +458,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.ConditionEvaluation result = new com.google.cloud.asset.v1.ConditionEvaluation(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -539,39 +475,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ConditionEvaluation result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -609,19 +544,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - evaluationValue_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + evaluationValue_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,34 +564,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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. */ @@ -669,38 +594,28 @@ public Builder setEvaluationValueValue(int value) { 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() { - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.forNumber(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.forNumber(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(); } @@ -710,14 +625,11 @@ public Builder setEvaluationValue( return this; } /** - * - * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return This builder for chaining. */ public Builder clearEvaluationValue() { @@ -726,9 +638,9 @@ public Builder clearEvaluationValue() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -738,12 +650,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(); } @@ -752,27 +664,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConditionEvaluation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -787,4 +699,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ConditionEvaluation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java similarity index 55% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java index 316a06ba4cd8..999084a21084 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java index b266ac01c870..9c18d28f8423 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java +++ b/owl-bot-staging/java-asset/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 organization policy set on an asset.
    * 
@@ -69,8 +45,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ORG_POLICY(4), /** - * - * *
    * The 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 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 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java index 45a9786130e0..fe62efb6de3c 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java +++ b/owl-bot-staging/java-asset/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,47 +26,42 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
    * "organizations/123"), a folder number (such as "folders/123"), a project ID
-   * (such as "projects/my-project-id")", or a project number (such as
+   * (such as "projects/my-project-id"), or a project number (such as
    * "projects/12345").
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -93,33 +70,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 name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
    * "organizations/123"), a folder number (such as "folders/123"), a project ID
-   * (such as "projects/my-project-id")", or a project number (such as
+   * (such as "projects/my-project-id"), or a project number (such as
    * "projects/12345").
    * 
* * 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 { @@ -128,19 +105,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FEED_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -149,30 +122,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 { @@ -183,8 +156,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
@@ -193,7 +164,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 @@ -201,8 +171,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
@@ -211,7 +179,6 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ @java.lang.Override @@ -219,8 +186,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
@@ -236,7 +201,6 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,7 +212,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -274,7 +239,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,19 +250,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -322,136 +290,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +429,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 @@ -488,11 +450,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.CreateFeedRequest result = new com.google.cloud.asset.v1.CreateFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -506,7 +465,9 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateFeedRequest result) { result.feedId_ = feedId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null + ? feed_ + : feedBuilder_.build(); } } @@ -514,39 +475,38 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateFeedRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -594,31 +554,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - feedId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + feedId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFeedFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -628,29 +586,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
      * "organizations/123"), a folder number (such as "folders/123"), a project ID
-     * (such as "projects/my-project-id")", or a project number (such as
+     * (such as "projects/my-project-id"), or a project number (such as
      * "projects/12345").
      * 
* * 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; @@ -659,25 +614,24 @@ 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
      * "organizations/123"), a folder number (such as "folders/123"), a project ID
-     * (such as "projects/my-project-id")", or a project number (such as
+     * (such as "projects/my-project-id"), or a project number (such as
      * "projects/12345").
      * 
* * 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 { @@ -685,43 +639,36 @@ 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
      * "organizations/123"), a folder number (such as "folders/123"), a project ID
-     * (such as "projects/my-project-id")", or a project number (such as
+     * (such as "projects/my-project-id"), or a project number (such as
      * "projects/12345").
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
      * "organizations/123"), a folder number (such as "folders/123"), a project ID
-     * (such as "projects/my-project-id")", or a project number (such as
+     * (such as "projects/my-project-id"), or a project number (such as
      * "projects/12345").
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -731,25 +678,21 @@ public Builder clearParent() { 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
      * "organizations/123"), a folder number (such as "folders/123"), a project ID
-     * (such as "projects/my-project-id")", or a project number (such as
+     * (such as "projects/my-project-id"), or a project number (such as
      * "projects/12345").
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -759,21 +702,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; @@ -782,22 +723,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 { @@ -805,37 +745,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFeedId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } feedId_ = value; bitField0_ |= 0x00000002; 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() { @@ -845,22 +778,18 @@ public Builder clearFeedId() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFeedIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); feedId_ = value; bitField0_ |= 0x00000002; @@ -870,13 +799,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
@@ -885,15 +809,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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
@@ -902,7 +823,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() { @@ -913,8 +833,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
@@ -938,8 +856,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
@@ -949,7 +865,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();
       } else {
@@ -960,8 +877,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
@@ -973,9 +888,9 @@ 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 (((bitField0_ & 0x00000004) != 0)
-            && feed_ != null
-            && feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          feed_ != null &&
+          feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
           getFeedBuilder().mergeFrom(value);
         } else {
           feed_ = value;
@@ -988,8 +903,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
@@ -1010,8 +923,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
@@ -1027,8 +938,6 @@ public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
       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
@@ -1042,12 +951,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
@@ -1058,24 +966,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);
     }
 
@@ -1085,12 +990,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();
   }
@@ -1099,27 +1004,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateFeedRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1134,4 +1039,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.CreateFeedRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
similarity index 75%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
index 8b873ad91afc..0de45d4c94de 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
@@ -1,91 +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 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
    * "organizations/123"), a folder number (such as "folders/123"), a project ID
-   * (such as "projects/my-project-id")", or a project number (such as
+   * (such as "projects/my-project-id"), or a project number (such as
    * "projects/12345").
    * 
* * 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
    * "organizations/123"), a folder number (such as "folders/123"), a project ID
-   * (such as "projects/my-project-id")", or a project number (such as
+   * (such as "projects/my-project-id"), or a project number (such as
    * "projects/12345").
    * 
* * 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
similarity index 66%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
index 9a9b1bb985cf..d958b02015f9 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
+++ b/owl-bot-staging/java-asset/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,49 +26,42 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
    * (such as "organizations/123"), a folder number (such as "folders/123"), a
-   * project ID (such as "projects/my-project-id")", or a project number (such
-   * as "projects/12345").
+   * 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 @@ -95,35 +70,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 name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
    * (such as "organizations/123"), a folder number (such as "folders/123"), a
-   * project ID (such as "projects/my-project-id")", or a project number (such
-   * as "projects/12345").
+   * 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 { @@ -134,17 +107,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 @@ -152,51 +120,35 @@ 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() { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } public static final int SAVED_QUERY_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -208,7 +160,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 @@ -217,15 +168,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
@@ -237,15 +187,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 { @@ -254,7 +205,6 @@ public com.google.protobuf.ByteString getSavedQueryIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,7 +240,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_); @@ -302,20 +254,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,135 +295,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +433,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 @@ -506,11 +454,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.CreateSavedQueryRequest result = new com.google.cloud.asset.v1.CreateSavedQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -521,7 +466,9 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateSavedQueryRequest res result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.savedQuery_ = savedQueryBuilder_ == null ? savedQuery_ : savedQueryBuilder_.build(); + result.savedQuery_ = savedQueryBuilder_ == null + ? savedQuery_ + : savedQueryBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.savedQueryId_ = savedQueryId_; @@ -532,39 +479,38 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateSavedQueryRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -572,8 +518,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_; bitField0_ |= 0x00000001; @@ -613,31 +558,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getSavedQueryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - savedQueryId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getSavedQueryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + savedQueryId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,31 +590,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
      * (such as "organizations/123"), a folder number (such as "folders/123"), a
-     * project ID (such as "projects/my-project-id")", or a project number (such
-     * as "projects/12345").
+     * 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; @@ -680,27 +618,24 @@ 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
      * (such as "organizations/123"), a folder number (such as "folders/123"), a
-     * project ID (such as "projects/my-project-id")", or a project number (such
-     * as "projects/12345").
+     * 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 { @@ -708,47 +643,36 @@ 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
      * (such as "organizations/123"), a folder number (such as "folders/123"), a
-     * project ID (such as "projects/my-project-id")", or a project number (such
-     * as "projects/12345").
+     * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
      * (such as "organizations/123"), a folder number (such as "folders/123"), a
-     * project ID (such as "projects/my-project-id")", or a project number (such
-     * as "projects/12345").
+     * 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() { @@ -758,27 +682,21 @@ public Builder clearParent() { 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
      * (such as "organizations/123"), a folder number (such as "folders/123"), a
-     * project ID (such as "projects/my-project-id")", or a project number (such
-     * as "projects/12345").
+     * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,61 +706,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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) { @@ -858,18 +757,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(); } else { @@ -880,22 +776,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 (((bitField0_ & 0x00000002) != 0) - && savedQuery_ != null - && savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + savedQuery_ != null && + savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { getSavedQueryBuilder().mergeFrom(value); } else { savedQuery_ = value; @@ -908,16 +800,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -930,16 +818,12 @@ 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() { bitField0_ |= 0x00000002; @@ -947,50 +831,38 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { 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_; @@ -998,8 +870,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
@@ -1011,13 +881,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; @@ -1026,8 +896,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
@@ -1039,14 +907,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 { @@ -1054,8 +923,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
@@ -1067,22 +934,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSavedQueryId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } savedQueryId_ = value; bitField0_ |= 0x00000004; 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
@@ -1094,7 +957,6 @@ 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() { @@ -1104,8 +966,6 @@ public Builder clearSavedQueryId() { 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
@@ -1117,23 +977,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSavedQueryIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); savedQueryId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1143,12 +1001,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(); } @@ -1157,27 +1015,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,4 +1050,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.CreateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java index 52805371207f..968203b54d36 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java @@ -1,112 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
    * (such as "organizations/123"), a folder number (such as "folders/123"), a
-   * project ID (such as "projects/my-project-id")", or a project number (such
-   * as "projects/12345").
+   * 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 name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
    * (such as "organizations/123"), a folder number (such as "folders/123"), a
-   * project ID (such as "projects/my-project-id")", or a project number (such
-   * as "projects/12345").
+   * 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(); /** - * - * *
    * 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java index c50b2ed1c9d9..32b7c43bcac0 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java @@ -1,71 +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; -/** 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -73,10 +55,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 @@ -85,15 +64,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
@@ -101,18 +79,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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -157,15 +134,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,128 +161,126 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +290,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 @@ -336,11 +311,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.DeleteFeedRequest result = new com.google.cloud.asset.v1.DeleteFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -356,39 +328,38 @@ private void buildPartial0(com.google.cloud.asset.v1.DeleteFeedRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -428,19 +399,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,13 +419,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -464,16 +430,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; @@ -482,8 +446,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
@@ -491,17 +453,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 { @@ -509,8 +470,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
@@ -518,25 +477,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -544,10 +497,7 @@ 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() { @@ -557,8 +507,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -566,26 +514,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,12 +539,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(); } @@ -609,27 +553,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000000..cf666128a512 --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java similarity index 64% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java index b733540f04bb..a850aa8bd682 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -82,10 +60,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 @@ -94,15 +69,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:
@@ -111,18 +85,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 { @@ -131,7 +104,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +140,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,135 +168,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +300,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 @@ -354,11 +321,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.DeleteSavedQueryRequest result = new com.google.cloud.asset.v1.DeleteSavedQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -374,39 +338,38 @@ private void buildPartial0(com.google.cloud.asset.v1.DeleteSavedQueryRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -414,8 +377,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_; bitField0_ |= 0x00000001; @@ -447,19 +409,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,13 +429,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -484,16 +441,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; @@ -502,8 +457,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -512,17 +465,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 { @@ -530,8 +482,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -540,25 +490,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -567,10 +511,7 @@ 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() { @@ -580,8 +521,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -590,26 +529,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +554,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(); } @@ -633,27 +568,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,4 +603,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java similarity index 50% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java index eba137a41a0a..80e6bbfad869 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java similarity index 79% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java index 2a0a053db434..459fde788330 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java +++ b/owl-bot-staging/java-asset/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,37 +28,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -84,10 +62,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 @@ -96,15 +71,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
@@ -112,18 +86,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 { @@ -134,8 +107,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).
@@ -145,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -153,8 +123,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).
@@ -164,7 +132,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -172,8 +139,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).
@@ -190,12 +155,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -214,15 +176,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".
@@ -241,15 +201,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".
@@ -268,7 +225,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. */ @@ -276,8 +232,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".
@@ -296,65 +250,51 @@ 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_ = 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; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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 @@ -362,51 +302,35 @@ 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() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -426,15 +350,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
@@ -454,15 +376,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
@@ -482,7 +401,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. */ @@ -490,8 +408,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
@@ -511,16 +427,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; @@ -532,7 +447,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -542,8 +458,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) { @@ -565,7 +480,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; @@ -575,12 +491,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; @@ -598,26 +515,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -654,136 +575,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -808,9 +723,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 @@ -829,12 +744,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -858,14 +770,17 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsRequest result) result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.outputConfig_ = - outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); + result.outputConfig_ = outputConfigBuilder_ == null + ? outputConfig_ + : outputConfigBuilder_.build(); } } @@ -873,39 +788,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -974,51 +888,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: - { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getOutputConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1028,13 +939,10 @@ public Builder mergeFrom( } // finally 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
@@ -1042,16 +950,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; @@ -1060,8 +966,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
@@ -1069,17 +973,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 { @@ -1087,8 +990,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
@@ -1096,25 +997,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1122,10 +1017,7 @@ 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() { @@ -1135,8 +1027,6 @@ public Builder clearParent() { 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
@@ -1144,17 +1034,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1164,13 +1050,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).
@@ -1180,15 +1061,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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).
@@ -1198,7 +1076,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1209,8 +1086,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).
@@ -1235,8 +1110,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).
@@ -1247,7 +1120,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();
       } else {
@@ -1258,8 +1132,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).
@@ -1272,9 +1144,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1287,8 +1159,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).
@@ -1310,8 +1180,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).
@@ -1328,8 +1196,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1344,12 +1210,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).
@@ -1361,34 +1226,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1407,15 +1265,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".
@@ -1434,15 +1290,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".
@@ -1461,7 +1314,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. */ @@ -1469,8 +1321,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".
@@ -1489,16 +1339,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".
@@ -1517,23 +1365,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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".
@@ -1552,22 +1396,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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".
@@ -1586,19 +1426,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".
@@ -1617,7 +1456,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1627,8 +1465,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1647,14 +1483,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1664,31 +1498,24 @@ 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. */ @@ -1699,33 +1526,26 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1739,15 +1559,12 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1759,61 +1576,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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) { @@ -1829,18 +1627,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(); } else { @@ -1851,22 +1646,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 (((bitField0_ & 0x00000010) != 0) - && outputConfig_ != null - && outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + outputConfig_ != null && + outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -1879,16 +1670,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1901,16 +1688,12 @@ 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() { bitField0_ |= 0x00000010; @@ -1918,67 +1701,51 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { 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_ & 0x00000020) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1998,15 +1765,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
@@ -2026,15 +1791,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
@@ -2054,7 +1816,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. */ @@ -2062,8 +1823,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
@@ -2083,16 +1842,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
@@ -2112,23 +1869,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -2148,22 +1901,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypes( + java.lang.String value) { + if (value == null) { 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
@@ -2183,19 +1932,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
@@ -2215,7 +1963,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 6; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2225,8 +1972,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
@@ -2246,23 +1991,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -2272,12 +2015,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(); } @@ -2286,27 +2029,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2321,4 +2064,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java similarity index 87% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java index 01284605acd9..46cabddf1f1e 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java index 299dcae3866d..8f4176b986fb 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java +++ b/owl-bot-staging/java-asset/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,55 +14,51 @@
  *
  * 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;
   }
-
-  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 @@ -87,14 +66,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -102,8 +78,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -118,14 +92,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 @@ -133,25 +104,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.
    * 
@@ -160,16 +124,12 @@ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } 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 Cloud Storage object URIs where the assets are exported to.
@@ -179,7 +139,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 @@ -187,8 +146,6 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -198,18 +155,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 Cloud Storage object URIs where the assets are exported to.
@@ -222,13 +174,10 @@ public com.google.cloud.asset.v1.OutputResult getOutputResult() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder() {
-    return outputResult_ == null
-        ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance()
-        : outputResult_;
+    return outputResult_ == null ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -240,7 +189,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -260,13 +210,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -276,25 +229,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -324,104 +279,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]
@@ -432,32 +380,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -481,9 +430,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
@@ -502,11 +451,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.ExportAssetsResponse result = new com.google.cloud.asset.v1.ExportAssetsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -514,15 +460,19 @@ public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.outputConfig_ =
-            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
+        result.outputConfig_ = outputConfigBuilder_ == null
+            ? outputConfig_
+            : outputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.outputResult_ =
-            outputResultBuilder_ == null ? outputResult_ : outputResultBuilder_.build();
+        result.outputResult_ = outputResultBuilder_ == null
+            ? outputResult_
+            : outputResultBuilder_.build();
       }
     }
 
@@ -530,39 +480,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsResponse result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -606,31 +555,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getOutputResultFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOutputConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getOutputResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -640,38 +591,28 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -682,8 +623,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -704,15 +643,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(); } else { @@ -723,8 +661,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -733,9 +669,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -748,8 +684,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -767,8 +701,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -781,8 +713,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -793,12 +723,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.
      * 
@@ -806,17 +735,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_; @@ -824,47 +750,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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.
      * 
@@ -885,15 +798,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(); } else { @@ -904,8 +816,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder bu return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -914,9 +824,9 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder bu */ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && outputConfig_ != null - && outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + outputConfig_ != null && + outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -929,8 +839,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -948,8 +856,6 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -962,8 +868,6 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -974,14 +878,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.
      * 
@@ -989,17 +890,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_; @@ -1007,13 +905,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 Cloud Storage object URIs where the assets are exported to.
@@ -1023,15 +916,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -1041,21 +931,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 Cloud Storage object URIs where the assets are exported to.
@@ -1080,8 +965,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 Cloud Storage object URIs where the assets are exported to.
@@ -1092,7 +975,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();
       } else {
@@ -1103,8 +987,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 Cloud Storage object URIs where the assets are exported to.
@@ -1117,9 +999,9 @@ public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult.Builder bu
      */
     public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       if (outputResultBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && outputResult_ != null
-            && outputResult_ != com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          outputResult_ != null &&
+          outputResult_ != com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) {
           getOutputResultBuilder().mergeFrom(value);
         } else {
           outputResult_ = value;
@@ -1132,8 +1014,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 Cloud Storage object URIs where the assets are exported to.
@@ -1155,8 +1035,6 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -1173,8 +1051,6 @@ public com.google.cloud.asset.v1.OutputResult.Builder getOutputResultBuilder() {
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -1189,14 +1065,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 Cloud Storage object URIs where the assets are exported to.
@@ -1208,24 +1081,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);
     }
 
@@ -1235,12 +1105,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();
   }
@@ -1249,27 +1119,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExportAssetsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1284,4 +1154,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
index 62697c8d889d..ce36f5c20b45 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
+++ b/owl-bot-staging/java-asset/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 Cloud Storage object URIs where the assets are exported to.
@@ -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 Cloud Storage object URIs where the assets are exported to.
@@ -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 Cloud Storage object URIs where the assets are exported to.
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
similarity index 81%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
index 2024eaf76889..92ba5086d5a6 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
+++ b/owl-bot-staging/java-asset/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,36 +33,33 @@ 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;
   }
-
-  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);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -100,15 +78,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
@@ -119,15 +96,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 { @@ -136,12 +114,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -153,15 +128,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
@@ -173,15 +146,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
@@ -193,7 +163,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. */ @@ -201,8 +170,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
@@ -214,21 +181,18 @@ 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; - @SuppressWarnings("serial") 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
@@ -239,15 +203,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
@@ -258,15 +220,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
@@ -277,7 +236,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. */ @@ -285,8 +243,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
@@ -297,65 +253,51 @@ 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_ = 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; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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 @@ -363,49 +305,34 @@ 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() { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } 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
@@ -421,7 +348,6 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
    * 
* * .google.type.Expr condition = 6; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -429,8 +355,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
@@ -446,7 +370,6 @@ public boolean hasCondition() {
    * 
* * .google.type.Expr condition = 6; - * * @return The condition. */ @java.lang.Override @@ -454,8 +377,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
@@ -478,12 +399,9 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
   }
 
   public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7;
-
   @SuppressWarnings("serial")
   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
@@ -504,15 +422,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
@@ -533,15 +449,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
@@ -562,7 +475,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. */ @@ -570,8 +482,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
@@ -592,16 +502,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; @@ -613,7 +522,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -623,8 +533,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) { @@ -664,15 +573,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; @@ -690,26 +601,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -750,103 +667,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.
@@ -857,31 +768,33 @@ 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);
     }
 
     // Construct using com.google.cloud.asset.v1.Feed.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -908,9 +821,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
@@ -931,9 +844,7 @@ public com.google.cloud.asset.v1.Feed build() {
     public com.google.cloud.asset.v1.Feed buildPartial() {
       com.google.cloud.asset.v1.Feed result = new com.google.cloud.asset.v1.Feed(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -965,11 +876,14 @@ private void buildPartial0(com.google.cloud.asset.v1.Feed result) {
         result.contentType_ = contentType_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.feedOutputConfig_ =
-            feedOutputConfigBuilder_ == null ? feedOutputConfig_ : feedOutputConfigBuilder_.build();
+        result.feedOutputConfig_ = feedOutputConfigBuilder_ == null
+            ? feedOutputConfig_
+            : feedOutputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null
+            ? condition_
+            : conditionBuilder_.build();
       }
     }
 
@@ -977,39 +891,38 @@ private void buildPartial0(com.google.cloud.asset.v1.Feed result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1088,59 +1001,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAssetNamesIsMutable();
-                assetNames_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAssetTypesIsMutable();
-                assetTypes_.add(s);
-                break;
-              } // case 26
-            case 32:
-              {
-                contentType_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(
-                    getFeedOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureRelationshipTypesIsMutable();
-                relationshipTypes_.add(s);
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAssetNamesIsMutable();
+              assetNames_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAssetTypesIsMutable();
+              assetTypes_.add(s);
+              break;
+            } // case 26
+            case 32: {
+              contentType_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getFeedOutputConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getConditionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureRelationshipTypesIsMutable();
+              relationshipTypes_.add(s);
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1150,13 +1058,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1167,13 +1072,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; @@ -1182,8 +1087,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1194,14 +1097,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 { @@ -1209,8 +1113,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1221,22 +1123,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1247,7 +1145,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1257,8 +1154,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1269,14 +1164,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1284,18 +1177,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000002) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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
@@ -1307,15 +1196,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
@@ -1327,15 +1214,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
@@ -1347,7 +1231,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. */ @@ -1355,8 +1238,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
@@ -1368,16 +1249,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
@@ -1389,23 +1268,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetNames( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1417,22 +1292,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetNames( + java.lang.String value) { + if (value == null) { 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
@@ -1444,19 +1315,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
@@ -1468,7 +1338,6 @@ public Builder addAllAssetNames(java.lang.Iterable values) {
      * 
* * repeated string asset_names = 2; - * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1478,8 +1347,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
@@ -1491,14 +1358,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); @@ -1506,18 +1371,14 @@ public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * 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
@@ -1528,15 +1389,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
@@ -1547,15 +1406,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
@@ -1566,7 +1422,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. */ @@ -1574,8 +1429,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
@@ -1586,16 +1439,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
@@ -1606,23 +1457,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1633,22 +1480,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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
@@ -1659,19 +1502,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
@@ -1682,7 +1524,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1692,8 +1533,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
@@ -1704,14 +1543,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1721,31 +1558,24 @@ 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. */ @@ -1756,33 +1586,26 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1796,15 +1619,12 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1816,61 +1636,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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) { @@ -1886,16 +1687,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) { @@ -1909,23 +1706,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 (((bitField0_ & 0x00000010) != 0) - && feedOutputConfig_ != null - && feedOutputConfig_ - != com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + feedOutputConfig_ != null && + feedOutputConfig_ != com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance()) { getFeedOutputConfigBuilder().mergeFrom(value); } else { feedOutputConfig_ = value; @@ -1938,16 +1730,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1960,16 +1748,12 @@ 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() { bitField0_ |= 0x00000010; @@ -1977,50 +1761,38 @@ public com.google.cloud.asset.v1.FeedOutputConfig.Builder getFeedOutputConfigBui 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_; @@ -2028,11 +1800,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
@@ -2048,15 +1817,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2072,7 +1838,6 @@ public boolean hasCondition() {
      * 
* * .google.type.Expr condition = 6; - * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -2083,8 +1848,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
@@ -2115,8 +1878,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
@@ -2133,7 +1894,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();
       } else {
@@ -2144,8 +1906,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
@@ -2164,9 +1924,9 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
      */
     public Builder mergeCondition(com.google.type.Expr value) {
       if (conditionBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && condition_ != null
-            && condition_ != com.google.type.Expr.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          condition_ != null &&
+          condition_ != com.google.type.Expr.getDefaultInstance()) {
           getConditionBuilder().mergeFrom(value);
         } else {
           condition_ = value;
@@ -2179,8 +1939,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
@@ -2208,8 +1966,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
@@ -2232,8 +1988,6 @@ public com.google.type.Expr.Builder getConditionBuilder() {
       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
@@ -2254,12 +2008,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
@@ -2277,30 +2030,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_ & 0x00000040) != 0)) {
         relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_);
         bitField0_ |= 0x00000040;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2321,15 +2071,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
@@ -2350,15 +2098,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
@@ -2379,7 +2124,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. */ @@ -2387,8 +2131,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
@@ -2409,16 +2151,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
@@ -2439,23 +2179,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -2476,22 +2212,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypes( + java.lang.String value) { + if (value == null) { 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
@@ -2512,19 +2244,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
@@ -2545,7 +2276,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 7; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2555,8 +2285,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
@@ -2577,23 +2305,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -2603,12 +2329,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(); } @@ -2617,27 +2343,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2652,4 +2378,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java similarity index 100% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java similarity index 89% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java index 3a9a8f7e2632..1086910dc923 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java index 8c94e8411aed..e76d51e489bc 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java @@ -1,81 +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; /** - * - * *
  * 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; } - - 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; } @@ -91,34 +70,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 @@ -126,26 +100,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.
    * 
@@ -155,13 +124,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; @@ -173,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1.PubsubDestination) destination_); } @@ -187,9 +156,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,18 +167,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: @@ -239,136 +207,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +344,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 @@ -403,11 +365,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.FeedOutputConfig result = new com.google.cloud.asset.v1.FeedOutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -420,7 +379,8 @@ private void buildPartial0(com.google.cloud.asset.v1.FeedOutputConfig result) { private void buildPartialOneofs(com.google.cloud.asset.v1.FeedOutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && pubsubDestinationBuilder_ != null) { + if (destinationCase_ == 1 && + pubsubDestinationBuilder_ != null) { result.destination_ = pubsubDestinationBuilder_.build(); } } @@ -429,39 +389,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.FeedOutputConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -471,15 +430,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.getUnknownFields()); onChanged(); @@ -507,20 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getPubsubDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPubsubDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,12 +486,12 @@ public Builder mergeFrom( } // finally 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() { @@ -548,19 +504,13 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -568,14 +518,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 @@ -593,8 +540,6 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { } } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -615,8 +560,6 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1.PubsubDestination return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -635,8 +578,6 @@ public Builder setPubsubDestination( return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -645,13 +586,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; } @@ -667,8 +605,6 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestinatio return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -692,8 +628,6 @@ public Builder clearPubsubDestination() { return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -704,8 +638,6 @@ public com.google.cloud.asset.v1.PubsubDestination.Builder getPubsubDestinationB return getPubsubDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -724,8 +656,6 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination } } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -733,19 +663,14 @@ 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()); @@ -755,9 +680,9 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination 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); } @@ -767,12 +692,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(); } @@ -781,27 +706,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -816,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java similarity index 61% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java index 4d58fa3e40f0..ac8bae6335c6 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java similarity index 100% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java index 0e13b33240c8..60b6c02ff59d 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java @@ -1,82 +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/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; } - - 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; } @@ -92,30 +71,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
@@ -128,15 +102,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
@@ -149,7 +120,6 @@ public boolean hasUri() {
    * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { @@ -160,7 +130,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; @@ -169,8 +140,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
@@ -183,17 +152,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; } @@ -205,8 +175,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:
@@ -220,15 +188,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:
@@ -242,7 +207,6 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -253,7 +217,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; @@ -262,8 +227,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:
@@ -277,17 +240,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; } @@ -298,7 +262,6 @@ public com.google.protobuf.ByteString getUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -340,7 +304,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); @@ -350,10 +314,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: @@ -386,136 +352,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,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_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 @@ -547,11 +507,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.GcsDestination result = new com.google.cloud.asset.v1.GcsDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -570,39 +527,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.GcsDestination result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -612,24 +568,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.getUnknownFields()); onChanged(); @@ -657,27 +610,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -687,12 +637,12 @@ public Builder mergeFrom( } // finally 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() { @@ -705,8 +655,6 @@ public Builder clearObjectUri() { private int bitField0_; /** - * - * *
      * 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
@@ -719,7 +667,6 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; - * * @return Whether the uri field is set. */ @java.lang.Override @@ -727,8 +674,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
@@ -741,7 +686,6 @@ public boolean hasUri() {
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -751,7 +695,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; @@ -762,8 +707,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
@@ -776,18 +719,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; } @@ -797,8 +741,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
@@ -811,22 +753,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { 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
@@ -839,7 +777,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -851,8 +788,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
@@ -865,14 +800,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); objectUriCase_ = 1; objectUri_ = value; @@ -881,8 +814,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:
@@ -896,7 +827,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -904,8 +834,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:
@@ -919,7 +847,6 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ @java.lang.Override @@ -929,7 +856,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; @@ -940,8 +868,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:
@@ -955,18 +881,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; } @@ -976,8 +903,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:
@@ -991,22 +916,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriPrefix( + java.lang.String value) { + if (value == null) { 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:
@@ -1020,7 +941,6 @@ public Builder setUriPrefix(java.lang.String value) {
      * 
* * string uri_prefix = 2; - * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -1032,8 +952,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:
@@ -1047,23 +965,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -1073,12 +989,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(); } @@ -1087,27 +1003,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java similarity index 84% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java index 33667bef0680..0786b7825bce 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java index 89719f6d9000..233d62e38d0d 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java @@ -1,116 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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; } - - 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; - @SuppressWarnings("serial") 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. */ @@ -118,24 +90,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; @@ -147,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -176,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +175,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +309,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 @@ -366,12 +330,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -392,39 +353,38 @@ private void buildPartial0(com.google.cloud.asset.v1.GcsOutputResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -469,20 +429,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,58 +450,47 @@ public Builder mergeFrom( } // finally 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. */ @@ -551,95 +498,81 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUris( + int index, java.lang.String value) { + if (value == null) { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUris( + java.lang.String value) { + if (value == null) { 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() { @@ -649,31 +582,27 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -683,12 +612,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(); } @@ -697,27 +626,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -732,4 +661,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java index d6fce58aad33..e1f765036b18 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java similarity index 63% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java index 18df0bfd799a..b353d52ef1f7 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") 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
@@ -81,10 +59,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 @@ -93,15 +68,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
@@ -109,18 +83,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 { @@ -129,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -165,14 +138,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +165,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +298,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 @@ -351,11 +319,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.GetFeedRequest result = new com.google.cloud.asset.v1.GetFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +336,38 @@ private void buildPartial0(com.google.cloud.asset.v1.GetFeedRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -443,19 +407,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -479,16 +438,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; @@ -497,8 +454,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
@@ -506,17 +461,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 { @@ -524,8 +478,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
@@ -533,25 +485,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -559,10 +505,7 @@ 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() { @@ -572,8 +515,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -581,26 +522,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,12 +547,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(); } @@ -624,27 +561,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -659,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000000..fb82dab2672d --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java similarity index 64% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java index 4c71c2766186..9145fe4bca16 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") 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
@@ -81,10 +59,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 @@ -93,15 +68,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
@@ -109,18 +83,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 { @@ -129,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -165,15 +138,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,136 +165,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +298,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 @@ -352,11 +319,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.GetSavedQueryRequest result = new com.google.cloud.asset.v1.GetSavedQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -372,39 +336,38 @@ private void buildPartial0(com.google.cloud.asset.v1.GetSavedQueryRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -444,19 +407,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -480,16 +438,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; @@ -498,8 +454,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
@@ -507,17 +461,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 { @@ -525,8 +478,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
@@ -534,25 +485,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -560,10 +505,7 @@ 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() { @@ -573,8 +515,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -582,26 +522,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +547,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(); } @@ -625,27 +561,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java new file mode 100644 index 000000000000..66de7ef847e8 --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java similarity index 66% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java index d2950c6caa31..35a7c76e23e2 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java @@ -1,78 +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; /** - * - * *
  * 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; } - - 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
@@ -85,13 +64,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
@@ -104,67 +80,60 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -177,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -186,15 +154,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
@@ -207,15 +174,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 { @@ -224,7 +192,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -260,16 +228,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,95 +256,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 @@ -387,43 +346,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,22 +388,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); } @@ -457,17 +409,13 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.uri_ = uri_; @@ -478,54 +426,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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_; bitField0_ |= 0x00000001; @@ -557,19 +497,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -579,13 +517,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -598,13 +533,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; @@ -613,8 +548,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
@@ -627,14 +560,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 { @@ -642,8 +576,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
@@ -656,22 +588,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uri_ = value; bitField0_ |= 0x00000001; 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
@@ -684,7 +612,6 @@ public Builder setUri(java.lang.String value) {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -694,8 +621,6 @@ public Builder clearUri() { 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
@@ -708,21 +633,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -735,45 +657,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -785,20 +703,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
@@ -807,13 +722,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
@@ -822,14 +734,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
@@ -842,13 +752,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
@@ -861,44 +768,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:
@@ -914,13 +808,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:
@@ -936,30 +827,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_ = ""; @@ -969,34 +857,30 @@ 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; } - - 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
@@ -1004,13 +888,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.
@@ -1020,8 +902,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
@@ -1035,8 +915,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -1046,8 +924,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
@@ -1058,6 +934,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(
@@ -1082,50 +959,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;
@@ -1143,12 +1018,9 @@ private PartitionKey(int value) {
     }
 
     public static final int DATASET_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object dataset_ = "";
     /**
-     *
-     *
      * 
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1157,7 +1029,6 @@ private PartitionKey(int value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -1166,15 +1037,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
@@ -1183,15 +1053,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 { @@ -1200,12 +1071,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_PREFIX_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -1218,7 +1086,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tablePrefix. */ @java.lang.Override @@ -1227,15 +1094,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
@@ -1248,15 +1114,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 { @@ -1267,55 +1134,33 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { public static final int PARTITION_KEY_FIELD_NUMBER = 3; 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; * @return The partitionKey. */ - @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - getPartitionKey() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - result = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.forNumber(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.forNumber(partitionKey_); + return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; } public static final int WRITE_DISPOSITION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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:
@@ -1331,7 +1176,6 @@ public int getPartitionKeyValue() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The writeDisposition. */ @java.lang.Override @@ -1340,15 +1184,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:
@@ -1364,15 +1207,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 { @@ -1381,7 +1225,6 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1393,17 +1236,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_)) { @@ -1424,11 +1265,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_); @@ -1441,19 +1280,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1478,101 +1318,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 @@ -1582,43 +1409,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1631,22 +1454,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); } @@ -1654,19 +1474,14 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + 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); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataset_ = dataset_; @@ -1686,55 +1501,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.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_; bitField0_ |= 0x00000001; @@ -1779,37 +1585,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - tablePrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - partitionKey_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - writeDisposition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + tablePrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + partitionKey_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + writeDisposition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1819,13 +1620,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dataset_ = ""; /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1834,13 +1632,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; @@ -1849,8 +1647,6 @@ public java.lang.String getDataset() { } } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1859,14 +1655,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 { @@ -1874,8 +1671,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1884,22 +1679,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1908,7 +1699,6 @@ public Builder setDataset(java.lang.String value) {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { @@ -1918,8 +1708,6 @@ public Builder clearDataset() { return this; } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1928,14 +1716,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -1945,8 +1731,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
@@ -1959,13 +1743,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; @@ -1974,8 +1758,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
@@ -1988,14 +1770,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 { @@ -2003,8 +1786,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
@@ -2017,22 +1798,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTablePrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tablePrefix_ = value; bitField0_ |= 0x00000002; 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
@@ -2045,7 +1822,6 @@ public Builder setTablePrefix(java.lang.String value) {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -2055,8 +1831,6 @@ public Builder clearTablePrefix() { 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
@@ -2069,14 +1843,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tablePrefix_ = value; bitField0_ |= 0x00000002; @@ -2086,33 +1858,22 @@ 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. */ @@ -2123,48 +1884,28 @@ public Builder setPartitionKeyValue(int value) { 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() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - result = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.forNumber(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.UNRECOGNIZED - : result; + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.forNumber(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(); } @@ -2174,16 +1915,11 @@ public Builder setPartitionKey( 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() { @@ -2195,8 +1931,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:
@@ -2212,13 +1946,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; @@ -2227,8 +1961,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:
@@ -2244,14 +1976,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 { @@ -2259,8 +1992,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:
@@ -2276,22 +2007,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteDisposition( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeDisposition_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2307,7 +2034,6 @@ public Builder setWriteDisposition(java.lang.String value) {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -2317,8 +2043,6 @@ public Builder clearWriteDisposition() { return this; } /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2334,21 +2058,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteDispositionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeDisposition_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2361,45 +2082,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2411,24 +2128,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; } @@ -2444,37 +2158,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 @@ -2482,58 +2189,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 @@ -2541,52 +2232,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; @@ -2598,16 +2273,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_); } getUnknownFields().writeTo(output); } @@ -2619,18 +2291,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2640,21 +2306,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: @@ -2688,136 +2355,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2834,9 +2494,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 @@ -2855,11 +2515,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2869,14 +2526,15 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConf int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result) { + private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && + gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } - if (destinationCase_ == 2 && bigqueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && + bigqueryDestinationBuilder_ != null) { result.destination_ = bigqueryDestinationBuilder_.build(); } } @@ -2885,39 +2543,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -2925,23 +2582,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.getUnknownFields()); onChanged(); @@ -2969,26 +2622,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2998,12 +2651,12 @@ public Builder mergeFrom( } // finally 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() { @@ -3016,21 +2669,13 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -3038,49 +2683,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(); @@ -3094,19 +2725,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(); @@ -3117,29 +2743,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; } @@ -3155,15 +2770,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) { @@ -3182,74 +2793,50 @@ 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; @@ -3260,21 +2847,13 @@ public Builder clearGcsDestination() { } 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 @@ -3282,49 +2861,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(); @@ -3338,19 +2903,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(); @@ -3361,30 +2921,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; } @@ -3400,15 +2948,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) { @@ -3427,75 +2971,50 @@ 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; @@ -3504,9 +3023,9 @@ public Builder clearBigqueryDestination() { 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); } @@ -3516,12 +3035,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(); } @@ -3530,27 +3049,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3565,4 +3084,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java similarity index 50% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java index 0e02268b9e46..044214c54096 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java index 3b5cb1bcd02c..7b40a8470aa8 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java @@ -1,80 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - - 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)
@@ -83,13 +61,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)
@@ -98,14 +73,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
@@ -114,53 +87,48 @@ 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;
     }
-
-    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;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object fullResourceName_ = "";
     /**
-     *
-     *
      * 
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -169,7 +137,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 @@ -178,15 +145,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)
@@ -195,15 +161,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 { @@ -212,7 +179,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +190,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -248,15 +215,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,95 +243,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 @@ -374,8 +333,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
@@ -384,34 +341,33 @@ 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()
-      private Builder() {}
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -421,16 +377,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
@@ -444,17 +398,13 @@ 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);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result) {
+      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.fullResourceName_ = fullResourceName_;
@@ -465,53 +415,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.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_;
           bitField0_ |= 0x00000001;
@@ -543,19 +486,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  fullResourceName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                fullResourceName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -565,13 +506,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object fullResourceName_ = "";
       /**
-       *
-       *
        * 
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -580,13 +518,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; @@ -595,8 +533,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -605,14 +541,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 { @@ -620,8 +557,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -630,22 +565,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -654,7 +585,6 @@ 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() { @@ -664,8 +594,6 @@ public Builder clearFullResourceName() { return this; } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -674,21 +602,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -701,44 +626,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,20 +672,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
@@ -778,13 +697,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
@@ -799,14 +715,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,
@@ -815,53 +729,48 @@ 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;
     }
-
-    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;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object identity_ = "";
     /**
-     *
-     *
      * 
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -876,7 +785,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ @java.lang.Override @@ -885,15 +793,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
@@ -908,15 +815,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 { @@ -925,7 +833,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -937,7 +844,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -961,15 +869,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -989,95 +897,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 @@ -1087,8 +987,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,
@@ -1097,34 +995,33 @@ 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()
-      private Builder() {}
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1134,16 +1031,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
@@ -1157,17 +1052,13 @@ 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);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result) {
+      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.identity_ = identity_;
@@ -1178,53 +1069,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.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_;
           bitField0_ |= 0x00000001;
@@ -1256,19 +1140,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  identity_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                identity_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1278,13 +1160,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object identity_ = "";
       /**
-       *
-       *
        * 
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1299,13 +1178,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; @@ -1314,8 +1193,6 @@ public java.lang.String getIdentity() { } } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1330,14 +1207,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 { @@ -1345,8 +1223,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1361,22 +1237,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdentity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } identity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1391,7 +1263,6 @@ public Builder setIdentity(java.lang.String value) {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIdentity() { @@ -1401,8 +1272,6 @@ public Builder clearIdentity() { return this; } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1417,21 +1286,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdentityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1444,44 +1310,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentitySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1493,122 +1356,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
@@ -1619,16 +1459,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;
@@ -1636,71 +1475,61 @@ 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;
     }
-
-    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;
-
     @SuppressWarnings("serial")
     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. */ @@ -1708,62 +1537,51 @@ 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; - @SuppressWarnings("serial") 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. */ @@ -1771,23 +1589,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; @@ -1799,7 +1614,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1839,16 +1655,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1874,95 +1691,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 @@ -1972,8 +1781,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
@@ -1984,34 +1791,33 @@ 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()
-      private Builder() {}
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2024,14 +1830,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();
       }
 
@@ -2046,18 +1851,14 @@ 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);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
+      private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
         if (((bitField0_ & 0x00000001) != 0)) {
           roles_ = roles_.getUnmodifiableView();
           bitField0_ = (bitField0_ & ~0x00000001);
@@ -2070,8 +1871,7 @@ private void buildPartialRepeatedFields(
         result.permissions_ = permissions_;
       }
 
-      private void buildPartial0(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
+      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -2079,52 +1879,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.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_;
@@ -2171,27 +1965,24 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureRolesIsMutable();
-                  roles_.add(s);
-                  break;
-                } // case 10
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensurePermissionsIsMutable();
-                  permissions_.add(s);
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRolesIsMutable();
+                roles_.add(s);
+                break;
+              } // case 10
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensurePermissionsIsMutable();
+                permissions_.add(s);
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2201,55 +1992,44 @@ public Builder mergeFrom(
         } // finally
         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. */ @@ -2257,90 +2037,76 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRoles( + int index, java.lang.String value) { + if (value == null) { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRoles( + java.lang.String value) { + if (value == null) { 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() { @@ -2350,21 +2116,17 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); @@ -2372,52 +2134,42 @@ public Builder addRolesBytes(com.google.protobuf.ByteString value) { 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. */ @@ -2425,90 +2177,76 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPermissions( + int index, java.lang.String value) { + if (value == null) { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPermissions( + java.lang.String value) { + if (value == null) { 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() { @@ -2518,28 +2256,23 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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) { @@ -2552,44 +2285,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2601,20 +2331,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.
@@ -2628,14 +2355,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.
@@ -2647,14 +2371,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]
@@ -2681,28 +2402,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
@@ -2710,14 +2425,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
@@ -2751,66 +2463,58 @@ 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; } - - 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_ = false; /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -2824,7 +2528,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 @@ -2835,8 +2538,6 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_ = false; /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -2848,7 +2549,6 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -2859,8 +2559,6 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_ = false; /** - * - * *
      * Optional. If true and
      * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -2887,7 +2585,6 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -2898,15 +2595,12 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_ = false; /** - * - * *
      * 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 @@ -2917,8 +2611,6 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_ = false; /** - * - * *
      * Optional. If true, the result will output the relevant membership
      * relationships between groups and other groups, and between groups and
@@ -2926,7 +2618,6 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -2937,8 +2628,6 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_ = false; /** - * - * *
      * Optional. If true, the response will include access analysis from
      * identities to resources via service account impersonation. This is a very
@@ -2972,10 +2661,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 @@ -2984,7 +2670,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2996,7 +2681,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -3025,24 +2711,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3052,21 +2742,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3079,113 +2773,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) + getUnknownFields().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 @@ -3195,41 +2886,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3244,9 +2933,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 @@ -3265,11 +2954,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3300,41 +2986,38 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Opti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -3342,8 +3025,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()); } @@ -3388,49 +3070,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - expandGroups_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - expandRoles_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - expandResources_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - outputResourceEdges_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - outputGroupEdges_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - analyzeServiceAccountImpersonation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + expandGroups_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + expandRoles_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + expandResources_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + outputResourceEdges_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + outputGroupEdges_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + analyzeServiceAccountImpersonation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3440,13 +3115,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - 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.
@@ -3460,7 +3132,6 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -3468,8 +3139,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.
@@ -3483,20 +3152,17 @@ 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; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3510,7 +3176,6 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandGroups() { @@ -3520,10 +3185,8 @@ public Builder clearExpandGroups() { 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.
@@ -3535,7 +3198,6 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -3543,8 +3205,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.
@@ -3556,20 +3216,17 @@ 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3581,7 +3238,6 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandRoles() { @@ -3591,10 +3247,8 @@ public Builder clearExpandRoles() { return this; } - private boolean expandResources_; + private boolean expandResources_ ; /** - * - * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3621,7 +3275,6 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -3629,8 +3282,6 @@ public boolean getExpandResources() { return expandResources_; } /** - * - * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3657,20 +3308,17 @@ 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3697,7 +3345,6 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandResources() { @@ -3707,17 +3354,14 @@ public Builder clearExpandResources() { 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 @@ -3725,35 +3369,29 @@ 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; bitField0_ |= 0x00000008; 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() { @@ -3763,10 +3401,8 @@ public Builder clearOutputResourceEdges() { 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
@@ -3774,7 +3410,6 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -3782,8 +3417,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
@@ -3791,20 +3424,17 @@ 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; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3812,7 +3442,6 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { @@ -3822,10 +3451,8 @@ public Builder clearOutputGroupEdges() { 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
@@ -3859,10 +3486,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 @@ -3870,8 +3494,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
@@ -3905,23 +3527,18 @@ 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; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -3955,10 +3572,7 @@ 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() { @@ -3967,7 +3581,6 @@ public Builder clearAnalyzeServiceAccountImpersonation() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3980,12 +3593,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(); } @@ -3994,28 +3607,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4030,16 +3642,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
@@ -4047,13 +3657,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
@@ -4061,13 +3668,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
@@ -4078,67 +3682,60 @@ 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; } - - 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; } @@ -4154,28 +3751,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
@@ -4183,7 +3776,6 @@ public TimeContextCase getTimeContextCase() {
      * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4191,8 +3783,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
@@ -4200,19 +3790,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
@@ -4224,13 +3811,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;
@@ -4242,7 +3828,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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_);
       }
@@ -4256,9 +3843,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -4268,18 +3854,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:
@@ -4309,95 +3895,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
@@ -4407,42 +3985,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4456,16 +4031,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 @@ -4479,26 +4052,22 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { + private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { result.timeContextCase_ = timeContextCase_; result.timeContext_ = this.timeContext_; - if (timeContextCase_ == 1 && accessTimeBuilder_ != null) { + if (timeContextCase_ == 1 && + accessTimeBuilder_ != null) { result.timeContext_ = accessTimeBuilder_.build(); } } @@ -4507,63 +4076,54 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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.getUnknownFields()); onChanged(); @@ -4591,19 +4151,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAccessTimeFieldBuilder().getBuilder(), extensionRegistry); - timeContextCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAccessTimeFieldBuilder().getBuilder(), + extensionRegistry); + timeContextCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4613,12 +4173,12 @@ public Builder mergeFrom( } // finally 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() { @@ -4631,13 +4191,8 @@ public Builder clearTimeContext() { private int bitField0_; 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
@@ -4645,7 +4200,6 @@ public Builder clearTimeContext() {
        * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4653,8 +4207,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
@@ -4662,7 +4214,6 @@ public boolean hasAccessTime() {
        * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return The accessTime. */ @java.lang.Override @@ -4680,8 +4231,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
@@ -4704,8 +4253,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
@@ -4714,7 +4261,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();
@@ -4725,8 +4273,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
@@ -4737,13 +4283,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;
           }
@@ -4759,8 +4302,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
@@ -4786,8 +4327,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
@@ -4800,8 +4339,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
@@ -4822,8 +4359,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
@@ -4833,27 +4368,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();
         return accessTimeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4866,44 +4397,41 @@ 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 {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ConditionContext parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4915,19 +4443,16 @@ 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;
-
   @SuppressWarnings("serial")
   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.
@@ -4941,7 +4466,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -4950,15 +4474,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.
@@ -4972,15 +4495,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 { @@ -4991,16 +4515,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 @@ -5008,56 +4527,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() { - return resourceSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() - : resourceSelector_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { + return resourceSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } 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 @@ -5065,56 +4565,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() { - return identitySelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() - : identitySelector_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { + return identitySelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } 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 @@ -5122,56 +4603,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() { - return accessSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() - : accessSelector_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { + return accessSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } 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 @@ -5179,55 +4641,37 @@ 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() { - return options_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; } 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 @@ -5235,45 +4679,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() { - return conditionContext_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() - : conditionContext_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder() { + return conditionContext_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5285,7 +4714,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -5317,19 +4747,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5339,34 +4774,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5406,136 +4846,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5570,9 +5004,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 @@ -5591,11 +5025,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisQuery result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -5606,23 +5037,29 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery resu result.scope_ = scope_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.resourceSelector_ = - resourceSelectorBuilder_ == null ? resourceSelector_ : resourceSelectorBuilder_.build(); + result.resourceSelector_ = resourceSelectorBuilder_ == null + ? resourceSelector_ + : resourceSelectorBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.identitySelector_ = - identitySelectorBuilder_ == null ? identitySelector_ : identitySelectorBuilder_.build(); + result.identitySelector_ = identitySelectorBuilder_ == null + ? identitySelector_ + : identitySelectorBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.accessSelector_ = - accessSelectorBuilder_ == null ? accessSelector_ : accessSelectorBuilder_.build(); + result.accessSelector_ = accessSelectorBuilder_ == null + ? accessSelector_ + : accessSelectorBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build(); + result.options_ = optionsBuilder_ == null + ? options_ + : optionsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.conditionContext_ = - conditionContextBuilder_ == null ? conditionContext_ : conditionContextBuilder_.build(); + result.conditionContext_ = conditionContextBuilder_ == null + ? conditionContext_ + : conditionContextBuilder_.build(); } } @@ -5630,39 +5067,38 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -5670,8 +5106,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_; bitField0_ |= 0x00000001; @@ -5718,52 +5153,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getResourceSelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getIdentitySelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getAccessSelectorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage( - getConditionContextFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getResourceSelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getIdentitySelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getAccessSelectorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getConditionContextFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5773,13 +5208,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object scope_ = ""; /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5793,13 +5225,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; @@ -5808,8 +5240,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.
@@ -5823,14 +5253,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 { @@ -5838,8 +5269,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.
@@ -5853,22 +5282,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5882,7 +5307,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -5892,8 +5316,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5907,14 +5329,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -5924,61 +5344,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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(); @@ -5992,15 +5392,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) { @@ -6014,24 +5410,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 (((bitField0_ & 0x00000002) != 0) - && resourceSelector_ != null - && resourceSelector_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + resourceSelector_ != null && + resourceSelector_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance()) { getResourceSelectorBuilder().mergeFrom(value); } else { resourceSelector_ = value; @@ -6044,15 +5433,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -6065,66 +5450,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() { bitField0_ |= 0x00000002; 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_; @@ -6132,61 +5499,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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(); @@ -6200,15 +5547,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) { @@ -6222,24 +5565,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 (((bitField0_ & 0x00000004) != 0) - && identitySelector_ != null - && identitySelector_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + identitySelector_ != null && + identitySelector_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance()) { getIdentitySelectorBuilder().mergeFrom(value); } else { identitySelector_ = value; @@ -6252,15 +5588,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -6273,66 +5605,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() { bitField0_ |= 0x00000004; 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_; @@ -6340,61 +5654,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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(); @@ -6408,15 +5702,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) { @@ -6430,24 +5720,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 (((bitField0_ & 0x00000008) != 0) - && accessSelector_ != null - && accessSelector_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + accessSelector_ != null && + accessSelector_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance()) { getAccessSelectorBuilder().mergeFrom(value); } else { accessSelector_ = value; @@ -6460,15 +5743,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -6481,66 +5760,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() { bitField0_ |= 0x00000008; 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_; @@ -6548,58 +5809,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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) { @@ -6615,15 +5857,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) { @@ -6637,22 +5875,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 (((bitField0_ & 0x00000010) != 0) - && options_ != null - && options_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + options_ != null && + options_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -6665,15 +5898,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -6686,15 +5915,11 @@ 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() { bitField0_ |= 0x00000010; @@ -6702,48 +5927,36 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder getOptio 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_; @@ -6751,61 +5964,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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(); @@ -6819,15 +6012,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) { @@ -6841,24 +6030,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 (((bitField0_ & 0x00000020) != 0) - && conditionContext_ != null - && conditionContext_ - != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext - .getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + conditionContext_ != null && + conditionContext_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance()) { getConditionContextBuilder().mergeFrom(value); } else { conditionContext_ = value; @@ -6871,15 +6053,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() { bitField0_ = (bitField0_ & ~0x00000020); @@ -6892,73 +6070,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() { bitField0_ |= 0x00000020; 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); } @@ -6968,12 +6128,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(); } @@ -6982,27 +6142,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7017,4 +6177,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java similarity index 58% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java index 9d5e56d5946d..ed674b9206e1 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java index 94d18249a9ae..96d911c57d72 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java +++ b/owl-bot-staging/java-asset/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,89 +27,74 @@ 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;
   }
-
-  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.
      * 
@@ -137,68 +104,60 @@ 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; } - - 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; - @SuppressWarnings("serial") 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 @@ -207,30 +166,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 { @@ -241,14 +200,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 @@ -256,25 +212,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.
      * 
@@ -283,13 +232,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder() { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,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(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -321,7 +268,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,18 +279,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -367,94 +316,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 @@ -464,41 +406,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -513,14 +453,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(); } @@ -535,24 +474,21 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.analysisState_ = - analysisStateBuilder_ == null ? analysisState_ : analysisStateBuilder_.build(); + result.analysisState_ = analysisStateBuilder_ == null + ? analysisState_ + : analysisStateBuilder_.build(); } } @@ -560,41 +496,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -602,9 +535,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_; bitField0_ |= 0x00000001; @@ -639,25 +570,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAnalysisStateFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAnalysisStateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,26 +597,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -695,22 +622,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 { @@ -718,37 +644,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullResourceName_ = value; bitField0_ |= 0x00000001; 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() { @@ -758,22 +677,18 @@ public Builder clearFullResourceName() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -783,47 +698,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * 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.
        * 
@@ -844,8 +746,6 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -864,8 +764,6 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -874,10 +772,9 @@ public Builder setAnalysisState( */ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (analysisStateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && analysisState_ != null - && analysisState_ - != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + analysisState_ != null && + analysisState_ != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { getAnalysisStateBuilder().mergeFrom(value); } else { analysisState_ = value; @@ -890,8 +787,6 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -909,8 +804,6 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -923,8 +816,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -935,14 +826,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.
        * 
@@ -950,22 +838,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) { @@ -978,13 +862,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(); } @@ -993,28 +876,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,114 +911,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.
      * 
@@ -1145,68 +1003,61 @@ 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; } - - 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; } @@ -1222,50 +1073,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() { @@ -1276,7 +1118,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; @@ -1285,24 +1128,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; } @@ -1314,28 +1156,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() { @@ -1346,7 +1182,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; @@ -1355,24 +1192,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; } @@ -1385,14 +1221,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 @@ -1400,25 +1233,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.
      * 
@@ -1427,13 +1253,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder() { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1445,7 +1268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1471,7 +1295,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1481,25 +1306,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: @@ -1537,94 +1364,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 @@ -1634,41 +1454,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1684,9 +1502,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 @@ -1705,11 +1523,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1718,13 +1533,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.analysisState_ = - analysisStateBuilder_ == null ? analysisState_ : analysisStateBuilder_.build(); + result.analysisState_ = analysisStateBuilder_ == null + ? analysisState_ + : analysisStateBuilder_.build(); } } - private void buildPartialOneofs( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result) { + private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result) { result.oneofAccessCase_ = oneofAccessCase_; result.oneofAccess_ = this.oneofAccess_; } @@ -1733,41 +1548,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1775,30 +1587,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.getUnknownFields()); onChanged(); @@ -1826,33 +1634,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 1; - oneofAccess_ = s; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 2; - oneofAccess_ = s; - break; - } // case 18 - case 26: - { - input.readMessage(getAnalysisStateFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 1; + oneofAccess_ = s; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 2; + oneofAccess_ = s; + break; + } // case 18 + case 26: { + input.readMessage( + getAnalysisStateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1862,12 +1668,12 @@ public Builder mergeFrom( } // finally 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() { @@ -1880,14 +1686,11 @@ public Builder clearOneofAccess() { private int bitField0_; /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return Whether the role field is set. */ @java.lang.Override @@ -1895,14 +1698,11 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return The role. */ @java.lang.Override @@ -1912,7 +1712,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; @@ -1923,25 +1724,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; } @@ -1951,35 +1751,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRole( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); return this; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return This builder for chaining. */ public Builder clearRole() { @@ -1991,21 +1784,17 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); oneofAccessCase_ = 1; oneofAccess_ = value; @@ -2014,14 +1803,11 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return Whether the permission field is set. */ @java.lang.Override @@ -2029,14 +1815,11 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return The permission. */ @java.lang.Override @@ -2046,7 +1829,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; @@ -2057,25 +1841,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; } @@ -2085,35 +1868,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPermission( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); return this; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return This builder for chaining. */ public Builder clearPermission() { @@ -2125,21 +1901,17 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPermissionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); oneofAccessCase_ = 2; oneofAccess_ = value; @@ -2149,47 +1921,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * 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.
        * 
@@ -2210,8 +1969,6 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2230,8 +1987,6 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2240,10 +1995,9 @@ public Builder setAnalysisState( */ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (analysisStateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && analysisState_ != null - && analysisState_ - != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + analysisState_ != null && + analysisState_ != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { getAnalysisStateBuilder().mergeFrom(value); } else { analysisState_ = value; @@ -2256,8 +2010,6 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2275,8 +2027,6 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2289,8 +2039,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2301,14 +2049,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.
        * 
@@ -2316,22 +2061,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) { @@ -2344,12 +2085,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(); } @@ -2358,28 +2099,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Access parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2394,16 +2134,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
@@ -2419,13 +2157,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
@@ -2441,38 +2176,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.
      * 
@@ -2482,61 +2209,54 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2552,7 +2272,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2561,15 +2280,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
@@ -2585,15 +2303,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 { @@ -2604,14 +2323,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 @@ -2619,25 +2335,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.
      * 
@@ -2646,13 +2355,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder() { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2664,7 +2370,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2684,7 +2391,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2694,18 +2402,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2730,94 +2439,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 @@ -2827,41 +2529,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2876,14 +2576,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(); } @@ -2898,24 +2597,21 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.analysisState_ = - analysisStateBuilder_ == null ? analysisState_ : analysisStateBuilder_.build(); + result.analysisState_ = analysisStateBuilder_ == null + ? analysisState_ + : analysisStateBuilder_.build(); } } @@ -2923,41 +2619,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -2965,9 +2658,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_; bitField0_ |= 0x00000001; @@ -3002,25 +2693,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAnalysisStateFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAnalysisStateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3030,13 +2720,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3052,13 +2739,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; @@ -3067,8 +2754,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3084,14 +2769,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 { @@ -3099,8 +2785,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3116,22 +2800,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3147,7 +2827,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3157,8 +2836,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3174,14 +2851,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3191,47 +2866,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * 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.
        * 
@@ -3252,8 +2914,6 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3272,8 +2932,6 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3282,10 +2940,9 @@ public Builder setAnalysisState( */ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (analysisStateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && analysisState_ != null - && analysisState_ - != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + analysisState_ != null && + analysisState_ != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { getAnalysisStateBuilder().mergeFrom(value); } else { analysisState_ = value; @@ -3298,8 +2955,6 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3317,8 +2972,6 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3331,8 +2984,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3343,14 +2994,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.
        * 
@@ -3358,22 +3006,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) { @@ -3386,13 +3030,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(); } @@ -3401,28 +3044,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Identity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3437,86 +3079,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_ = ""; @@ -3524,44 +3153,39 @@ 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; } - - 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; - @SuppressWarnings("serial") 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 @@ -3570,30 +3194,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 { @@ -3602,19 +3226,15 @@ public com.google.protobuf.ByteString getSourceNodeBytes() { } public static final int TARGET_NODE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -3623,30 +3243,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 { @@ -3655,7 +3275,6 @@ public com.google.protobuf.ByteString getTargetNodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3667,7 +3286,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3697,16 +3317,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3728,94 +3349,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 @@ -3825,41 +3439,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3870,9 +3482,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 @@ -3891,11 +3503,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3914,41 +3523,38 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edg public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -3956,8 +3562,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_; bitField0_ |= 0x00000001; @@ -3994,25 +3599,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sourceNode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - targetNode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sourceNode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + targetNode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4022,26 +3624,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -4050,22 +3649,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 { @@ -4073,37 +3671,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceNode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceNode_ = value; bitField0_ |= 0x00000001; 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() { @@ -4113,22 +3704,18 @@ public Builder clearSourceNode() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceNodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceNode_ = value; bitField0_ |= 0x00000001; @@ -4138,21 +3725,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; @@ -4161,22 +3746,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 { @@ -4184,37 +3768,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetNode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetNode_ = value; bitField0_ |= 0x00000002; 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() { @@ -4224,29 +3801,24 @@ public Builder clearTargetNode() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetNodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetNode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4259,12 +3831,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(); } @@ -4273,28 +3845,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Edge parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4309,16 +3880,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;
@@ -4327,10 +3896,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;
@@ -4341,8 +3909,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;
@@ -4353,8 +3919,6 @@ public interface AccessControlListOrBuilder
      */
     int getResourcesCount();
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4363,11 +3927,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;
@@ -4380,8 +3942,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;
@@ -4390,10 +3950,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;
@@ -4404,8 +3963,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;
@@ -4416,8 +3973,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;
@@ -4426,11 +3981,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;
@@ -4443,8 +3996,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
@@ -4457,10 +4008,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
@@ -4475,8 +4025,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
@@ -4491,8 +4039,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
@@ -4505,11 +4051,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
@@ -4526,34 +4070,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.
@@ -4564,8 +4100,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
@@ -4583,16 +4117,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();
@@ -4601,37 +4134,33 @@ 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;
     }
-
-    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;
-
     @SuppressWarnings("serial")
     private java.util.List resources_;
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4641,13 +4170,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;
@@ -4657,14 +4183,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;
@@ -4678,8 +4201,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;
@@ -4693,8 +4214,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;
@@ -4704,18 +4223,15 @@ 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;
-
     @SuppressWarnings("serial")
     private java.util.List accesses_;
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4725,13 +4241,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;
@@ -4741,14 +4254,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;
@@ -4762,8 +4272,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;
@@ -4777,8 +4285,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;
@@ -4794,12 +4300,9 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
     }
 
     public static final int RESOURCE_EDGES_FIELD_NUMBER = 3;
-
     @SuppressWarnings("serial")
     private java.util.List resourceEdges_;
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4813,13 +4316,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
@@ -4833,13 +4333,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
@@ -4857,8 +4355,6 @@ public int getResourceEdgesCount() {
       return resourceEdges_.size();
     }
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4876,8 +4372,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
@@ -4891,23 +4385,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 @@ -4915,26 +4406,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.
@@ -4943,15 +4427,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() {
-      return conditionEvaluation_ == null
-          ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()
-          : conditionEvaluation_;
+    public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder() {
+      return conditionEvaluation_ == null ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4963,7 +4443,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -4986,17 +4467,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -5006,20 +4490,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -5054,95 +4541,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
@@ -5152,8 +4631,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
@@ -5171,34 +4648,33 @@ 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()
-      private Builder() {}
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5233,16 +4709,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
@@ -5256,18 +4730,14 @@ 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);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
+      private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
         if (resourcesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -5297,14 +4767,12 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
+      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.conditionEvaluation_ =
-              conditionEvaluationBuilder_ == null
-                  ? conditionEvaluation_
-                  : conditionEvaluationBuilder_.build();
+          result.conditionEvaluation_ = conditionEvaluationBuilder_ == null
+              ? conditionEvaluation_
+              : conditionEvaluationBuilder_.build();
         }
       }
 
@@ -5312,53 +4780,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.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()) {
@@ -5377,10 +4838,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_);
             }
@@ -5404,10 +4864,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_);
             }
@@ -5431,10 +4890,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_);
             }
@@ -5469,62 +4927,58 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource m =
-                      input.readMessage(
-                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(),
-                          extensionRegistry);
-                  if (resourcesBuilder_ == null) {
-                    ensureResourcesIsMutable();
-                    resources_.add(m);
-                  } else {
-                    resourcesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access m =
-                      input.readMessage(
-                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(),
-                          extensionRegistry);
-                  if (accessesBuilder_ == null) {
-                    ensureAccessesIsMutable();
-                    accesses_.add(m);
-                  } else {
-                    accessesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 18
-              case 26:
-                {
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m =
-                      input.readMessage(
-                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(),
-                          extensionRegistry);
-                  if (resourceEdgesBuilder_ == null) {
-                    ensureResourceEdgesIsMutable();
-                    resourceEdges_.add(m);
-                  } else {
-                    resourceEdgesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(
-                      getConditionEvaluationFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(),
+                        extensionRegistry);
+                if (resourcesBuilder_ == null) {
+                  ensureResourcesIsMutable();
+                  resources_.add(m);
+                } else {
+                  resourcesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              case 18: {
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(),
+                        extensionRegistry);
+                if (accessesBuilder_ == null) {
+                  ensureAccessesIsMutable();
+                  accesses_.add(m);
+                } else {
+                  accessesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+              case 26: {
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(),
+                        extensionRegistry);
+                if (resourceEdgesBuilder_ == null) {
+                  ensureResourceEdgesIsMutable();
+                  resourceEdges_.add(m);
+                } else {
+                  resourceEdgesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getConditionEvaluationFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5534,41 +4988,30 @@ public Builder mergeFrom(
         } // finally
         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 { @@ -5576,16 +5019,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) { @@ -5595,16 +5035,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) { @@ -5614,16 +5051,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) { @@ -5640,20 +5074,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()); @@ -5664,19 +5094,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(); @@ -5690,16 +5116,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) { @@ -5716,16 +5139,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) { @@ -5739,20 +5159,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()); @@ -5763,23 +5179,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); @@ -5787,16 +5200,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) { @@ -5809,16 +5219,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) { @@ -5831,56 +5238,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 { @@ -5888,97 +5284,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;
@@ -5987,8 +5359,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 {
@@ -5996,8 +5367,6 @@ private void ensureAccessesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6014,8 +5383,6 @@ public int getAccessesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6032,8 +5399,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;
@@ -6057,8 +5422,6 @@ public Builder setAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6068,8 +5431,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());
@@ -6080,8 +5442,6 @@ public Builder setAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6104,8 +5464,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;
@@ -6129,8 +5487,6 @@ public Builder addAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6151,8 +5507,6 @@ public Builder addAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6162,8 +5516,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());
@@ -6174,8 +5527,6 @@ public Builder addAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6185,11 +5536,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);
@@ -6197,8 +5548,6 @@ public Builder addAllAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6218,8 +5567,6 @@ public Builder clearAccesses() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6239,8 +5586,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;
@@ -6254,8 +5599,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;
@@ -6267,14 +5610,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;
@@ -6283,9 +5623,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 {
@@ -6293,8 +5632,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;
@@ -6304,13 +5641,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;
@@ -6321,14 +5655,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;
@@ -6337,49 +5667,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
@@ -6390,11 +5709,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 { @@ -6402,8 +5719,6 @@ private void ensureResourceEdgesIsMutable() { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6414,8 +5729,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) { @@ -6425,8 +5739,6 @@ public int getResourceEdgesCount() { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6437,8 +5749,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) { @@ -6448,8 +5759,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
@@ -6460,8 +5769,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) { @@ -6478,8 +5786,6 @@ public Builder setResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6490,12 +5796,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()); @@ -6506,8 +5810,6 @@ public Builder setResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6518,11 +5820,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(); @@ -6536,8 +5836,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6548,8 +5846,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) { @@ -6566,8 +5863,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6578,8 +5873,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) { @@ -6593,8 +5887,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6605,12 +5897,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()); @@ -6621,8 +5911,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6633,15 +5921,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); @@ -6649,8 +5936,6 @@ public Builder addAllResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6661,8 +5946,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) { @@ -6675,8 +5959,6 @@ public Builder clearResourceEdges() { return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6687,8 +5969,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) { @@ -6701,8 +5982,6 @@ public Builder removeResourceEdges(int index) { return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6713,16 +5992,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
@@ -6733,20 +6009,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
@@ -6757,12 +6029,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 { @@ -6770,8 +6040,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
@@ -6782,18 +6050,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
@@ -6804,18 +6067,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
@@ -6826,25 +6085,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(), @@ -6856,49 +6108,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * 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.
@@ -6920,8 +6159,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.
@@ -6941,8 +6178,6 @@ public Builder setConditionEvaluation(
         return this;
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6952,10 +6187,9 @@ public Builder setConditionEvaluation(
        */
       public Builder mergeConditionEvaluation(com.google.cloud.asset.v1.ConditionEvaluation value) {
         if (conditionEvaluationBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) != 0)
-              && conditionEvaluation_ != null
-              && conditionEvaluation_
-                  != com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000008) != 0) &&
+            conditionEvaluation_ != null &&
+            conditionEvaluation_ != com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()) {
             getConditionEvaluationBuilder().mergeFrom(value);
           } else {
             conditionEvaluation_ = value;
@@ -6968,8 +6202,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.
@@ -6988,8 +6220,6 @@ public Builder clearConditionEvaluation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7003,8 +6233,6 @@ public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluat
         return getConditionEvaluationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7012,19 +6240,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.
@@ -7033,22 +6257,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) {
@@ -7061,44 +6281,41 @@ 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 {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AccessControlList parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7110,20 +6327,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:
@@ -7133,10 +6347,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:
@@ -7148,8 +6361,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:
@@ -7161,8 +6372,6 @@ public interface IdentityListOrBuilder
      */
     int getIdentitiesCount();
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7172,11 +6381,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:
@@ -7190,8 +6397,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
@@ -7207,10 +6412,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
@@ -7228,8 +6432,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
@@ -7247,8 +6449,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
@@ -7264,11 +6464,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
@@ -7288,24 +6486,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(); @@ -7313,37 +6508,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List identities_; /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7354,13 +6545,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:
@@ -7371,14 +6559,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:
@@ -7393,8 +6578,6 @@ public int getIdentitiesCount() {
       return identities_.size();
     }
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7409,8 +6592,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:
@@ -7421,18 +6602,15 @@ 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;
-
     @SuppressWarnings("serial")
     private java.util.List groupEdges_;
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7449,13 +6627,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
@@ -7472,13 +6647,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
@@ -7499,8 +6672,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
@@ -7521,8 +6692,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
@@ -7545,7 +6714,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -7557,7 +6725,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -7574,10 +6743,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -7587,16 +6758,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -7622,94 +6794,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
@@ -7719,41 +6884,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7776,14 +6939,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(); } @@ -7798,18 +6960,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { if (identitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { identities_ = java.util.Collections.unmodifiableList(identities_); @@ -7830,8 +6988,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { int from_bitField0_ = bitField0_; } @@ -7839,52 +6996,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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()) { @@ -7903,10 +7054,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_); } @@ -7930,10 +7080,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_); } @@ -7965,41 +7114,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), - extensionRegistry); - if (identitiesBuilder_ == null) { - ensureIdentitiesIsMutable(); - identities_.add(m); - } else { - identitiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), - extensionRegistry); - if (groupEdgesBuilder_ == null) { - ensureGroupEdgesIsMutable(); - groupEdges_.add(m); - } else { - groupEdgesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), + extensionRegistry); + if (identitiesBuilder_ == null) { + ensureIdentitiesIsMutable(); + identities_.add(m); + } else { + identitiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), + extensionRegistry); + if (groupEdgesBuilder_ == null) { + ensureGroupEdgesIsMutable(); + groupEdges_.add(m); + } else { + groupEdgesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8009,30 +7155,21 @@ public Builder mergeFrom( } // finally 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:
@@ -8040,11 +7177,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 { @@ -8052,8 +7187,6 @@ private void ensureIdentitiesIsMutable() { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8061,8 +7194,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) { @@ -8072,8 +7204,6 @@ public int getIdentitiesCount() { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8081,8 +7211,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) { @@ -8092,8 +7221,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities( } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8101,8 +7228,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) { @@ -8119,8 +7245,6 @@ public Builder setIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8128,12 +7252,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()); @@ -8144,8 +7266,6 @@ public Builder setIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8153,11 +7273,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(); @@ -8171,8 +7289,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8180,8 +7296,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) { @@ -8198,8 +7313,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8207,8 +7320,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) { @@ -8222,8 +7334,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8231,12 +7341,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()); @@ -8247,8 +7355,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8256,15 +7362,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); @@ -8272,8 +7377,6 @@ public Builder addAllIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8281,8 +7384,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) { @@ -8295,8 +7397,6 @@ public Builder clearIdentities() { return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8304,8 +7404,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) { @@ -8318,8 +7417,6 @@ public Builder removeIdentities(int index) { return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8327,16 +7424,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:
@@ -8344,20 +7438,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:
@@ -8365,12 +7455,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 { @@ -8378,8 +7466,6 @@ public Builder removeIdentities(int index) { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8387,18 +7473,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:
@@ -8406,19 +7487,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:
@@ -8426,52 +7502,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
@@ -8487,8 +7551,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 {
@@ -8496,8 +7559,6 @@ private void ensureGroupEdgesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8521,8 +7582,6 @@ public int getGroupEdgesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8546,8 +7605,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
@@ -8578,8 +7635,6 @@ public Builder setGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8596,8 +7651,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());
@@ -8608,8 +7662,6 @@ public Builder setGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8639,8 +7691,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
@@ -8671,8 +7721,6 @@ public Builder addGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8700,8 +7748,6 @@ public Builder addGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8718,8 +7764,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());
@@ -8730,8 +7775,6 @@ public Builder addGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8748,11 +7791,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);
@@ -8760,8 +7803,6 @@ public Builder addAllGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8788,8 +7829,6 @@ public Builder clearGroupEdges() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8816,8 +7855,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
@@ -8838,8 +7875,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
@@ -8858,14 +7893,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
@@ -8881,9 +7913,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 {
@@ -8891,8 +7922,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
@@ -8909,13 +7938,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
@@ -8933,13 +7959,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
@@ -8955,28 +7978,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) {
@@ -8989,44 +8008,41 @@ 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 {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public IdentityList parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -9038,19 +8054,16 @@ 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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object attachedResourceFullName_ = "";
   /**
-   *
-   *
    * 
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9060,7 +8073,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ @java.lang.Override @@ -9069,15 +8081,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)
@@ -9087,15 +8098,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 { @@ -9106,14 +8118,11 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { public static final int IAM_BINDING_FIELD_NUMBER = 2; private com.google.iam.v1.Binding iamBinding_; /** - * - * *
    * The IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ @java.lang.Override @@ -9121,14 +8130,11 @@ public boolean hasIamBinding() { return iamBinding_ != null; } /** - * - * *
    * The IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ @java.lang.Override @@ -9136,8 +8142,6 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** - * - * *
    * The IAM policy binding under analysis.
    * 
@@ -9150,13 +8154,9 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { } public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - 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]
@@ -9164,18 +8164,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]
@@ -9183,19 +8178,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]
@@ -9203,17 +8193,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]
@@ -9221,18 +8207,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]
@@ -9240,21 +8221,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]
@@ -9262,7 +8239,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 @@ -9270,8 +8246,6 @@ public boolean hasIdentityList() { return identityList_ != null; } /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9279,18 +8253,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]
@@ -9300,18 +8269,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() {
-    return identityList_ == null
-        ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()
-        : identityList_;
+  public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() {
+    return identityList_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_;
   }
 
   public static final int FULLY_EXPLORED_FIELD_NUMBER = 5;
   private boolean fullyExplored_ = false;
   /**
-   *
-   *
    * 
    * Represents whether all analyses on the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9319,7 +8283,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentit
    * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ @java.lang.Override @@ -9328,7 +8291,6 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9340,7 +8302,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -9366,21 +8329,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9390,25 +8355,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -9435,110 +8404,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) + getUnknownFields().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.
@@ -9546,32 +8509,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -9599,9 +8563,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
@@ -9620,18 +8584,14 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult result) {
+    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisResult result) {
       if (accessControlListsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           accessControlLists_ = java.util.Collections.unmodifiableList(accessControlLists_);
@@ -9649,11 +8609,14 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult res
         result.attachedResourceFullName_ = attachedResourceFullName_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.iamBinding_ = iamBindingBuilder_ == null ? iamBinding_ : iamBindingBuilder_.build();
+        result.iamBinding_ = iamBindingBuilder_ == null
+            ? iamBinding_
+            : iamBindingBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.identityList_ =
-            identityListBuilder_ == null ? identityList_ : identityListBuilder_.build();
+        result.identityList_ = identityListBuilder_ == null
+            ? identityList_
+            : identityListBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.fullyExplored_ = fullyExplored_;
@@ -9664,39 +8627,38 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -9704,8 +8666,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_;
         bitField0_ |= 0x00000001;
@@ -9732,10 +8693,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult other
             accessControlListsBuilder_ = null;
             accessControlLists_ = other.accessControlLists_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            accessControlListsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAccessControlListsFieldBuilder()
-                    : null;
+            accessControlListsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAccessControlListsFieldBuilder() : null;
           } else {
             accessControlListsBuilder_.addAllMessages(other.accessControlLists_);
           }
@@ -9773,52 +8733,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                attachedResourceFullName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getIamBindingFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-                            .parser(),
-                        extensionRegistry);
-                if (accessControlListsBuilder_ == null) {
-                  ensureAccessControlListsIsMutable();
-                  accessControlLists_.add(m);
-                } else {
-                  accessControlListsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getIdentityListFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                fullyExplored_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              attachedResourceFullName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getIamBindingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.parser(),
+                      extensionRegistry);
+              if (accessControlListsBuilder_ == null) {
+                ensureAccessControlListsIsMutable();
+                accessControlLists_.add(m);
+              } else {
+                accessControlListsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getIdentityListFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              fullyExplored_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9828,13 +8785,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object attachedResourceFullName_ = "";
     /**
-     *
-     *
      * 
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9844,13 +8798,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; @@ -9859,8 +8813,6 @@ public java.lang.String getAttachedResourceFullName() { } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9870,14 +8822,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 { @@ -9885,8 +8838,6 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9896,22 +8847,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResourceFullName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attachedResourceFullName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9921,7 +8868,6 @@ public Builder setAttachedResourceFullName(java.lang.String value) {
      * 
* * string attached_resource_full_name = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { @@ -9931,8 +8877,6 @@ public Builder clearAttachedResourceFullName() { return this; } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9942,14 +8886,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedResourceFullNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attachedResourceFullName_ = value; bitField0_ |= 0x00000001; @@ -9959,33 +8901,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 IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ public boolean hasIamBinding() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ public com.google.iam.v1.Binding getIamBinding() { @@ -9996,8 +8929,6 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** - * - * *
      * The IAM policy binding under analysis.
      * 
@@ -10018,15 +8949,14 @@ public Builder setIamBinding(com.google.iam.v1.Binding value) { return this; } /** - * - * *
      * The 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(); } else { @@ -10037,8 +8967,6 @@ public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) return this; } /** - * - * *
      * The IAM policy binding under analysis.
      * 
@@ -10047,9 +8975,9 @@ public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) */ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { if (iamBindingBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && iamBinding_ != null - && iamBinding_ != com.google.iam.v1.Binding.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + iamBinding_ != null && + iamBinding_ != com.google.iam.v1.Binding.getDefaultInstance()) { getIamBindingBuilder().mergeFrom(value); } else { iamBinding_ = value; @@ -10062,8 +8990,6 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** - * - * *
      * The IAM policy binding under analysis.
      * 
@@ -10081,8 +9007,6 @@ public Builder clearIamBinding() { return this; } /** - * - * *
      * The IAM policy binding under analysis.
      * 
@@ -10095,8 +9019,6 @@ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { return getIamBindingFieldBuilder().getBuilder(); } /** - * - * *
      * The IAM policy binding under analysis.
      * 
@@ -10107,12 +9029,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 IAM policy binding under analysis.
      * 
@@ -10120,44 +9041,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_ & 0x00000004) != 0)) { - accessControlLists_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList>( - accessControlLists_); + accessControlLists_ = new java.util.ArrayList(accessControlLists_); bitField0_ |= 0x00000004; - } + } } 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]
@@ -10165,12 +9074,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 { @@ -10178,8 +9084,6 @@ private void ensureAccessControlListsIsMutable() { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10187,9 +9091,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) { @@ -10199,8 +9101,6 @@ public int getAccessControlListsCount() { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10208,12 +9108,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 { @@ -10221,8 +9118,6 @@ public int getAccessControlListsCount() { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10230,9 +9125,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) { @@ -10249,8 +9142,6 @@ public Builder setAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10258,14 +9149,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()); @@ -10276,8 +9163,6 @@ public Builder setAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10285,12 +9170,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(); @@ -10304,8 +9186,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10313,9 +9193,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) { @@ -10332,8 +9210,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10341,13 +9217,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()); @@ -10358,8 +9231,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10367,14 +9238,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()); @@ -10385,8 +9252,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10394,17 +9259,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); @@ -10412,8 +9274,6 @@ public Builder addAllAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10421,9 +9281,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) { @@ -10436,8 +9294,6 @@ public Builder clearAccessControlLists() { return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10445,9 +9301,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) { @@ -10460,8 +9314,6 @@ public Builder removeAccessControlLists(int index) { return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10469,17 +9321,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]
@@ -10487,21 +9335,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]
@@ -10509,13 +9352,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 { @@ -10523,8 +9363,6 @@ public Builder removeAccessControlLists(int index) { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10532,20 +9370,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]
@@ -10553,21 +9384,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]
@@ -10575,27 +9399,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_ & 0x00000004) != 0), getParentForChildren(), @@ -10607,13 +9422,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]
@@ -10621,15 +9431,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10637,21 +9444,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]
@@ -10660,8 +9462,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();
@@ -10675,8 +9476,6 @@ public Builder setIdentityList(
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10697,8 +9496,6 @@ public Builder setIdentityList(
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10707,14 +9504,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 (((bitField0_ & 0x00000008) != 0)
-            && identityList_ != null
-            && identityList_
-                != com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          identityList_ != null &&
+          identityList_ != com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) {
           getIdentityListBuilder().mergeFrom(value);
         } else {
           identityList_ = value;
@@ -10727,8 +9521,6 @@ public Builder mergeIdentityList(
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10748,8 +9540,6 @@ public Builder clearIdentityList() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10758,15 +9548,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() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getIdentityListFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10775,19 +9562,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]
@@ -10797,26 +9580,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]
@@ -10824,7 +9602,6 @@ public Builder clearIdentityList() {
      * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ @java.lang.Override @@ -10832,8 +9609,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10841,20 +9616,17 @@ 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; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10862,7 +9634,6 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 5; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -10871,9 +9642,9 @@ public Builder clearFullyExplored() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10883,12 +9654,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(); } @@ -10897,27 +9668,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10932,4 +9703,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java index c8965f7e7c92..0598c4d01573 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java +++ b/owl-bot-staging/java-asset/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 IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ boolean hasIamBinding(); /** - * - * *
    * The IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ com.google.iam.v1.Binding getIamBinding(); /** - * - * *
    * The 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java index 1468e7f16c19..a36ba87256ae 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java +++ b/owl-bot-staging/java-asset/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,35 +27,32 @@ 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;
   }
-
-  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_ = 0;
   /**
-   *
-   *
    * 
    * The Google standard error code that best describes the state.
    * For example:
@@ -84,16 +63,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:
@@ -104,28 +79,22 @@ 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() { com.google.rpc.Code result = com.google.rpc.Code.forNumber(code_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } public static final int CAUSE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object cause_ = ""; /** - * - * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; - * * @return The cause. */ @java.lang.Override @@ -134,29 +103,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 { @@ -165,7 +134,6 @@ public com.google.protobuf.ByteString getCauseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -194,7 +163,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_); @@ -207,16 +177,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,104 +207,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.
@@ -342,32 +305,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +342,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
@@ -399,11 +363,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.IamPolicyAnalysisState result = new com.google.cloud.asset.v1.IamPolicyAnalysisState(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -422,39 +383,38 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisState resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -462,8 +422,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());
       }
@@ -498,25 +457,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                cause_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              cause_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -526,13 +482,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -543,16 +496,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:
@@ -563,7 +512,6 @@ 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. */ @@ -574,8 +522,6 @@ public Builder setCodeValue(int value) { return this; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -586,7 +532,6 @@ public Builder setCodeValue(int value) {
      * 
* * .google.rpc.Code code = 1; - * * @return The code. */ @java.lang.Override @@ -595,8 +540,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:
@@ -607,7 +550,6 @@ public com.google.rpc.Code getCode() {
      * 
* * .google.rpc.Code code = 1; - * * @param value The code to set. * @return This builder for chaining. */ @@ -621,8 +563,6 @@ public Builder setCode(com.google.rpc.Code value) { return this; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -633,7 +573,6 @@ public Builder setCode(com.google.rpc.Code value) {
      * 
* * .google.rpc.Code code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { @@ -645,20 +584,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; @@ -667,21 +604,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 { @@ -689,35 +625,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCause( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cause_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return This builder for chaining. */ public Builder clearCause() { @@ -727,30 +656,26 @@ public Builder clearCause() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCauseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cause_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -760,12 +685,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(); } @@ -774,27 +699,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -809,4 +734,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java index be06b9be5648..6208f59f108b 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java index 1ef16e956287..46ea4155063e 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java +++ b/owl-bot-staging/java-asset/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,38 +29,34 @@ 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; } - - 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:`).
@@ -89,14 +67,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:`).
@@ -107,20 +81,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:`).
@@ -131,17 +102,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:`).
@@ -152,19 +117,14 @@ 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:`).
@@ -175,218 +135,189 @@ 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; } - - 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; } - - 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; - @SuppressWarnings("serial") 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. */ @@ -394,23 +325,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; @@ -422,7 +350,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -451,16 +380,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -481,103 +409,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 @@ -587,43 +500,39 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -634,22 +543,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); } @@ -657,20 +563,15 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -678,8 +579,7 @@ private void buildPartialRepeatedFields( result.permissions_ = permissions_; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { int from_bitField0_ = bitField0_; } @@ -687,54 +587,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.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_; @@ -771,20 +663,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePermissionsIsMutable(); - permissions_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePermissionsIsMutable(); + permissions_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -794,55 +684,44 @@ public Builder mergeFrom( } // finally 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. */ @@ -850,90 +729,76 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPermissions( + int index, java.lang.String value) { + if (value == null) { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPermissions( + java.lang.String value) { + if (value == null) { 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() { @@ -943,28 +808,23 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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) { @@ -977,45 +837,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,55 +883,39 @@ 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()); } - @SuppressWarnings("serial") 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_; } - 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:`).
@@ -1086,29 +926,23 @@ 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:`).
@@ -1119,20 +953,13 @@ 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:`).
@@ -1143,28 +970,20 @@ 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 /* nullable */ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - /* nullable */ - 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 /* nullable */ +com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + /* nullable */ +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:`).
@@ -1175,20 +994,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 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(); } @@ -1196,7 +1009,6 @@ public boolean containsMatchedPermissions(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1208,8 +1020,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, @@ -1223,20 +1037,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1246,16 +1055,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1277,94 +1085,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 @@ -1374,61 +1175,61 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1438,14 +1239,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(); } @@ -1460,17 +1260,13 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result) { + private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchedPermissions_ = internalGetMatchedPermissions(); @@ -1482,41 +1278,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1524,10 +1317,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()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1555,28 +1347,21 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - matchedPermissions__ = - input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMatchedPermissions() - .getMutableMap() - .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + matchedPermissions__ = input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMatchedPermissions().getMutableMap().put( + matchedPermissions__.getKey(), matchedPermissions__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1586,17 +1371,11 @@ public Builder mergeFrom( } // finally 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> + 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( @@ -1604,15 +1383,11 @@ public Builder mergeFrom( } return matchedPermissions_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + private com.google.protobuf.MapField internalGetMutableMatchedPermissions() { 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(); @@ -1621,13 +1396,10 @@ public Builder mergeFrom( onChanged(); return matchedPermissions_; } - 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:`).
@@ -1638,29 +1410,23 @@ 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:`).
@@ -1671,20 +1437,13 @@ 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:`).
@@ -1695,29 +1454,20 @@ 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 /* nullable */ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - /* nullable */ - 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 /* nullable */ +com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + /* nullable */ +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:`).
@@ -1728,34 +1478,26 @@ 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(); } return map.get(key); } - public Builder clearMatchedPermissions() { bitField0_ = (bitField0_ & ~0x00000001); - 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:`).
@@ -1766,29 +1508,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> + public java.util.Map getMutableMatchedPermissions() { bitField0_ |= 0x00000001; return internalGetMutableMatchedPermissions().getMutableMap(); } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1799,26 +1537,19 @@ 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 (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableMatchedPermissions().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableMatchedPermissions().getMutableMap() + .put(key, value); bitField0_ |= 0x00000001; return this; } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1829,20 +1560,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); bitField0_ |= 0x00000001; return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1855,13 +1581,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(); } @@ -1870,28 +1595,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1906,15 +1630,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; - @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** - * - * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -1927,7 +1649,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultIns
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -1936,15 +1657,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:
@@ -1957,15 +1677,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 { @@ -1974,12 +1695,9 @@ public com.google.protobuf.ByteString getResourceBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -1988,7 +1706,6 @@ public com.google.protobuf.ByteString getResourceBytes() {
    * 
* * string asset_type = 5; - * * @return The assetType. */ @java.lang.Override @@ -1997,15 +1714,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`.
@@ -2014,15 +1730,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 { @@ -2031,12 +1748,9 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int PROJECT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2048,7 +1762,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
    * 
* * string project = 2; - * * @return The project. */ @java.lang.Override @@ -2057,15 +1770,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 Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2077,15 +1789,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 { @@ -2094,12 +1807,9 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int FOLDERS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -2111,15 +1821,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
@@ -2131,15 +1839,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
@@ -2151,7 +1856,6 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2159,8 +1863,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
@@ -2172,21 +1874,18 @@ 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; - @SuppressWarnings("serial") 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
@@ -2198,7 +1897,6 @@ public com.google.protobuf.ByteString getFoldersBytes(int index) {
    * 
* * string organization = 7; - * * @return The organization. */ @java.lang.Override @@ -2207,15 +1905,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
@@ -2227,15 +1924,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 { @@ -2246,8 +1944,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
@@ -2264,7 +1960,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() {
    * 
* * .google.iam.v1.Policy policy = 3; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -2272,8 +1967,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
@@ -2290,7 +1983,6 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 3; - * * @return The policy. */ @java.lang.Override @@ -2298,8 +1990,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
@@ -2325,15 +2015,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 @@ -2341,26 +2028,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.
@@ -2369,15 +2049,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() {
-    return explanation_ == null
-        ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()
-        : explanation_;
+  public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
+    return explanation_ == null ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2389,7 +2065,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -2427,10 +2104,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_);
@@ -2454,26 +2133,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2511,136 +2196,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2665,9 +2344,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 @@ -2686,18 +2365,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.IamPolicySearchResult result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicySearchResult result) { if (((bitField0_ & 0x00000008) != 0)) { folders_ = folders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -2720,11 +2395,14 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult resul result.organization_ = organization_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null + ? policy_ + : policyBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.explanation_ = - explanationBuilder_ == null ? explanation_ : explanationBuilder_.build(); + result.explanation_ = explanationBuilder_ == null + ? explanation_ + : explanationBuilder_.build(); } } @@ -2732,39 +2410,38 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -2772,8 +2449,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_; bitField0_ |= 0x00000001; @@ -2836,56 +2512,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: - { - input.readMessage(getExplanationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: - { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 50 - case 58: - { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + input.readMessage( + getPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: { + input.readMessage( + getExplanationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 50 + case 58: { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2895,13 +2567,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resource_ = ""; /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2914,13 +2583,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; @@ -2929,8 +2598,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2943,14 +2610,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 { @@ -2958,8 +2626,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2972,22 +2638,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -3000,7 +2662,6 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -3010,8 +2671,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -3024,14 +2683,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -3041,8 +2698,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`.
@@ -3051,13 +2706,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; @@ -3066,8 +2721,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3076,14 +2729,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 { @@ -3091,8 +2745,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3101,22 +2753,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3125,7 +2773,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 5; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -3135,8 +2782,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3145,14 +2790,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -3162,8 +2805,6 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -3175,13 +2816,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; @@ -3190,8 +2831,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -3203,14 +2842,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 { @@ -3218,8 +2858,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -3231,22 +2869,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -3258,7 +2892,6 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 2; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -3268,8 +2901,6 @@ public Builder clearProject() { return this; } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -3281,14 +2912,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -3296,18 +2925,14 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3319,15 +2944,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
@@ -3339,15 +2962,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
@@ -3359,7 +2979,6 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3367,8 +2986,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
@@ -3380,16 +2997,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
@@ -3401,23 +3016,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFolders( + int index, java.lang.String value) { + if (value == null) { 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
@@ -3429,22 +3040,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFolders( + java.lang.String value) { + if (value == null) { 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
@@ -3456,19 +3063,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
@@ -3480,7 +3086,6 @@ public Builder addAllFolders(java.lang.Iterable values) {
      * 
* * repeated string folders = 6; - * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3490,8 +3095,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
@@ -3503,14 +3106,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFoldersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -3520,8 +3121,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
@@ -3533,13 +3132,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; @@ -3548,8 +3147,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
@@ -3561,14 +3158,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 { @@ -3576,8 +3174,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
@@ -3589,22 +3185,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganization( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3616,7 +3208,6 @@ public Builder setOrganization(java.lang.String value) {
      * 
* * string organization = 7; - * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3626,8 +3217,6 @@ public Builder clearOrganization() { return this; } /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3639,14 +3228,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganizationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; @@ -3656,13 +3243,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
@@ -3679,15 +3261,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3704,7 +3283,6 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 3; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -3715,8 +3293,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
@@ -3748,8 +3324,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
@@ -3767,7 +3341,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();
       } else {
@@ -3778,8 +3353,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
@@ -3799,9 +3372,9 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
      */
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && policy_ != null
-            && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          policy_ != null &&
+          policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getPolicyBuilder().mergeFrom(value);
         } else {
           policy_ = value;
@@ -3814,8 +3387,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
@@ -3844,8 +3415,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
@@ -3869,8 +3438,6 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
       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
@@ -3892,12 +3459,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
@@ -3916,16 +3482,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_;
@@ -3933,49 +3497,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 ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * 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.
@@ -3983,8 +3534,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();
@@ -3998,8 +3548,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.
@@ -4019,8 +3567,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.
@@ -4028,14 +3574,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 (((bitField0_ & 0x00000040) != 0)
-            && explanation_ != null
-            && explanation_
-                != com.google.cloud.asset.v1.IamPolicySearchResult.Explanation
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          explanation_ != null &&
+          explanation_ != com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()) {
           getExplanationBuilder().mergeFrom(value);
         } else {
           explanation_ = value;
@@ -4048,8 +3591,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.
@@ -4068,8 +3609,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.
@@ -4077,15 +3616,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() {
       bitField0_ |= 0x00000040;
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4093,19 +3629,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.
@@ -4114,24 +3646,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);
     }
 
@@ -4141,12 +3670,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();
   }
@@ -4155,27 +3684,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public IamPolicySearchResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4190,4 +3719,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
similarity index 89%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
index bc119d233936..27c65a3ea601 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
+++ b/owl-bot-staging/java-asset/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 Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -107,13 +79,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string project = 2; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
similarity index 81%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
index 3b6a5508c2e8..9aa03a47436e 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
+++ b/owl-bot-staging/java-asset/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,37 +29,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -86,10 +64,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 @@ -98,15 +73,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -115,18 +89,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 { @@ -137,8 +110,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).
@@ -148,7 +119,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -156,8 +126,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).
@@ -167,7 +135,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -175,8 +142,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).
@@ -193,12 +158,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -217,15 +179,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".
@@ -244,15 +204,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".
@@ -271,7 +228,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. */ @@ -279,8 +235,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".
@@ -299,63 +253,51 @@ 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_ = 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; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** - * - * *
    * 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 @@ -364,12 +306,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -377,7 +316,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -386,15 +324,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
@@ -402,15 +339,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 { @@ -419,12 +357,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7; - @SuppressWarnings("serial") 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
@@ -444,15 +379,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
@@ -472,15 +405,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
@@ -500,7 +430,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. */ @@ -508,8 +437,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
@@ -529,16 +456,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; @@ -550,7 +476,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -560,8 +487,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) { @@ -586,7 +512,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; @@ -596,12 +523,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_); @@ -622,24 +550,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -676,136 +609,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -827,9 +754,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 @@ -848,12 +775,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -877,7 +801,9 @@ private void buildPartial0(com.google.cloud.asset.v1.ListAssetsRequest result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; @@ -894,39 +820,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ListAssetsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1000,57 +925,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: - { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1060,13 +979,10 @@ public Builder mergeFrom( } // finally 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
@@ -1075,16 +991,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; @@ -1093,8 +1007,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1103,17 +1015,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 { @@ -1121,8 +1032,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
@@ -1131,25 +1040,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1158,10 +1061,7 @@ 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() { @@ -1171,8 +1071,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1181,17 +1079,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1201,13 +1095,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).
@@ -1217,15 +1106,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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).
@@ -1235,7 +1121,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1246,8 +1131,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).
@@ -1272,8 +1155,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).
@@ -1284,7 +1165,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();
       } else {
@@ -1295,8 +1177,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).
@@ -1309,9 +1189,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1324,8 +1204,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).
@@ -1347,8 +1225,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).
@@ -1365,8 +1241,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1381,12 +1255,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).
@@ -1398,34 +1271,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1444,15 +1310,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".
@@ -1471,15 +1335,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".
@@ -1498,7 +1359,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. */ @@ -1506,8 +1366,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".
@@ -1526,16 +1384,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".
@@ -1554,23 +1410,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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".
@@ -1589,22 +1441,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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".
@@ -1623,19 +1471,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".
@@ -1654,7 +1501,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1664,8 +1510,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1684,14 +1528,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1701,31 +1543,24 @@ 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. */ @@ -1736,33 +1571,26 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1776,15 +1604,12 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1794,17 +1619,14 @@ public Builder clearContentType() { 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 @@ -1812,35 +1634,29 @@ 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; bitField0_ |= 0x00000010; 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() { @@ -1852,8 +1668,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
@@ -1861,13 +1675,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; @@ -1876,8 +1690,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
@@ -1885,14 +1697,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 { @@ -1900,8 +1713,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
@@ -1909,22 +1720,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1932,7 +1739,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1942,8 +1748,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1951,14 +1755,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000020; @@ -1966,18 +1768,14 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000040) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000040; - } + } } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1997,15 +1795,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
@@ -2025,15 +1821,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
@@ -2053,7 +1846,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. */ @@ -2061,8 +1853,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
@@ -2082,16 +1872,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
@@ -2111,23 +1899,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -2147,22 +1931,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypes( + java.lang.String value) { + if (value == null) { 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
@@ -2182,19 +1962,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
@@ -2214,7 +1993,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 7; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2224,8 +2002,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
@@ -2245,23 +2021,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -2271,12 +2045,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(); } @@ -2285,27 +2059,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2320,4 +2094,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java similarity index 89% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java index d54ad45a57c0..570a4d9a58ea 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java index 5018e899d650..49293e352c59 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java +++ b/owl-bot-staging/java-asset/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,41 +26,37 @@ 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; } - - 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 @@ -86,14 +64,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -101,8 +76,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -115,12 +88,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } public static final int ASSETS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List assets_; /** - * - * *
    * Assets.
    * 
@@ -132,8 +102,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * Assets.
    * 
@@ -141,13 +109,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.
    * 
@@ -159,8 +125,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * Assets.
    * 
@@ -172,8 +136,6 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * Assets.
    * 
@@ -181,17 +143,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; - @SuppressWarnings("serial") 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
@@ -199,7 +159,6 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) {
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -208,15 +167,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
@@ -224,15 +182,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 { @@ -241,7 +200,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -273,10 +232,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_); @@ -289,20 +250,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -329,136 +292,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -480,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_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 @@ -501,12 +458,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -526,7 +480,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.ListAssetsResp private void buildPartial0(com.google.cloud.asset.v1.ListAssetsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -537,39 +493,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ListAssetsResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -599,10 +554,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListAssetsResponse other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000002); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -639,37 +593,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1.Asset m = - input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1.Asset m = + input.readMessage( + com.google.cloud.asset.v1.Asset.parser(), + extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,38 +633,28 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -721,8 +665,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -743,15 +685,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(); } else { @@ -762,8 +703,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -772,9 +711,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -787,8 +726,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -806,8 +743,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -820,8 +755,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -832,12 +765,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.
      * 
@@ -845,41 +777,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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -894,8 +817,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * Assets.
      * 
@@ -910,8 +831,6 @@ public int getAssetsCount() { } } /** - * - * *
      * Assets.
      * 
@@ -926,15 +845,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(); @@ -948,15 +866,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()); @@ -967,8 +884,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.Asset.Builder buil return this; } /** - * - * *
      * Assets.
      * 
@@ -989,15 +904,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(); @@ -1011,15 +925,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()); @@ -1030,15 +943,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()); @@ -1049,8 +961,6 @@ public Builder addAssets(int index, com.google.cloud.asset.v1.Asset.Builder buil return this; } /** - * - * *
      * Assets.
      * 
@@ -1061,7 +971,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); @@ -1069,8 +980,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1088,8 +997,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * Assets.
      * 
@@ -1107,44 +1014,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 { @@ -1152,8 +1054,6 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { } } /** - * - * *
      * Assets.
      * 
@@ -1161,47 +1061,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_ & 0x00000002) != 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_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; @@ -1209,8 +1104,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
@@ -1218,13 +1111,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; @@ -1233,8 +1126,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
@@ -1242,14 +1133,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 { @@ -1257,8 +1149,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
@@ -1266,22 +1156,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; 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
@@ -1289,7 +1175,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1299,8 +1184,6 @@ public Builder clearNextPageToken() { 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
@@ -1308,23 +1191,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1334,12 +1215,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(); } @@ -1348,27 +1229,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1383,4 +1264,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java index f44c37ceea77..788d4a5158c7 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java index 6f6a34639762..dd6b7b66b90b 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") 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
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,15 +67,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
@@ -106,15 +82,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 { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -159,15 +136,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,136 +163,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +296,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 @@ -346,11 +317,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.ListFeedsRequest result = new com.google.cloud.asset.v1.ListFeedsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -366,39 +334,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ListFeedsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -438,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -460,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -474,13 +436,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; @@ -489,8 +451,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
@@ -498,14 +458,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 { @@ -513,8 +474,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
@@ -522,22 +481,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -545,7 +500,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -555,8 +509,6 @@ public Builder clearParent() { 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,23 +516,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +540,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(); } @@ -604,27 +554,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java similarity index 59% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java index 7c4e5f3cb8b3..be5ab6097189 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java index 595d69688c11..9189d9f8ddac 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java @@ -1,71 +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; -/** 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; } - - 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; - @SuppressWarnings("serial") private java.util.List feeds_; /** - * - * *
    * A list of feeds.
    * 
@@ -77,8 +59,6 @@ public java.util.List getFeedsList() { return feeds_; } /** - * - * *
    * A list of feeds.
    * 
@@ -86,12 +66,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.
    * 
@@ -103,8 +82,6 @@ public int getFeedsCount() { return feeds_.size(); } /** - * - * *
    * A list of feeds.
    * 
@@ -116,8 +93,6 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { return feeds_.get(index); } /** - * - * *
    * A list of feeds.
    * 
@@ -125,12 +100,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; @@ -142,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -156,7 +132,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -166,15 +143,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,128 +172,126 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -332,9 +307,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 @@ -353,12 +328,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -383,39 +355,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ListFeedsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -442,10 +413,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_); } @@ -477,25 +447,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.Feed m = - input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); - if (feedsBuilder_ == null) { - ensureFeedsIsMutable(); - feeds_.add(m); - } else { - feedsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.Feed m = + input.readMessage( + com.google.cloud.asset.v1.Feed.parser(), + extensionRegistry); + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(m); + } else { + feedsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -505,28 +475,21 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -541,8 +504,6 @@ public java.util.List getFeedsList() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -557,8 +518,6 @@ public int getFeedsCount() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -573,15 +532,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(); @@ -595,15 +553,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()); @@ -614,8 +571,6 @@ public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builde return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -636,15 +591,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(); @@ -658,15 +612,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()); @@ -677,15 +630,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()); @@ -696,8 +648,6 @@ public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builde return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -708,7 +658,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); @@ -716,8 +667,6 @@ public Builder addAllFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -735,8 +684,6 @@ public Builder clearFeeds() { return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -754,44 +701,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 { @@ -799,8 +741,6 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { } } /** - * - * *
      * A list of feeds.
      * 
@@ -808,53 +748,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); } @@ -864,12 +800,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(); } @@ -878,27 +814,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -913,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java similarity index 55% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java index 6cbe869863db..d5bb75ca2b75 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java index d30bb2a89016..2712c6d8207b 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java +++ b/owl-bot-staging/java-asset/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,47 +27,40 @@ 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; } - - 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; - @SuppressWarnings("serial") 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 @@ -94,33 +69,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -129,12 +102,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -154,15 +123,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
@@ -173,15 +141,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 { @@ -192,17 +161,14 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * 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
-   * be returned.
-   *  The maximum value is 1000; values above 1000 will be coerced to 1000.
+   * be returned. The maximum value is 1000; values above 1000 will be coerced
+   * to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -211,12 +177,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -225,7 +188,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -234,15 +196,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.
@@ -251,15 +212,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 { @@ -268,7 +230,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +241,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -306,7 +268,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_); @@ -322,18 +285,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -359,135 +325,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +460,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 @@ -521,11 +481,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.ListSavedQueriesRequest result = new com.google.cloud.asset.v1.ListSavedQueriesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -550,39 +507,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ListSavedQueriesRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -590,8 +546,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_; bitField0_ |= 0x00000001; @@ -636,37 +591,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -676,29 +626,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -707,25 +652,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 { @@ -733,43 +675,32 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent 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() { @@ -779,25 +710,19 @@ public Builder clearParent() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -807,8 +732,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
@@ -819,13 +742,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; @@ -834,8 +757,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
@@ -846,14 +767,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 { @@ -861,8 +783,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
@@ -873,22 +793,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -899,7 +815,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -909,8 +824,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -921,14 +834,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -936,19 +847,16 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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
-     * be returned.
-     *  The maximum value is 1000; values above 1000 will be coerced to 1000.
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -956,39 +864,33 @@ 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
-     * be returned.
-     *  The maximum value is 1000; values above 1000 will be coerced to 1000.
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * 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; bitField0_ |= 0x00000004; 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
-     * be returned.
-     *  The maximum value is 1000; values above 1000 will be coerced to 1000.
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1000,8 +902,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.
@@ -1010,13 +910,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; @@ -1025,8 +925,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1035,14 +933,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 { @@ -1050,8 +949,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1060,22 +957,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1084,7 +977,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1094,8 +986,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1104,23 +994,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - 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 +1018,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(); } @@ -1144,27 +1032,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1067,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java index 39f29e97937f..cfa43dc786e9 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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,30 +56,25 @@ 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
-   * be returned.
-   *  The maximum value is 1000; values above 1000 will be coerced to 1000.
+   * be returned. The maximum value is 1000; values above 1000 will be coerced
+   * to 1000.
    * 
* * 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java index 10b47a701f7c..93d86c250835 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List savedQueries_; /** - * - * *
    * A list of savedQueries.
    * 
@@ -86,8 +64,6 @@ public java.util.List getSavedQueriesList( return savedQueries_; } /** - * - * *
    * A list of savedQueries.
    * 
@@ -95,13 +71,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.
    * 
@@ -113,8 +87,6 @@ public int getSavedQueriesCount() { return savedQueries_.size(); } /** - * - * *
    * A list of savedQueries.
    * 
@@ -126,8 +98,6 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { return savedQueries_.get(index); } /** - * - * *
    * A list of savedQueries.
    * 
@@ -135,24 +105,21 @@ 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; - @SuppressWarnings("serial") 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 @@ -161,30 +128,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 { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -222,7 +189,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_); @@ -235,16 +203,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,135 +237,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -413,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_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 @@ -434,18 +397,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.ListSavedQueriesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.ListSavedQueriesResponse result) { if (savedQueriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { savedQueries_ = java.util.Collections.unmodifiableList(savedQueries_); @@ -468,39 +427,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ListSavedQueriesResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -508,8 +466,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()) { @@ -528,10 +485,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_); } @@ -568,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.SavedQuery m = - input.readMessage( - com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); - if (savedQueriesBuilder_ == null) { - ensureSavedQueriesIsMutable(); - savedQueries_.add(m); - } else { - savedQueriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.SavedQuery m = + input.readMessage( + com.google.cloud.asset.v1.SavedQuery.parser(), + extensionRegistry); + if (savedQueriesBuilder_ == null) { + ensureSavedQueriesIsMutable(); + savedQueries_.add(m); + } else { + savedQueriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -603,29 +557,21 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -640,8 +586,6 @@ public java.util.List getSavedQueriesList( } } /** - * - * *
      * A list of savedQueries.
      * 
@@ -656,8 +600,6 @@ public int getSavedQueriesCount() { } } /** - * - * *
      * A list of savedQueries.
      * 
@@ -672,15 +614,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(); @@ -694,8 +635,6 @@ public Builder setSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery v return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -714,8 +653,6 @@ public Builder setSavedQueries( return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -736,15 +673,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(); @@ -758,15 +694,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()); @@ -777,8 +712,6 @@ public Builder addSavedQueries(com.google.cloud.asset.v1.SavedQuery.Builder buil return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -797,8 +730,6 @@ public Builder addSavedQueries( return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -809,7 +740,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); @@ -817,8 +749,6 @@ public Builder addAllSavedQueries( return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -836,8 +766,6 @@ public Builder clearSavedQueries() { return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -855,44 +783,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 { @@ -900,8 +823,6 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(in } } /** - * - * *
      * A list of savedQueries.
      * 
@@ -909,48 +830,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_; @@ -958,21 +873,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; @@ -981,22 +894,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 { @@ -1004,37 +916,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, 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() { @@ -1044,31 +949,27 @@ public Builder clearNextPageToken() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,12 +979,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(); } @@ -1092,27 +993,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java index 4bd03e463e93..9c5fbc9067d6 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java index 8bc018c5792f..696fc633ebc8 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java @@ -1,84 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - - 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; } @@ -94,40 +72,33 @@ 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; - @SuppressWarnings("serial") 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 @@ -136,30 +107,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 { @@ -169,14 +140,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 @@ -184,26 +152,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.
    * 
@@ -213,21 +176,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 @@ -235,26 +195,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.
    * 
@@ -264,13 +219,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; @@ -282,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -305,14 +260,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -322,21 +275,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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: @@ -371,136 +327,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -518,9 +468,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 @@ -539,11 +489,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.MoveAnalysis result = new com.google.cloud.asset.v1.MoveAnalysis(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -559,10 +506,12 @@ private void buildPartial0(com.google.cloud.asset.v1.MoveAnalysis result) { private void buildPartialOneofs(com.google.cloud.asset.v1.MoveAnalysis result) { result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 2 && analysisBuilder_ != null) { + if (resultCase_ == 2 && + analysisBuilder_ != null) { result.result_ = analysisBuilder_.build(); } - if (resultCase_ == 3 && errorBuilder_ != null) { + if (resultCase_ == 3 && + errorBuilder_ != null) { result.result_ = errorBuilder_.build(); } } @@ -571,39 +520,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.MoveAnalysis result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -618,20 +566,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.getUnknownFields()); onChanged(); @@ -659,31 +604,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAnalysisFieldBuilder().getBuilder(), extensionRegistry); - resultCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - resultCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAnalysisFieldBuilder().getBuilder(), + extensionRegistry); + resultCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + resultCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -693,12 +638,12 @@ public Builder mergeFrom( } // finally 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() { @@ -712,21 +657,19 @@ public Builder clearResult() { 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; @@ -735,22 +678,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 { @@ -758,37 +700,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000001; 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() { @@ -798,22 +733,18 @@ public Builder clearDisplayName() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -822,19 +753,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } 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 @@ -842,14 +767,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 @@ -867,8 +789,6 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { } } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -889,8 +809,6 @@ public Builder setAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -909,8 +827,6 @@ public Builder setAnalysis( return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -919,13 +835,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; } @@ -941,8 +854,6 @@ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -966,8 +877,6 @@ public Builder clearAnalysis() { return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -978,8 +887,6 @@ public com.google.cloud.asset.v1.MoveAnalysisResult.Builder getAnalysisBuilder() return getAnalysisFieldBuilder().getBuilder(); } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -998,8 +905,6 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -1007,19 +912,14 @@ 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()); @@ -1031,17 +931,13 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } 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 @@ -1049,14 +945,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 @@ -1074,8 +967,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1096,15 +987,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(); @@ -1115,8 +1005,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1125,11 +1013,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; } @@ -1145,8 +1032,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1170,8 +1055,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1182,8 +1065,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1202,8 +1083,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1211,27 +1090,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(); 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); } @@ -1241,12 +1119,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(); } @@ -1255,27 +1133,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1290,4 +1168,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveAnalysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java index 9f164624c726..48368546d561 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java similarity index 77% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java index 0b2763f9a1ff..4cfa3727fe4a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List blockers_; /** - * - * *
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -87,8 +65,6 @@ public java.util.List getBlockersList() {
     return blockers_;
   }
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -97,13 +73,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.
@@ -116,8 +90,6 @@ public int getBlockersCount() {
     return blockers_.size();
   }
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -130,8 +102,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.
@@ -140,17 +110,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;
-
   @SuppressWarnings("serial")
   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
@@ -164,8 +132,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
@@ -175,13 +141,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
@@ -195,8 +159,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
@@ -210,8 +172,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
@@ -221,12 +181,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;
@@ -238,7 +198,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -255,10 +216,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -268,16 +231,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -302,136 +266,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +412,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 @@ -475,12 +433,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -514,39 +469,38 @@ private void buildPartial0(com.google.cloud.asset.v1.MoveAnalysisResult result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -573,10 +527,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_); } @@ -600,10 +553,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_); } @@ -635,39 +587,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.MoveImpact m = - input.readMessage( - com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry); - if (blockersBuilder_ == null) { - ensureBlockersIsMutable(); - blockers_.add(m); - } else { - blockersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1.MoveImpact m = - input.readMessage( - com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry); - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.add(m); - } else { - warningsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.MoveImpact m = + input.readMessage( + com.google.cloud.asset.v1.MoveImpact.parser(), + extensionRegistry); + if (blockersBuilder_ == null) { + ensureBlockersIsMutable(); + blockers_.add(m); + } else { + blockersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1.MoveImpact m = + input.readMessage( + com.google.cloud.asset.v1.MoveImpact.parser(), + extensionRegistry); + if (warningsBuilder_ == null) { + ensureWarningsIsMutable(); + warnings_.add(m); + } else { + warningsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -677,28 +628,21 @@ public Builder mergeFrom( } // finally 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.
@@ -714,8 +658,6 @@ public java.util.List getBlockersList() {
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -731,8 +673,6 @@ public int getBlockersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -748,8 +688,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.
@@ -757,7 +695,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();
@@ -771,8 +710,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.
@@ -792,8 +729,6 @@ public Builder setBlockers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -815,8 +750,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.
@@ -824,7 +757,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();
@@ -838,8 +772,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.
@@ -847,7 +779,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());
@@ -858,8 +791,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.
@@ -879,8 +810,6 @@ public Builder addBlockers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -892,7 +821,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);
@@ -900,8 +830,6 @@ public Builder addAllBlockers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -920,8 +848,6 @@ public Builder clearBlockers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -940,8 +866,6 @@ public Builder removeBlockers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -949,12 +873,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.
@@ -962,16 +885,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.
@@ -979,8 +900,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 {
@@ -988,8 +909,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.
@@ -998,12 +917,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.
@@ -1011,13 +928,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.
@@ -1025,46 +941,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
@@ -1081,8 +989,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
@@ -1099,8 +1005,6 @@ public int getWarningsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1117,8 +1021,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
@@ -1127,7 +1029,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();
@@ -1141,8 +1044,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
@@ -1163,8 +1064,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
@@ -1187,8 +1086,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
@@ -1197,7 +1094,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();
@@ -1211,8 +1109,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
@@ -1221,7 +1117,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());
@@ -1232,8 +1129,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
@@ -1254,8 +1149,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
@@ -1268,7 +1161,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);
@@ -1276,8 +1170,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
@@ -1297,8 +1189,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
@@ -1318,8 +1208,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
@@ -1328,12 +1216,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
@@ -1342,16 +1229,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
@@ -1360,8 +1245,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 {
@@ -1369,8 +1254,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
@@ -1380,12 +1263,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
@@ -1394,13 +1275,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
@@ -1409,29 +1289,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);
     }
 
@@ -1441,12 +1319,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();
   }
@@ -1455,27 +1333,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MoveAnalysisResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1490,4 +1368,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.MoveAnalysisResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
similarity index 79%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
index d8b667ad2f22..2d63ef150fcd 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
similarity index 64%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
index 6222b95a0d23..0f31a539673f 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
@@ -1,85 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object detail_ = ""; /** - * - * *
    * User friendly impact detail in a free form message.
    * 
* * string detail = 1; - * * @return The detail. */ @java.lang.Override @@ -88,29 +65,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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getDetailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -155,14 +132,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,135 +159,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +292,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 @@ -341,9 +314,7 @@ public com.google.cloud.asset.v1.MoveImpact build() { @java.lang.Override public com.google.cloud.asset.v1.MoveImpact buildPartial() { com.google.cloud.asset.v1.MoveImpact result = new com.google.cloud.asset.v1.MoveImpact(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -359,39 +330,38 @@ private void buildPartial0(com.google.cloud.asset.v1.MoveImpact result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -431,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - detail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + detail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,25 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -480,21 +445,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 { @@ -502,35 +466,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDetail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } detail_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; - * * @return This builder for chaining. */ public Builder clearDetail() { @@ -540,30 +497,26 @@ public Builder clearDetail() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); detail_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +526,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(); } @@ -587,27 +540,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveImpact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveImpact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java new file mode 100644 index 000000000000..d6416c9411ab --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java similarity index 100% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java index 8c0b1c859ab3..1d8e7206793c 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java @@ -1,82 +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/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; } - - 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; } @@ -92,36 +71,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 @@ -129,26 +102,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.
    * 
@@ -158,22 +126,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 @@ -181,27 +146,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.
@@ -212,13 +172,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;
@@ -230,7 +189,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -247,14 +207,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -264,7 +222,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);
@@ -274,10 +232,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:
@@ -310,136 +270,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +410,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 @@ -477,11 +431,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.OutputConfig result = new com.google.cloud.asset.v1.OutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -494,10 +445,12 @@ private void buildPartial0(com.google.cloud.asset.v1.OutputConfig result) { private void buildPartialOneofs(com.google.cloud.asset.v1.OutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && + gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } - if (destinationCase_ == 2 && bigqueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && + bigqueryDestinationBuilder_ != null) { result.destination_ = bigqueryDestinationBuilder_.build(); } } @@ -506,39 +459,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.OutputConfig result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -548,20 +500,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.getUnknownFields()); onChanged(); @@ -589,26 +538,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -618,12 +567,12 @@ public Builder mergeFrom( } // finally 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() { @@ -636,19 +585,13 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -656,14 +599,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 @@ -681,8 +621,6 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -703,8 +641,6 @@ public Builder setGcsDestination(com.google.cloud.asset.v1.GcsDestination value) return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -723,8 +659,6 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -733,13 +667,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; } @@ -755,8 +686,6 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination valu return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -780,8 +709,6 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -792,8 +719,6 @@ public com.google.cloud.asset.v1.GcsDestination.Builder getGcsDestinationBuilder return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -812,8 +737,6 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -821,19 +744,14 @@ 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()); @@ -845,20 +763,14 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } 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 @@ -866,15 +778,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 @@ -892,8 +801,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.
@@ -915,8 +822,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.
@@ -936,8 +841,6 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -947,13 +850,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;
         }
@@ -969,8 +869,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.
@@ -995,8 +893,6 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -1008,8 +904,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.
@@ -1018,8 +912,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 {
@@ -1030,8 +923,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.
@@ -1040,19 +931,14 @@ 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());
@@ -1062,9 +948,9 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
       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);
     }
 
@@ -1074,12 +960,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();
   }
@@ -1088,27 +974,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OutputConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1123,4 +1009,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
similarity index 74%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
index ce0fc0dedae4..de717d5a0d5d 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
similarity index 67%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
index 8e143f2ce871..be38c94fd2f2 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
@@ -1,81 +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;
 
 /**
- *
- *
  * 
  * 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; } - - 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; } @@ -91,34 +70,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 @@ -126,26 +100,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.
    * 
@@ -155,13 +124,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; @@ -173,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resultCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1.GcsOutputResult) result_); } @@ -187,9 +156,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,7 +167,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); @@ -209,7 +177,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: @@ -238,136 +207,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +344,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 @@ -402,11 +365,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.OutputResult result = new com.google.cloud.asset.v1.OutputResult(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -419,7 +379,8 @@ private void buildPartial0(com.google.cloud.asset.v1.OutputResult result) { private void buildPartialOneofs(com.google.cloud.asset.v1.OutputResult result) { result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 1 && gcsResultBuilder_ != null) { + if (resultCase_ == 1 && + gcsResultBuilder_ != null) { result.result_ = gcsResultBuilder_.build(); } } @@ -428,39 +389,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.OutputResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -470,15 +430,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.getUnknownFields()); onChanged(); @@ -506,19 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsResultFieldBuilder().getBuilder(), extensionRegistry); - resultCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsResultFieldBuilder().getBuilder(), + extensionRegistry); + resultCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -528,12 +486,12 @@ public Builder mergeFrom( } // finally 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() { @@ -546,19 +504,13 @@ public Builder clearResult() { private int bitField0_; 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 @@ -566,14 +518,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 @@ -591,8 +540,6 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -613,15 +560,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(); @@ -632,8 +578,6 @@ public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult.Builder bu return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -642,13 +586,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; } @@ -664,8 +605,6 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -689,8 +628,6 @@ public Builder clearGcsResult() { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -701,8 +638,6 @@ public com.google.cloud.asset.v1.GcsOutputResult.Builder getGcsResultBuilder() { return getGcsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -721,8 +656,6 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -730,19 +663,14 @@ 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()); @@ -752,9 +680,9 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( 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); } @@ -764,12 +692,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(); } @@ -778,27 +706,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java similarity index 60% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java index 454ff49af346..68dc7c1ed1ae 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java index 37188c3df996..e277155c5560 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java @@ -1,75 +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; /** - * - * *
  * 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; } - - 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
@@ -80,10 +59,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.
      * 
@@ -92,8 +70,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,
@@ -106,8 +82,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
@@ -122,8 +96,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -132,8 +104,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,
@@ -146,8 +116,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
@@ -159,6 +127,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(
@@ -183,49 +152,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;
@@ -245,42 +214,30 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   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; - * * @return The partitionKey. */ - @java.lang.Override - public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1.PartitionSpec.PartitionKey.forNumber(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { + com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.forNumber(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; @@ -292,10 +249,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_); } getUnknownFields().writeTo(output); @@ -307,10 +263,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,7 +275,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); @@ -346,136 +301,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +434,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,11 +455,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.PartitionSpec result = new com.google.cloud.asset.v1.PartitionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -526,39 +472,38 @@ private void buildPartial0(com.google.cloud.asset.v1.PartitionSpec result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -596,19 +541,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - partitionKey_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + partitionKey_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -618,34 +561,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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. */ @@ -656,33 +591,24 @@ public Builder setPartitionKeyValue(int value) { 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() { - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1.PartitionSpec.PartitionKey.forNumber(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.forNumber(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. */ @@ -696,14 +622,11 @@ public Builder setPartitionKey(com.google.cloud.asset.v1.PartitionSpec.Partition 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() { @@ -712,9 +635,9 @@ public Builder clearPartitionKey() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -724,12 +647,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(); } @@ -738,27 +661,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -773,4 +696,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java similarity index 55% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java index 78bec335e2aa..0dd5bf8780fd 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java new file mode 100644 index 000000000000..032e6dc27a07 --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java similarity index 65% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java index 56f7943330d9..a1023d111114 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java @@ -1,86 +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; /** - * - * *
  * 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; } - - 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; - @SuppressWarnings("serial") 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 @@ -89,30 +66,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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -157,15 +134,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +161,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +294,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 @@ -344,11 +315,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.PubsubDestination result = new com.google.cloud.asset.v1.PubsubDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +332,38 @@ private void buildPartial0(com.google.cloud.asset.v1.PubsubDestination result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -436,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - topic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + topic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -486,22 +448,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 { @@ -509,37 +470,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTopic( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } topic_ = value; bitField0_ |= 0x00000001; 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() { @@ -549,31 +503,27 @@ public Builder clearTopic() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -583,12 +533,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(); } @@ -597,27 +547,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -632,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java similarity index 50% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java index ba1e2e54c2b7..05bb241e5e96 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java index 2d628595d719..c326563be666 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java @@ -1,105 +1,79 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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 query assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig} */ -public final class QueryAssetsOutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryAssetsOutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryAssetsOutputConfig) QueryAssetsOutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryAssetsOutputConfig.newBuilder() to construct. private QueryAssetsOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueryAssetsOutputConfig() {} + private QueryAssetsOutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryAssetsOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); } - public interface BigQueryDestinationOrBuilder - extends + public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The BigQuery dataset where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
      * Required. The BigQuery dataset where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * 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 where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -107,13 +81,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * Required. The BigQuery table where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -121,14 +92,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(); /** - * - * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -142,13 +111,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string write_disposition = 3; - * * @return The writeDisposition. */ java.lang.String getWriteDisposition(); /** - * - * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -162,30 +128,27 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string write_disposition = 3; - * * @return The bytes for writeDisposition. */ - com.google.protobuf.ByteString getWriteDispositionBytes(); + com.google.protobuf.ByteString + getWriteDispositionBytes(); } /** - * - * *
    * BigQuery destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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_ = ""; @@ -194,44 +157,39 @@ 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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_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_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder.class); } public static final int DATASET_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** - * - * *
      * Required. The BigQuery dataset where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -240,30 +198,30 @@ 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 where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * 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 { @@ -272,12 +230,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
      * Required. The BigQuery table where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -285,7 +240,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -294,15 +248,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 where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -310,15 +263,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 { @@ -327,12 +281,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int WRITE_DISPOSITION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object writeDisposition_ = ""; /** - * - * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -346,7 +297,6 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * string write_disposition = 3; - * * @return The writeDisposition. */ @java.lang.Override @@ -355,15 +305,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; } } /** - * - * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -377,15 +326,16 @@ public java.lang.String getWriteDisposition() {
      * 
* * string write_disposition = 3; - * * @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 { @@ -394,7 +344,6 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,7 +355,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -442,17 +392,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.QueryAssetsOutputConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other = - (com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) obj; + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other = (com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) obj; - if (!getDataset().equals(other.getDataset())) return false; - if (!getTable().equals(other.getTable())) return false; - if (!getWriteDisposition().equals(other.getWriteDisposition())) return false; + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!getWriteDisposition() + .equals(other.getWriteDisposition())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -476,95 +428,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.QueryAssetsOutputConfig.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 @@ -574,43 +518,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * BigQuery destination.
      * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination) com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_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_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder - .class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.newBuilder() - private Builder() {} + // Construct using com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -622,22 +562,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_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - .getDefaultInstance(); + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getDefaultInstanceForType() { + return com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination build() { - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = - buildPartial(); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -646,17 +583,13 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bui @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = - new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result) { + private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataset_ = dataset_; @@ -673,54 +606,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) { - return mergeFrom( - (com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) other); + if (other instanceof com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) { + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other) { - if (other - == com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other) { + if (other == com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance()) return this; if (!other.getDataset().isEmpty()) { dataset_ = other.dataset_; bitField0_ |= 0x00000001; @@ -762,31 +687,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - writeDisposition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + writeDisposition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -796,26 +717,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dataset_ = ""; /** - * - * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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; @@ -824,22 +742,21 @@ public java.lang.String getDataset() { } } /** - * - * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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 { @@ -847,37 +764,30 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { @@ -887,22 +797,18 @@ public Builder clearDataset() { return this; } /** - * - * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -912,8 +818,6 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object table_ = ""; /** - * - * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -921,13 +825,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; @@ -936,8 +840,6 @@ public java.lang.String getTable() { } } /** - * - * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -945,14 +847,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 { @@ -960,8 +863,6 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -969,22 +870,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -992,7 +889,6 @@ public Builder setTable(java.lang.String value) {
        * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1002,8 +898,6 @@ public Builder clearTable() { return this; } /** - * - * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -1011,14 +905,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000002; @@ -1028,8 +920,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object writeDisposition_ = ""; /** - * - * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1043,13 +933,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
        * 
* * string write_disposition = 3; - * * @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; @@ -1058,8 +948,6 @@ public java.lang.String getWriteDisposition() { } } /** - * - * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1073,14 +961,15 @@ public java.lang.String getWriteDisposition() {
        * 
* * string write_disposition = 3; - * * @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 { @@ -1088,8 +977,6 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() { } } /** - * - * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1103,22 +990,18 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() {
        * 
* * string write_disposition = 3; - * * @param value The writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDisposition(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteDisposition( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeDisposition_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1132,7 +1015,6 @@ public Builder setWriteDisposition(java.lang.String value) {
        * 
* * string write_disposition = 3; - * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -1142,8 +1024,6 @@ public Builder clearWriteDisposition() { return this; } /** - * - * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1157,21 +1037,18 @@ public Builder clearWriteDisposition() {
        * 
* * string write_disposition = 3; - * * @param value The bytes for writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDispositionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteDispositionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeDisposition_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1184,45 +1061,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) - private static final com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - getDefaultInstance() { + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,26 +1107,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 1; - private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - bigqueryDestination_; + private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigqueryDestination_; /** - * - * *
    * BigQuery destination where the query results will be saved.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -1261,46 +1128,30 @@ public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } /** - * - * *
    * BigQuery destination where the query results will be saved.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - getBigqueryDestination() { - return bigqueryDestination_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() - : bigqueryDestination_; + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination() { + return bigqueryDestination_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } /** - * - * *
    * BigQuery destination where the query results will be saved.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { - return bigqueryDestination_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() - : bigqueryDestination_; + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + return bigqueryDestination_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1312,7 +1163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryDestination_ != null) { output.writeMessage(1, getBigqueryDestination()); } @@ -1326,7 +1178,8 @@ public int getSerializedSize() { size = 0; if (bigqueryDestination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryDestination()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1336,17 +1189,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.QueryAssetsOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1.QueryAssetsOutputConfig other = - (com.google.cloud.asset.v1.QueryAssetsOutputConfig) obj; + com.google.cloud.asset.v1.QueryAssetsOutputConfig other = (com.google.cloud.asset.v1.QueryAssetsOutputConfig) obj; if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; if (hasBigqueryDestination()) { - if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination() + .equals(other.getBigqueryDestination())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1369,135 +1222,129 @@ public int hashCode() { } public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( - java.nio.ByteBuffer 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.QueryAssetsOutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.QueryAssetsOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( com.google.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.QueryAssetsOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.QueryAssetsOutputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.QueryAssetsOutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.QueryAssetsOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.QueryAssetsOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.QueryAssetsOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 query assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig} */ - public static final class Builder extends com.google.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.QueryAssetsOutputConfig) com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.QueryAssetsOutputConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1511,9 +1358,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_QueryAssetsOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; } @java.lang.Override @@ -1532,11 +1379,8 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig buildPartial() { - com.google.cloud.asset.v1.QueryAssetsOutputConfig result = - new com.google.cloud.asset.v1.QueryAssetsOutputConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.QueryAssetsOutputConfig result = new com.google.cloud.asset.v1.QueryAssetsOutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1544,10 +1388,9 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryDestination_ = - bigqueryDestinationBuilder_ == null - ? bigqueryDestination_ - : bigqueryDestinationBuilder_.build(); + result.bigqueryDestination_ = bigqueryDestinationBuilder_ == null + ? bigqueryDestination_ + : bigqueryDestinationBuilder_.build(); } } @@ -1555,39 +1398,38 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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.QueryAssetsOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsOutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsOutputConfig)other); } else { super.mergeFrom(other); return this; @@ -1595,8 +1437,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsOutputConfig other) { - if (other == com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) return this; if (other.hasBigqueryDestination()) { mergeBigqueryDestination(other.getBigqueryDestination()); } @@ -1626,20 +1467,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1649,69 +1489,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - bigqueryDestination_; + private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigqueryDestination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> - bigqueryDestinationBuilder_; + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ public boolean hasBigqueryDestination() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - getBigqueryDestination() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { - return bigqueryDestination_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + return bigqueryDestination_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } else { return bigqueryDestinationBuilder_.getMessage(); } } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ - public Builder setBigqueryDestination( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { + public Builder setBigqueryDestination(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1725,19 +1541,14 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ public Builder setBigqueryDestination( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder - builderForValue) { + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder builderForValue) { if (bigqueryDestinationBuilder_ == null) { bigqueryDestination_ = builderForValue.build(); } else { @@ -1748,24 +1559,17 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ - public Builder mergeBigqueryDestination( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && bigqueryDestination_ != null - && bigqueryDestination_ - != com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + bigqueryDestination_ != null && + bigqueryDestination_ != com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance()) { getBigqueryDestinationBuilder().mergeFrom(value); } else { bigqueryDestination_ = value; @@ -1778,15 +1582,11 @@ public Builder mergeBigqueryDestination( return this; } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ public Builder clearBigqueryDestination() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1799,74 +1599,55 @@ public Builder clearBigqueryDestination() { return this; } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder - getBigqueryDestinationBuilder() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { if (bigqueryDestinationBuilder_ != null) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { - return bigqueryDestination_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + return bigqueryDestination_ == null ? + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } } /** - * - * *
      * BigQuery destination where the query results will be saved.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { - bigqueryDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder>( - getBigqueryDestination(), getParentForChildren(), isClean()); + bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder>( + getBigqueryDestination(), + getParentForChildren(), + isClean()); bigqueryDestination_ = null; } 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); } @@ -1876,12 +1657,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsOutputConfig) private static final com.google.cloud.asset.v1.QueryAssetsOutputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsOutputConfig(); } @@ -1890,27 +1671,27 @@ public static com.google.cloud.asset.v1.QueryAssetsOutputConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryAssetsOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryAssetsOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1925,4 +1706,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.QueryAssetsOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java new file mode 100644 index 000000000000..55a6b3b6bd65 --- /dev/null +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java @@ -0,0 +1,36 @@ +// 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 QueryAssetsOutputConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsOutputConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * BigQuery destination where the query results will be saved.
+   * 
+ * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * @return Whether the bigqueryDestination field is set. + */ + boolean hasBigqueryDestination(); + /** + *
+   * BigQuery destination where the query results will be saved.
+   * 
+ * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * @return The bigqueryDestination. + */ + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination(); + /** + *
+   * BigQuery destination where the query results will be saved.
+   * 
+ * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + */ + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); +} diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java similarity index 74% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java index 8c18ad5b105d..8c960d2cad3a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.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; /** - * - * *
  * QueryAssets request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsRequest} */ -public final class QueryAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryAssetsRequest) QueryAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryAssetsRequest.newBuilder() to construct. private QueryAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryAssetsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,42 +26,38 @@ private QueryAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsRequest.class, - com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); + com.google.cloud.asset.v1.QueryAssetsRequest.class, com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); } private int queryCase_ = 0; private java.lang.Object query_; - public enum QueryCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STATEMENT(2), JOB_REFERENCE(3), QUERY_NOT_SET(0); private final int value; - private QueryCase(int value) { this.value = value; } @@ -95,38 +73,32 @@ public static QueryCase valueOf(int value) { public static QueryCase forNumber(int value) { switch (value) { - case 2: - return STATEMENT; - case 3: - return JOB_REFERENCE; - case 0: - return QUERY_NOT_SET; - default: - return null; + case 2: return STATEMENT; + case 3: return JOB_REFERENCE; + case 0: return QUERY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryCase getQueryCase() { - return QueryCase.forNumber(queryCase_); + public QueryCase + getQueryCase() { + return QueryCase.forNumber( + queryCase_); } private int timeCase_ = 0; private java.lang.Object time_; - public enum TimeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME_WINDOW(7), READ_TIME(8), TIME_NOT_SET(0); private final int value; - private TimeCase(int value) { this.value = value; } @@ -142,33 +114,27 @@ public static TimeCase valueOf(int value) { public static TimeCase forNumber(int value) { switch (value) { - case 7: - return READ_TIME_WINDOW; - case 8: - return READ_TIME; - case 0: - return TIME_NOT_SET; - default: - return null; + case 7: return READ_TIME_WINDOW; + case 8: return READ_TIME; + case 0: return TIME_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TimeCase getTimeCase() { - return TimeCase.forNumber(timeCase_); + public TimeCase + getTimeCase() { + return TimeCase.forNumber( + timeCase_); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") 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
@@ -177,10 +143,7 @@ public TimeCase getTimeCase() {
    * Only assets belonging to the `parent` will be returned.
    * 
* - * - * string parent = 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,15 +152,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
@@ -206,18 +168,17 @@ public java.lang.String getParent() {
    * Only assets belonging to the `parent` will be returned.
    * 
* - * - * string parent = 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 { @@ -227,30 +188,24 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STATEMENT_FIELD_NUMBER = 2; /** - * - * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the statement field is set. */ public boolean hasStatement() { return queryCase_ == 2; } /** - * - * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The statement. */ public java.lang.String getStatement() { @@ -261,7 +216,8 @@ public java.lang.String getStatement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (queryCase_ == 2) { query_ = s; @@ -270,25 +226,24 @@ public java.lang.String getStatement() { } } /** - * - * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for statement. */ - public com.google.protobuf.ByteString getStatementBytes() { + public com.google.protobuf.ByteString + getStatementBytes() { java.lang.Object ref = ""; if (queryCase_ == 2) { 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); if (queryCase_ == 2) { query_ = b; } @@ -300,30 +255,24 @@ public com.google.protobuf.ByteString getStatementBytes() { public static final int JOB_REFERENCE_FIELD_NUMBER = 3; /** - * - * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the jobReference field is set. */ public boolean hasJobReference() { return queryCase_ == 3; } /** - * - * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jobReference. */ public java.lang.String getJobReference() { @@ -334,7 +283,8 @@ public java.lang.String getJobReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (queryCase_ == 3) { query_ = s; @@ -343,25 +293,24 @@ public java.lang.String getJobReference() { } } /** - * - * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for jobReference. */ - public com.google.protobuf.ByteString getJobReferenceBytes() { + public com.google.protobuf.ByteString + getJobReferenceBytes() { java.lang.Object ref = ""; if (queryCase_ == 3) { 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); if (queryCase_ == 3) { query_ = b; } @@ -374,8 +323,6 @@ public com.google.protobuf.ByteString getJobReferenceBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Optional. The maximum number of rows to return in the results. Responses
    * are limited to 10 MB and 1000 rows.
@@ -385,7 +332,6 @@ public com.google.protobuf.ByteString getJobReferenceBytes() {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -394,19 +340,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -415,30 +357,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * 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 { @@ -449,8 +391,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int TIMEOUT_FIELD_NUMBER = 6; private com.google.protobuf.Duration timeout_; /** - * - * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -466,7 +406,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the timeout field is set. */ @java.lang.Override @@ -474,8 +413,6 @@ public boolean hasTimeout() { return timeout_ != null; } /** - * - * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -491,7 +428,6 @@ public boolean hasTimeout() {
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The timeout. */ @java.lang.Override @@ -499,8 +435,6 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** - * - * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -524,18 +458,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
 
   public static final int READ_TIME_WINDOW_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTimeWindow field is set. */ @java.lang.Override @@ -543,60 +472,47 @@ public boolean hasReadTimeWindow() { return timeCase_ == 7; } /** - * - * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTimeWindow. */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { if (timeCase_ == 7) { - return (com.google.cloud.asset.v1.TimeWindow) time_; + return (com.google.cloud.asset.v1.TimeWindow) time_; } return com.google.cloud.asset.v1.TimeWindow.getDefaultInstance(); } /** - * - * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { if (timeCase_ == 7) { - return (com.google.cloud.asset.v1.TimeWindow) time_; + return (com.google.cloud.asset.v1.TimeWindow) time_; } return com.google.cloud.asset.v1.TimeWindow.getDefaultInstance(); } public static final int READ_TIME_FIELD_NUMBER = 8; /** - * - * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTime field is set. */ @java.lang.Override @@ -604,40 +520,33 @@ public boolean hasReadTime() { return timeCase_ == 8; } /** - * - * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (timeCase_ == 8) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (timeCase_ == 8) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } @@ -645,8 +554,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.asset.v1.QueryAssetsOutputConfig outputConfig_; /** - * - * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -657,10 +564,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * [QueryAssets] API call.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -668,8 +572,6 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -680,21 +582,14 @@ public boolean hasOutputConfig() {
    * [QueryAssets] API call.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -705,19 +600,14 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() {
    * [QueryAssets] API call.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,7 +619,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -776,26 +667,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, query_); } 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_); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getTimeout()); } if (timeCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.asset.v1.TimeWindow) time_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.asset.v1.TimeWindow) time_); } if (timeCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.protobuf.Timestamp) time_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.protobuf.Timestamp) time_); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getOutputConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -805,32 +697,38 @@ public int getSerializedSize() { @java.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.QueryAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.QueryAssetsRequest other = - (com.google.cloud.asset.v1.QueryAssetsRequest) obj; + com.google.cloud.asset.v1.QueryAssetsRequest other = (com.google.cloud.asset.v1.QueryAssetsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout().equals(other.getTimeout())) return false; + if (!getTimeout() + .equals(other.getTimeout())) 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 (!getQueryCase().equals(other.getQueryCase())) return false; switch (queryCase_) { case 2: - if (!getStatement().equals(other.getStatement())) return false; + if (!getStatement() + .equals(other.getStatement())) return false; break; case 3: - if (!getJobReference().equals(other.getJobReference())) return false; + if (!getJobReference() + .equals(other.getJobReference())) return false; break; case 0: default: @@ -838,10 +736,12 @@ public boolean equals(final java.lang.Object obj) { if (!getTimeCase().equals(other.getTimeCase())) return false; switch (timeCase_) { case 7: - if (!getReadTimeWindow().equals(other.getReadTimeWindow())) return false; + if (!getReadTimeWindow() + .equals(other.getReadTimeWindow())) return false; break; case 8: - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; break; case 0: default: @@ -900,136 +800,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.QueryAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( com.google.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.QueryAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.QueryAssetsRequest 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.QueryAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.QueryAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.QueryAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.QueryAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.QueryAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.QueryAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.QueryAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * QueryAssets request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsRequest} */ - public static final class Builder extends com.google.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.QueryAssetsRequest) com.google.cloud.asset.v1.QueryAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsRequest.class, - com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); + com.google.cloud.asset.v1.QueryAssetsRequest.class, com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.QueryAssetsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1061,9 +955,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_QueryAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; } @java.lang.Override @@ -1082,11 +976,8 @@ public com.google.cloud.asset.v1.QueryAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsRequest buildPartial() { - com.google.cloud.asset.v1.QueryAssetsRequest result = - new com.google.cloud.asset.v1.QueryAssetsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.QueryAssetsRequest result = new com.google.cloud.asset.v1.QueryAssetsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1104,11 +995,14 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsRequest result) result.pageToken_ = pageToken_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.timeout_ = timeoutBuilder_ == null ? timeout_ : timeoutBuilder_.build(); + result.timeout_ = timeoutBuilder_ == null + ? timeout_ + : timeoutBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.outputConfig_ = - outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); + result.outputConfig_ = outputConfigBuilder_ == null + ? outputConfig_ + : outputConfigBuilder_.build(); } } @@ -1117,10 +1011,12 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsRequest res result.query_ = this.query_; result.timeCase_ = timeCase_; result.time_ = this.time_; - if (timeCase_ == 7 && readTimeWindowBuilder_ != null) { + if (timeCase_ == 7 && + readTimeWindowBuilder_ != null) { result.time_ = readTimeWindowBuilder_.build(); } - if (timeCase_ == 8 && readTimeBuilder_ != null) { + if (timeCase_ == 8 && + readTimeBuilder_ != null) { result.time_ = readTimeBuilder_.build(); } } @@ -1129,39 +1025,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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.QueryAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsRequest) other); + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -1190,40 +1085,34 @@ public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsRequest other) { mergeOutputConfig(other.getOutputConfig()); } switch (other.getQueryCase()) { - case STATEMENT: - { - queryCase_ = 2; - query_ = other.query_; - onChanged(); - break; - } - case JOB_REFERENCE: - { - queryCase_ = 3; - query_ = other.query_; - onChanged(); - break; - } - case QUERY_NOT_SET: - { - break; - } + case STATEMENT: { + queryCase_ = 2; + query_ = other.query_; + onChanged(); + break; + } + case JOB_REFERENCE: { + queryCase_ = 3; + query_ = other.query_; + onChanged(); + break; + } + case QUERY_NOT_SET: { + break; + } } switch (other.getTimeCase()) { - case READ_TIME_WINDOW: - { - mergeReadTimeWindow(other.getReadTimeWindow()); - break; - } - case READ_TIME: - { - mergeReadTime(other.getReadTime()); - break; - } - case TIME_NOT_SET: - { - break; - } + case READ_TIME_WINDOW: { + mergeReadTimeWindow(other.getReadTimeWindow()); + break; + } + case READ_TIME: { + mergeReadTime(other.getReadTime()); + break; + } + case TIME_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1251,69 +1140,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - queryCase_ = 2; - query_ = s; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - queryCase_ = 3; - query_ = s; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getReadTimeWindowFieldBuilder().getBuilder(), extensionRegistry); - timeCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - timeCase_ = 8; - break; - } // case 66 - case 74: - { - input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + queryCase_ = 2; + query_ = s; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + queryCase_ = 3; + query_ = s; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getTimeoutFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getReadTimeWindowFieldBuilder().getBuilder(), + extensionRegistry); + timeCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + timeCase_ = 8; + break; + } // case 66 + case 74: { + input.readMessage( + getOutputConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1323,12 +1210,12 @@ public Builder mergeFrom( } // finally return this; } - private int queryCase_ = 0; private java.lang.Object query_; - - public QueryCase getQueryCase() { - return QueryCase.forNumber(queryCase_); + public QueryCase + getQueryCase() { + return QueryCase.forNumber( + queryCase_); } public Builder clearQuery() { @@ -1340,9 +1227,10 @@ public Builder clearQuery() { private int timeCase_ = 0; private java.lang.Object time_; - - public TimeCase getTimeCase() { - return TimeCase.forNumber(timeCase_); + public TimeCase + getTimeCase() { + return TimeCase.forNumber( + timeCase_); } public Builder clearTime() { @@ -1356,8 +1244,6 @@ public Builder clearTime() { 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
@@ -1366,16 +1252,14 @@ public Builder clearTime() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * - * string parent = 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; @@ -1384,8 +1268,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
@@ -1394,17 +1276,16 @@ public java.lang.String getParent() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * - * string parent = 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 { @@ -1412,8 +1293,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
@@ -1422,25 +1301,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1449,10 +1322,7 @@ public Builder setParent(java.lang.String value) {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * - * string 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() { @@ -1462,8 +1332,6 @@ public Builder clearParent() { 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
@@ -1472,17 +1340,13 @@ public Builder clearParent() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1491,15 +1355,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the statement field is set. */ @java.lang.Override @@ -1507,15 +1368,12 @@ public boolean hasStatement() { return queryCase_ == 2; } /** - * - * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The statement. */ @java.lang.Override @@ -1525,7 +1383,8 @@ public java.lang.String getStatement() { 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(); if (queryCase_ == 2) { query_ = s; @@ -1536,26 +1395,25 @@ public java.lang.String getStatement() { } } /** - * - * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for statement. */ @java.lang.Override - public com.google.protobuf.ByteString getStatementBytes() { + public com.google.protobuf.ByteString + getStatementBytes() { java.lang.Object ref = ""; if (queryCase_ == 2) { 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); if (queryCase_ == 2) { query_ = b; } @@ -1565,37 +1423,30 @@ public com.google.protobuf.ByteString getStatementBytes() { } } /** - * - * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The statement to set. * @return This builder for chaining. */ - public Builder setStatement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryCase_ = 2; query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStatement() { @@ -1607,22 +1458,18 @@ public Builder clearStatement() { return this; } /** - * - * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for statement to set. * @return This builder for chaining. */ - public Builder setStatementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryCase_ = 2; query_ = value; @@ -1631,15 +1478,12 @@ public Builder setStatementBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the jobReference field is set. */ @java.lang.Override @@ -1647,15 +1491,12 @@ public boolean hasJobReference() { return queryCase_ == 3; } /** - * - * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jobReference. */ @java.lang.Override @@ -1665,7 +1506,8 @@ public java.lang.String getJobReference() { 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(); if (queryCase_ == 3) { query_ = s; @@ -1676,26 +1518,25 @@ public java.lang.String getJobReference() { } } /** - * - * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for jobReference. */ @java.lang.Override - public com.google.protobuf.ByteString getJobReferenceBytes() { + public com.google.protobuf.ByteString + getJobReferenceBytes() { java.lang.Object ref = ""; if (queryCase_ == 3) { 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); if (queryCase_ == 3) { query_ = b; } @@ -1705,37 +1546,30 @@ public com.google.protobuf.ByteString getJobReferenceBytes() { } } /** - * - * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The jobReference to set. * @return This builder for chaining. */ - public Builder setJobReference(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryCase_ = 3; query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearJobReference() { @@ -1747,22 +1581,18 @@ public Builder clearJobReference() { return this; } /** - * - * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for jobReference to set. * @return This builder for chaining. */ - public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryCase_ = 3; query_ = value; @@ -1770,10 +1600,8 @@ public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1783,7 +1611,6 @@ public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1791,8 +1618,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1802,20 +1627,17 @@ 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; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1825,7 +1647,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1837,21 +1658,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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; @@ -1860,22 +1679,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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 { @@ -1883,37 +1701,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1923,22 +1734,18 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; @@ -1948,13 +1755,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeoutBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; /** - * - * *
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1970,15 +1772,12 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1994,7 +1793,6 @@ public boolean hasTimeout() {
      * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -2005,8 +1803,6 @@ public com.google.protobuf.Duration getTimeout() { } } /** - * - * *
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2037,8 +1833,6 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2055,7 +1849,8 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeout(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeoutBuilder_ == null) {
         timeout_ = builderForValue.build();
       } else {
@@ -2066,8 +1861,6 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2086,9 +1879,9 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
      */
     public Builder mergeTimeout(com.google.protobuf.Duration value) {
       if (timeoutBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && timeout_ != null
-            && timeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          timeout_ != null &&
+          timeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getTimeoutBuilder().mergeFrom(value);
         } else {
           timeout_ = value;
@@ -2101,8 +1894,6 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2130,8 +1921,6 @@ public Builder clearTimeout() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2154,8 +1943,6 @@ public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
       return getTimeoutFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2176,12 +1963,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
       if (timeoutBuilder_ != null) {
         return timeoutBuilder_.getMessageOrBuilder();
       } else {
-        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
+        return timeout_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeout_;
       }
     }
     /**
-     *
-     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -2199,40 +1985,29 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * .google.protobuf.Duration timeout = 6 [(.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> 
         getTimeoutFieldBuilder() {
       if (timeoutBuilder_ == null) {
-        timeoutBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeout(), getParentForChildren(), isClean());
+        timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeout(),
+                getParentForChildren(),
+                isClean());
         timeout_ = null;
       }
       return timeoutBuilder_;
     }
 
     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. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTimeWindow field is set. */ @java.lang.Override @@ -2240,18 +2015,13 @@ public boolean hasReadTimeWindow() { return timeCase_ == 7; } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTimeWindow. */ @java.lang.Override @@ -2269,17 +2039,13 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { } } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { @@ -2295,19 +2061,16 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.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) { time_ = builderForValue.build(); onChanged(); @@ -2318,26 +2081,20 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow.Builder bu return this; } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { - if (timeCase_ == 7 && time_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { - time_ = - com.google.cloud.asset.v1.TimeWindow.newBuilder( - (com.google.cloud.asset.v1.TimeWindow) time_) - .mergeFrom(value) - .buildPartial(); + if (timeCase_ == 7 && + time_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { + time_ = com.google.cloud.asset.v1.TimeWindow.newBuilder((com.google.cloud.asset.v1.TimeWindow) time_) + .mergeFrom(value).buildPartial(); } else { time_ = value; } @@ -2353,17 +2110,13 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadTimeWindow() { if (readTimeWindowBuilder_ == null) { @@ -2382,33 +2135,25 @@ public Builder clearReadTimeWindow() { return this; } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() { return getReadTimeWindowFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { @@ -2422,33 +2167,26 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( } } /** - * - * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.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) { if (!(timeCase_ == 7)) { time_ = com.google.cloud.asset.v1.TimeWindow.getDefaultInstance(); } - 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>( - (com.google.cloud.asset.v1.TimeWindow) time_, 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>( + (com.google.cloud.asset.v1.TimeWindow) time_, + getParentForChildren(), + isClean()); time_ = null; } timeCase_ = 7; @@ -2457,21 +2195,14 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( } 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_; /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTime field is set. */ @java.lang.Override @@ -2479,16 +2210,12 @@ public boolean hasReadTime() { return timeCase_ == 8; } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTime. */ @java.lang.Override @@ -2506,15 +2233,12 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { @@ -2530,17 +2254,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -2551,23 +2273,19 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (timeCase_ == 8 && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - time_ = - com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_) - .mergeFrom(value) - .buildPartial(); + if (timeCase_ == 8 && + time_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + time_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_) + .mergeFrom(value).buildPartial(); } else { time_ = value; } @@ -2583,15 +2301,12 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadTime() { if (readTimeBuilder_ == null) { @@ -2610,29 +2325,23 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { @@ -2646,31 +2355,25 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } } /** - * - * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ 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) { if (!(timeCase_ == 8)) { time_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) time_, getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) time_, + getParentForChildren(), + isClean()); time_ = null; } timeCase_ = 8; @@ -2680,13 +2383,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1.QueryAssetsOutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2697,18 +2395,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2719,24 +2412,17 @@ public boolean hasOutputConfig() {
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The outputConfig. */ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2747,9 +2433,7 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() {
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -2765,8 +2449,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig return this; } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2777,9 +2459,7 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOutputConfig( com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder builderForValue) { @@ -2793,8 +2473,6 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2805,16 +2483,13 @@ public Builder setOutputConfig(
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && outputConfig_ != null - && outputConfig_ - != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + outputConfig_ != null && + outputConfig_ != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -2827,8 +2502,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf return this; } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2839,9 +2512,7 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearOutputConfig() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2854,8 +2525,6 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2866,9 +2535,7 @@ public Builder clearOutputConfig() {
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfigBuilder() { bitField0_ |= 0x00000100; @@ -2876,8 +2543,6 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2888,22 +2553,17 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2914,29 +2574,24 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
      * [QueryAssets] API call.
      * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> + com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>( + 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); } @@ -2946,12 +2601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsRequest) private static final com.google.cloud.asset.v1.QueryAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsRequest(); } @@ -2960,27 +2615,27 @@ public static com.google.cloud.asset.v1.QueryAssetsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2995,4 +2650,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.QueryAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java similarity index 81% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java index 492eae53ad0e..a60e2dde9c84 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.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 QueryAssetsRequestOrBuilder - extends +public interface QueryAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsRequest) 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
@@ -34,16 +16,11 @@ public interface QueryAssetsRequestOrBuilder
    * Only assets belonging to the `parent` will be returned.
    * 
* - * - * string parent = 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
@@ -52,97 +29,77 @@ public interface QueryAssetsRequestOrBuilder
    * Only assets belonging to the `parent` will be returned.
    * 
* - * - * string parent = 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. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the statement field is set. */ boolean hasStatement(); /** - * - * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The statement. */ java.lang.String getStatement(); /** - * - * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for statement. */ - com.google.protobuf.ByteString getStatementBytes(); + com.google.protobuf.ByteString + getStatementBytes(); /** - * - * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the jobReference field is set. */ boolean hasJobReference(); /** - * - * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jobReference. */ java.lang.String getJobReference(); /** - * - * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for jobReference. */ - com.google.protobuf.ByteString getJobReferenceBytes(); + com.google.protobuf.ByteString + getJobReferenceBytes(); /** - * - * *
    * Optional. The maximum number of rows to return in the results. Responses
    * are limited to 10 MB and 1000 rows.
@@ -152,41 +109,33 @@ public interface QueryAssetsRequestOrBuilder
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * 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. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -202,13 +151,10 @@ public interface QueryAssetsRequestOrBuilder
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** - * - * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -224,13 +170,10 @@ public interface QueryAssetsRequestOrBuilder
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** - * - * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -250,96 +193,69 @@ public interface QueryAssetsRequestOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTimeWindow field is set. */ boolean hasReadTimeWindow(); /** - * - * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTimeWindow. */ com.google.cloud.asset.v1.TimeWindow getReadTimeWindow(); /** - * - * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(); /** - * - * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -350,16 +266,11 @@ public interface QueryAssetsRequestOrBuilder
    * [QueryAssets] API call.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -370,16 +281,11 @@ public interface QueryAssetsRequestOrBuilder
    * [QueryAssets] API call.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The outputConfig. */ com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig(); /** - * - * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -390,9 +296,7 @@ public interface QueryAssetsRequestOrBuilder
    * [QueryAssets] API call.
    * 
* - * - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder(); diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java index 1987ab4031c3..c3c9a58d3f0d 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java @@ -1,85 +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; /** - * - * *
  * QueryAssets response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsResponse} */ -public final class QueryAssetsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryAssetsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryAssetsResponse) QueryAssetsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryAssetsResponse.newBuilder() to construct. private QueryAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryAssetsResponse() { jobReference_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsResponse.class, - com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); + com.google.cloud.asset.v1.QueryAssetsResponse.class, com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); } private int responseCase_ = 0; private java.lang.Object response_; - public enum ResponseCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ERROR(3), QUERY_RESULT(4), OUTPUT_CONFIG(5), RESPONSE_NOT_SET(0); private final int value; - private ResponseCase(int value) { this.value = value; } @@ -95,41 +73,33 @@ public static ResponseCase valueOf(int value) { public static ResponseCase forNumber(int value) { switch (value) { - case 3: - return ERROR; - case 4: - return QUERY_RESULT; - case 5: - return OUTPUT_CONFIG; - case 0: - return RESPONSE_NOT_SET; - default: - return null; + case 3: return ERROR; + case 4: return QUERY_RESULT; + case 5: return OUTPUT_CONFIG; + case 0: return RESPONSE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResponseCase getResponseCase() { - return ResponseCase.forNumber(responseCase_); + public ResponseCase + getResponseCase() { + return ResponseCase.forNumber( + responseCase_); } public static final int JOB_REFERENCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object jobReference_ = ""; /** - * - * *
    * Reference to a query job.
    * 
* * string job_reference = 1; - * * @return The jobReference. */ @java.lang.Override @@ -138,29 +108,29 @@ public java.lang.String getJobReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobReference_ = s; return s; } } /** - * - * *
    * Reference to a query job.
    * 
* * string job_reference = 1; - * * @return The bytes for jobReference. */ @java.lang.Override - public com.google.protobuf.ByteString getJobReferenceBytes() { + public com.google.protobuf.ByteString + getJobReferenceBytes() { java.lang.Object ref = jobReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobReference_ = b; return b; } else { @@ -171,8 +141,6 @@ public com.google.protobuf.ByteString getJobReferenceBytes() { public static final int DONE_FIELD_NUMBER = 2; private boolean done_ = false; /** - * - * *
    * The query response, which can be either an `error` or a valid `response`.
    * If `done` == `false` and the query result is being saved in a output, the
@@ -182,7 +150,6 @@ public com.google.protobuf.ByteString getJobReferenceBytes() {
    * 
* * bool done = 2; - * * @return The done. */ @java.lang.Override @@ -192,14 +159,11 @@ public boolean getDone() { public static final int ERROR_FIELD_NUMBER = 3; /** - * - * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -207,26 +171,21 @@ public boolean hasError() { return responseCase_ == 3; } /** - * - * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override public com.google.rpc.Status getError() { if (responseCase_ == 3) { - return (com.google.rpc.Status) response_; + return (com.google.rpc.Status) response_; } return com.google.rpc.Status.getDefaultInstance(); } /** - * - * *
    * Error status.
    * 
@@ -236,21 +195,18 @@ public com.google.rpc.Status getError() { @java.lang.Override public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (responseCase_ == 3) { - return (com.google.rpc.Status) response_; + return (com.google.rpc.Status) response_; } return com.google.rpc.Status.getDefaultInstance(); } public static final int QUERY_RESULT_FIELD_NUMBER = 4; /** - * - * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; - * * @return Whether the queryResult field is set. */ @java.lang.Override @@ -258,26 +214,21 @@ public boolean hasQueryResult() { return responseCase_ == 4; } /** - * - * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; - * * @return The queryResult. */ @java.lang.Override public com.google.cloud.asset.v1.QueryResult getQueryResult() { if (responseCase_ == 4) { - return (com.google.cloud.asset.v1.QueryResult) response_; + return (com.google.cloud.asset.v1.QueryResult) response_; } return com.google.cloud.asset.v1.QueryResult.getDefaultInstance(); } /** - * - * *
    * Result of the query.
    * 
@@ -287,22 +238,19 @@ public com.google.cloud.asset.v1.QueryResult getQueryResult() { @java.lang.Override public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() { if (responseCase_ == 4) { - return (com.google.cloud.asset.v1.QueryResult) response_; + return (com.google.cloud.asset.v1.QueryResult) response_; } return com.google.cloud.asset.v1.QueryResult.getDefaultInstance(); } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 5; /** - * - * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; - * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -310,27 +258,22 @@ public boolean hasOutputConfig() { return responseCase_ == 5; } /** - * - * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; - * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { if (responseCase_ == 5) { - return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_; + return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_; } return com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance(); } /** - * - * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
@@ -341,13 +284,12 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() {
   @java.lang.Override
   public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder() {
     if (responseCase_ == 5) {
-      return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_;
+       return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_;
     }
     return com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -359,7 +301,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobReference_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobReference_);
     }
@@ -388,22 +331,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobReference_);
     }
     if (done_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, done_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(2, done_);
     }
     if (responseCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.rpc.Status) response_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.rpc.Status) response_);
     }
     if (responseCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.cloud.asset.v1.QueryResult) response_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.cloud.asset.v1.QueryResult) response_);
     }
     if (responseCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -413,26 +354,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.QueryAssetsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.QueryAssetsResponse other =
-        (com.google.cloud.asset.v1.QueryAssetsResponse) obj;
+    com.google.cloud.asset.v1.QueryAssetsResponse other = (com.google.cloud.asset.v1.QueryAssetsResponse) obj;
 
-    if (!getJobReference().equals(other.getJobReference())) return false;
-    if (getDone() != other.getDone()) return false;
+    if (!getJobReference()
+        .equals(other.getJobReference())) return false;
+    if (getDone()
+        != other.getDone()) return false;
     if (!getResponseCase().equals(other.getResponseCase())) return false;
     switch (responseCase_) {
       case 3:
-        if (!getError().equals(other.getError())) return false;
+        if (!getError()
+            .equals(other.getError())) return false;
         break;
       case 4:
-        if (!getQueryResult().equals(other.getQueryResult())) return false;
+        if (!getQueryResult()
+            .equals(other.getQueryResult())) return false;
         break;
       case 5:
-        if (!getOutputConfig().equals(other.getOutputConfig())) return false;
+        if (!getOutputConfig()
+            .equals(other.getOutputConfig())) return false;
         break;
       case 0:
       default:
@@ -451,7 +396,8 @@ public int hashCode() {
     hash = (37 * hash) + JOB_REFERENCE_FIELD_NUMBER;
     hash = (53 * hash) + getJobReference().hashCode();
     hash = (37 * hash) + DONE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getDone());
     switch (responseCase_) {
       case 3:
         hash = (37 * hash) + ERROR_FIELD_NUMBER;
@@ -473,136 +419,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.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.QueryAssetsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
       com.google.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.QueryAssetsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite 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.QueryAssetsResponse 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.QueryAssetsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    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.QueryAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.QueryAssetsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.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.QueryAssetsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.QueryAssetsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder 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.QueryAssetsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * QueryAssets response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsResponse} */ - public static final class Builder extends com.google.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.QueryAssetsResponse) com.google.cloud.asset.v1.QueryAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsResponse.class, - com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); + com.google.cloud.asset.v1.QueryAssetsResponse.class, com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.QueryAssetsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +564,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_QueryAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; } @java.lang.Override @@ -645,11 +585,8 @@ public com.google.cloud.asset.v1.QueryAssetsResponse build() { @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsResponse buildPartial() { - com.google.cloud.asset.v1.QueryAssetsResponse result = - new com.google.cloud.asset.v1.QueryAssetsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.QueryAssetsResponse result = new com.google.cloud.asset.v1.QueryAssetsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -668,13 +605,16 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsResponse result) private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsResponse result) { result.responseCase_ = responseCase_; result.response_ = this.response_; - if (responseCase_ == 3 && errorBuilder_ != null) { + if (responseCase_ == 3 && + errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } - if (responseCase_ == 4 && queryResultBuilder_ != null) { + if (responseCase_ == 4 && + queryResultBuilder_ != null) { result.response_ = queryResultBuilder_.build(); } - if (responseCase_ == 5 && outputConfigBuilder_ != null) { + if (responseCase_ == 5 && + outputConfigBuilder_ != null) { result.response_ = outputConfigBuilder_.build(); } } @@ -683,39 +623,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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.QueryAssetsResponse) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsResponse) other); + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsResponse)other); } else { super.mergeFrom(other); return this; @@ -733,25 +672,21 @@ public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsResponse other) { setDone(other.getDone()); } switch (other.getResponseCase()) { - case ERROR: - { - mergeError(other.getError()); - break; - } - case QUERY_RESULT: - { - mergeQueryResult(other.getQueryResult()); - break; - } - case OUTPUT_CONFIG: - { - mergeOutputConfig(other.getOutputConfig()); - break; - } - case RESPONSE_NOT_SET: - { - break; - } + case ERROR: { + mergeError(other.getError()); + break; + } + case QUERY_RESULT: { + mergeQueryResult(other.getQueryResult()); + break; + } + case OUTPUT_CONFIG: { + mergeOutputConfig(other.getOutputConfig()); + break; + } + case RESPONSE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -779,43 +714,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - jobReference_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - done_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getQueryResultFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 5; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + jobReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + done_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getQueryResultFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getOutputConfigFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 5; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -825,12 +760,12 @@ public Builder mergeFrom( } // finally return this; } - private int responseCase_ = 0; private java.lang.Object response_; - - public ResponseCase getResponseCase() { - return ResponseCase.forNumber(responseCase_); + public ResponseCase + getResponseCase() { + return ResponseCase.forNumber( + responseCase_); } public Builder clearResponse() { @@ -844,20 +779,18 @@ public Builder clearResponse() { private java.lang.Object jobReference_ = ""; /** - * - * *
      * Reference to a query job.
      * 
* * string job_reference = 1; - * * @return The jobReference. */ public java.lang.String getJobReference() { java.lang.Object ref = jobReference_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobReference_ = s; return s; @@ -866,21 +799,20 @@ public java.lang.String getJobReference() { } } /** - * - * *
      * Reference to a query job.
      * 
* * string job_reference = 1; - * * @return The bytes for jobReference. */ - public com.google.protobuf.ByteString getJobReferenceBytes() { + public com.google.protobuf.ByteString + getJobReferenceBytes() { java.lang.Object ref = jobReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobReference_ = b; return b; } else { @@ -888,35 +820,28 @@ public com.google.protobuf.ByteString getJobReferenceBytes() { } } /** - * - * *
      * Reference to a query job.
      * 
* * string job_reference = 1; - * * @param value The jobReference to set. * @return This builder for chaining. */ - public Builder setJobReference(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } jobReference_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Reference to a query job.
      * 
* * string job_reference = 1; - * * @return This builder for chaining. */ public Builder clearJobReference() { @@ -926,21 +851,17 @@ public Builder clearJobReference() { return this; } /** - * - * *
      * Reference to a query job.
      * 
* * string job_reference = 1; - * * @param value The bytes for jobReference to set. * @return This builder for chaining. */ - public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setJobReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobReference_ = value; bitField0_ |= 0x00000001; @@ -948,10 +869,8 @@ public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) { return this; } - private boolean done_; + private boolean done_ ; /** - * - * *
      * The query response, which can be either an `error` or a valid `response`.
      * If `done` == `false` and the query result is being saved in a output, the
@@ -961,7 +880,6 @@ public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) {
      * 
* * bool done = 2; - * * @return The done. */ @java.lang.Override @@ -969,8 +887,6 @@ public boolean getDone() { return done_; } /** - * - * *
      * The query response, which can be either an `error` or a valid `response`.
      * If `done` == `false` and the query result is being saved in a output, the
@@ -980,20 +896,17 @@ public boolean getDone() {
      * 
* * bool done = 2; - * * @param value The done to set. * @return This builder for chaining. */ public Builder setDone(boolean value) { - + done_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The query response, which can be either an `error` or a valid `response`.
      * If `done` == `false` and the query result is being saved in a output, the
@@ -1003,7 +916,6 @@ public Builder setDone(boolean value) {
      * 
* * bool done = 2; - * * @return This builder for chaining. */ public Builder clearDone() { @@ -1014,17 +926,13 @@ public Builder clearDone() { } 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_; /** - * - * *
      * Error status.
      * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1032,14 +940,11 @@ public boolean hasError() { return responseCase_ == 3; } /** - * - * *
      * Error status.
      * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override @@ -1057,8 +962,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Error status.
      * 
@@ -1079,15 +982,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Error status.
      * 
* * .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) { response_ = builderForValue.build(); onChanged(); @@ -1098,8 +1000,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Error status.
      * 
@@ -1108,11 +1008,10 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (responseCase_ == 3 && response_ != com.google.rpc.Status.getDefaultInstance()) { - response_ = - com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_) - .mergeFrom(value) - .buildPartial(); + if (responseCase_ == 3 && + response_ != com.google.rpc.Status.getDefaultInstance()) { + response_ = com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_) + .mergeFrom(value).buildPartial(); } else { response_ = value; } @@ -1128,8 +1027,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Error status.
      * 
@@ -1153,8 +1050,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Error status.
      * 
@@ -1165,8 +1060,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Error status.
      * 
@@ -1185,8 +1078,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** - * - * *
      * Error status.
      * 
@@ -1194,18 +1085,17 @@ 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 (!(responseCase_ == 3)) { response_ = 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) response_, 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) response_, + getParentForChildren(), + isClean()); response_ = null; } responseCase_ = 3; @@ -1214,19 +1104,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryResult, - com.google.cloud.asset.v1.QueryResult.Builder, - com.google.cloud.asset.v1.QueryResultOrBuilder> - queryResultBuilder_; + com.google.cloud.asset.v1.QueryResult, com.google.cloud.asset.v1.QueryResult.Builder, com.google.cloud.asset.v1.QueryResultOrBuilder> queryResultBuilder_; /** - * - * *
      * Result of the query.
      * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; - * * @return Whether the queryResult field is set. */ @java.lang.Override @@ -1234,14 +1118,11 @@ public boolean hasQueryResult() { return responseCase_ == 4; } /** - * - * *
      * Result of the query.
      * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; - * * @return The queryResult. */ @java.lang.Override @@ -1259,8 +1140,6 @@ public com.google.cloud.asset.v1.QueryResult getQueryResult() { } } /** - * - * *
      * Result of the query.
      * 
@@ -1281,15 +1160,14 @@ public Builder setQueryResult(com.google.cloud.asset.v1.QueryResult value) { return this; } /** - * - * *
      * Result of the query.
      * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; */ - public Builder setQueryResult(com.google.cloud.asset.v1.QueryResult.Builder builderForValue) { + public Builder setQueryResult( + com.google.cloud.asset.v1.QueryResult.Builder builderForValue) { if (queryResultBuilder_ == null) { response_ = builderForValue.build(); onChanged(); @@ -1300,8 +1178,6 @@ public Builder setQueryResult(com.google.cloud.asset.v1.QueryResult.Builder buil return this; } /** - * - * *
      * Result of the query.
      * 
@@ -1310,13 +1186,10 @@ public Builder setQueryResult(com.google.cloud.asset.v1.QueryResult.Builder buil */ public Builder mergeQueryResult(com.google.cloud.asset.v1.QueryResult value) { if (queryResultBuilder_ == null) { - if (responseCase_ == 4 - && response_ != com.google.cloud.asset.v1.QueryResult.getDefaultInstance()) { - response_ = - com.google.cloud.asset.v1.QueryResult.newBuilder( - (com.google.cloud.asset.v1.QueryResult) response_) - .mergeFrom(value) - .buildPartial(); + if (responseCase_ == 4 && + response_ != com.google.cloud.asset.v1.QueryResult.getDefaultInstance()) { + response_ = com.google.cloud.asset.v1.QueryResult.newBuilder((com.google.cloud.asset.v1.QueryResult) response_) + .mergeFrom(value).buildPartial(); } else { response_ = value; } @@ -1332,8 +1205,6 @@ public Builder mergeQueryResult(com.google.cloud.asset.v1.QueryResult value) { return this; } /** - * - * *
      * Result of the query.
      * 
@@ -1357,8 +1228,6 @@ public Builder clearQueryResult() { return this; } /** - * - * *
      * Result of the query.
      * 
@@ -1369,8 +1238,6 @@ public com.google.cloud.asset.v1.QueryResult.Builder getQueryResultBuilder() { return getQueryResultFieldBuilder().getBuilder(); } /** - * - * *
      * Result of the query.
      * 
@@ -1389,8 +1256,6 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() } } /** - * - * *
      * Result of the query.
      * 
@@ -1398,19 +1263,14 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() * .google.cloud.asset.v1.QueryResult query_result = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryResult, - com.google.cloud.asset.v1.QueryResult.Builder, - com.google.cloud.asset.v1.QueryResultOrBuilder> + com.google.cloud.asset.v1.QueryResult, com.google.cloud.asset.v1.QueryResult.Builder, com.google.cloud.asset.v1.QueryResultOrBuilder> getQueryResultFieldBuilder() { if (queryResultBuilder_ == null) { if (!(responseCase_ == 4)) { response_ = com.google.cloud.asset.v1.QueryResult.getDefaultInstance(); } - queryResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryResult, - com.google.cloud.asset.v1.QueryResult.Builder, - com.google.cloud.asset.v1.QueryResultOrBuilder>( + queryResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.QueryResult, com.google.cloud.asset.v1.QueryResult.Builder, com.google.cloud.asset.v1.QueryResultOrBuilder>( (com.google.cloud.asset.v1.QueryResult) response_, getParentForChildren(), isClean()); @@ -1422,20 +1282,14 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, - com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, - com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
      * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; - * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -1443,15 +1297,12 @@ public boolean hasOutputConfig() { return responseCase_ == 5; } /** - * - * *
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
      * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; - * * @return The outputConfig. */ @java.lang.Override @@ -1469,8 +1320,6 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { } } /** - * - * *
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1492,8 +1341,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1513,8 +1360,6 @@ public Builder setOutputConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1524,14 +1369,10 @@ public Builder setOutputConfig(
      */
     public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig value) {
       if (outputConfigBuilder_ == null) {
-        if (responseCase_ == 5
-            && response_
-                != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) {
-          response_ =
-              com.google.cloud.asset.v1.QueryAssetsOutputConfig.newBuilder(
-                      (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (responseCase_ == 5 &&
+            response_ != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) {
+          response_ = com.google.cloud.asset.v1.QueryAssetsOutputConfig.newBuilder((com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_)
+              .mergeFrom(value).buildPartial();
         } else {
           response_ = value;
         }
@@ -1547,8 +1388,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf
       return this;
     }
     /**
-     *
-     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1573,8 +1412,6 @@ public Builder clearOutputConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1586,8 +1423,6 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig
       return getOutputConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1607,8 +1442,6 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
       }
     }
     /**
-     *
-     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1617,19 +1450,14 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
      * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.QueryAssetsOutputConfig,
-            com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder,
-            com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>
+        com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> 
         getOutputConfigFieldBuilder() {
       if (outputConfigBuilder_ == null) {
         if (!(responseCase_ == 5)) {
           response_ = com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance();
         }
-        outputConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.QueryAssetsOutputConfig,
-                com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder,
-                com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>(
+        outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>(
                 (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_,
                 getParentForChildren(),
                 isClean());
@@ -1639,9 +1467,9 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
       onChanged();
       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);
     }
 
@@ -1651,12 +1479,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsResponse)
   private static final com.google.cloud.asset.v1.QueryAssetsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsResponse();
   }
@@ -1665,27 +1493,27 @@ public static com.google.cloud.asset.v1.QueryAssetsResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public QueryAssetsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public QueryAssetsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1700,4 +1528,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.QueryAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
similarity index 79%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
index ea17915a345d..e13d2857eeca 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.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/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface QueryAssetsResponseOrBuilder
-    extends
+public interface QueryAssetsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Reference to a query job.
    * 
* * string job_reference = 1; - * * @return The jobReference. */ java.lang.String getJobReference(); /** - * - * *
    * Reference to a query job.
    * 
* * string job_reference = 1; - * * @return The bytes for jobReference. */ - com.google.protobuf.ByteString getJobReferenceBytes(); + com.google.protobuf.ByteString + getJobReferenceBytes(); /** - * - * *
    * The query response, which can be either an `error` or a valid `response`.
    * If `done` == `false` and the query result is being saved in a output, the
@@ -60,38 +37,29 @@ public interface QueryAssetsResponseOrBuilder
    * 
* * bool done = 2; - * * @return The done. */ boolean getDone(); /** - * - * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Error status.
    * 
@@ -101,32 +69,24 @@ public interface QueryAssetsResponseOrBuilder com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** - * - * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; - * * @return Whether the queryResult field is set. */ boolean hasQueryResult(); /** - * - * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; - * * @return The queryResult. */ com.google.cloud.asset.v1.QueryResult getQueryResult(); /** - * - * *
    * Result of the query.
    * 
@@ -136,34 +96,26 @@ public interface QueryAssetsResponseOrBuilder com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder(); /** - * - * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; - * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; - * * @return The outputConfig. */ com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig(); /** - * - * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
similarity index 71%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
index 096b783ccf23..af261c782c59 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.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;
 
 /**
- *
- *
  * 
  * Execution results of the query.
  * The result is formatted as rows represented by BigQuery compatible [schema].
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.QueryResult}
  */
-public final class QueryResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class QueryResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryResult)
     QueryResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use QueryResult.newBuilder() to construct.
   private QueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private QueryResult() {
     rows_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,37 +29,33 @@ private QueryResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new QueryResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_QueryResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.QueryResult.class,
-            com.google.cloud.asset.v1.QueryResult.Builder.class);
+            com.google.cloud.asset.v1.QueryResult.class, com.google.cloud.asset.v1.QueryResult.Builder.class);
   }
 
   public static final int ROWS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List rows_;
   /**
-   *
-   *
    * 
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -89,8 +67,6 @@ public java.util.List getRowsList() { return rows_; } /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -98,12 +74,11 @@ public java.util.List getRowsList() { * repeated .google.protobuf.Struct rows = 1; */ @java.lang.Override - public java.util.List getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { return rows_; } /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -115,8 +90,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -128,8 +101,6 @@ public com.google.protobuf.Struct getRows(int index) { return rows_.get(index); } /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -137,21 +108,19 @@ public com.google.protobuf.Struct getRows(int index) { * repeated .google.protobuf.Struct rows = 1; */ @java.lang.Override - public com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index) { + public com.google.protobuf.StructOrBuilder getRowsOrBuilder( + int index) { return rows_.get(index); } public static final int SCHEMA_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.TableSchema schema_; /** - * - * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; - * * @return Whether the schema field is set. */ @java.lang.Override @@ -159,14 +128,11 @@ public boolean hasSchema() { return schema_ != null; } /** - * - * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; - * * @return The schema. */ @java.lang.Override @@ -174,8 +140,6 @@ public com.google.cloud.asset.v1.TableSchema getSchema() { return schema_ == null ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() : schema_; } /** - * - * *
    * Describes the format of the [rows].
    * 
@@ -188,18 +152,14 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Token to retrieve the next page of the results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -208,29 +168,29 @@ 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 the 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 { @@ -241,14 +201,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_ROWS_FIELD_NUMBER = 4; private long totalRows_ = 0L; /** - * - * *
    * Total rows of the whole query results.
    * 
* * int64 total_rows = 4; - * * @return The totalRows. */ @java.lang.Override @@ -257,7 +214,6 @@ public long getTotalRows() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < rows_.size(); i++) { output.writeMessage(1, rows_.get(i)); } @@ -292,16 +249,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rows_.get(i)); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSchema()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } if (totalRows_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, totalRows_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, totalRows_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,20 +271,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.QueryResult)) { return super.equals(obj); } com.google.cloud.asset.v1.QueryResult other = (com.google.cloud.asset.v1.QueryResult) obj; - if (!getRowsList().equals(other.getRowsList())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { - if (!getSchema().equals(other.getSchema())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; } - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalRows() != other.getTotalRows()) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalRows() + != other.getTotalRows()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -347,109 +311,104 @@ public int hashCode() { hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (37 * hash) + TOTAL_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalRows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTotalRows()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.QueryResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.QueryResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.QueryResult parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.QueryResult parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryResult parseFrom( com.google.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.QueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.QueryResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.QueryResult 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.QueryResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.QueryResult 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.QueryResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.QueryResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.QueryResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.QueryResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Execution results of the query.
    * The result is formatted as rows represented by BigQuery compatible [schema].
@@ -459,32 +418,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.QueryResult}
    */
-  public static final class Builder extends com.google.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.QueryResult)
       com.google.cloud.asset.v1.QueryResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_QueryResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.QueryResult.class,
-              com.google.cloud.asset.v1.QueryResult.Builder.class);
+              com.google.cloud.asset.v1.QueryResult.class, com.google.cloud.asset.v1.QueryResult.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.QueryResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -507,9 +467,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_QueryResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_descriptor;
     }
 
     @java.lang.Override
@@ -528,12 +488,9 @@ public com.google.cloud.asset.v1.QueryResult build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.QueryResult buildPartial() {
-      com.google.cloud.asset.v1.QueryResult result =
-          new com.google.cloud.asset.v1.QueryResult(this);
+      com.google.cloud.asset.v1.QueryResult result = new com.google.cloud.asset.v1.QueryResult(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -553,7 +510,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.QueryResult re
     private void buildPartial0(com.google.cloud.asset.v1.QueryResult result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
+        result.schema_ = schemaBuilder_ == null
+            ? schema_
+            : schemaBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -567,39 +526,38 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryResult result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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.QueryResult) {
-        return mergeFrom((com.google.cloud.asset.v1.QueryResult) other);
+        return mergeFrom((com.google.cloud.asset.v1.QueryResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -626,10 +584,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.QueryResult other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            rowsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRowsFieldBuilder()
-                    : null;
+            rowsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRowsFieldBuilder() : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -672,43 +629,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.Struct m =
-                    input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-                if (rowsBuilder_ == null) {
-                  ensureRowsIsMutable();
-                  rows_.add(m);
-                } else {
-                  rowsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                totalRows_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.Struct m =
+                  input.readMessage(
+                      com.google.protobuf.Struct.parser(),
+                      extensionRegistry);
+              if (rowsBuilder_ == null) {
+                ensureRowsIsMutable();
+                rows_.add(m);
+              } else {
+                rowsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              totalRows_ = input.readInt64();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -718,27 +674,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List rows_ = java.util.Collections.emptyList();
-
+    private java.util.List rows_ =
+      java.util.Collections.emptyList();
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        rowsBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> rowsBuilder_;
 
     /**
-     *
-     *
      * 
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -753,8 +703,6 @@ public java.util.List getRowsList() { } } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -769,8 +717,6 @@ public int getRowsCount() { } } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -785,15 +731,14 @@ public com.google.protobuf.Struct getRows(int index) { } } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder setRows(int index, com.google.protobuf.Struct value) { + public Builder setRows( + int index, com.google.protobuf.Struct value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -807,15 +752,14 @@ public Builder setRows(int index, com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder setRows(int index, com.google.protobuf.Struct.Builder builderForValue) { + public Builder setRows( + int index, com.google.protobuf.Struct.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.set(index, builderForValue.build()); @@ -826,8 +770,6 @@ public Builder setRows(int index, com.google.protobuf.Struct.Builder builderForV return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -848,15 +790,14 @@ public Builder addRows(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addRows(int index, com.google.protobuf.Struct value) { + public Builder addRows( + int index, com.google.protobuf.Struct value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -870,15 +811,14 @@ public Builder addRows(int index, com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addRows(com.google.protobuf.Struct.Builder builderForValue) { + public Builder addRows( + com.google.protobuf.Struct.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -889,15 +829,14 @@ public Builder addRows(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addRows(int index, com.google.protobuf.Struct.Builder builderForValue) { + public Builder addRows( + int index, com.google.protobuf.Struct.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(index, builderForValue.build()); @@ -908,18 +847,18 @@ public Builder addRows(int index, com.google.protobuf.Struct.Builder builderForV return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addAllRows(java.lang.Iterable values) { + public Builder addAllRows( + java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -927,8 +866,6 @@ public Builder addAllRows(java.lang.Iterable * Each row hold a query result in the format of `Struct`. *
@@ -946,8 +883,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -965,43 +900,39 @@ public Builder removeRows(int index) { return this; } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public com.google.protobuf.Struct.Builder getRowsBuilder(int index) { + public com.google.protobuf.Struct.Builder getRowsBuilder( + int index) { return getRowsFieldBuilder().getBuilder(index); } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index) { + public com.google.protobuf.StructOrBuilder getRowsOrBuilder( + int index) { if (rowsBuilder_ == null) { - return rows_.get(index); - } else { + return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public java.util.List getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -1009,8 +940,6 @@ public java.util.List getRowsOrBu } } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -1018,46 +947,42 @@ public java.util.List getRowsOrBu * repeated .google.protobuf.Struct rows = 1; */ public com.google.protobuf.Struct.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder(com.google.protobuf.Struct.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder( + com.google.protobuf.Struct.getDefaultInstance()); } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public com.google.protobuf.Struct.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.protobuf.Struct.getDefaultInstance()); + public com.google.protobuf.Struct.Builder addRowsBuilder( + int index) { + return getRowsFieldBuilder().addBuilder( + index, com.google.protobuf.Struct.getDefaultInstance()); } /** - * - * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public java.util.List getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - 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> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + rows_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rows_ = null; } return rowsBuilder_; @@ -1065,47 +990,34 @@ public java.util.List getRowsBuilderList() { private com.google.cloud.asset.v1.TableSchema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TableSchema, - com.google.cloud.asset.v1.TableSchema.Builder, - com.google.cloud.asset.v1.TableSchemaOrBuilder> - schemaBuilder_; + com.google.cloud.asset.v1.TableSchema, com.google.cloud.asset.v1.TableSchema.Builder, com.google.cloud.asset.v1.TableSchemaOrBuilder> schemaBuilder_; /** - * - * *
      * Describes the format of the [rows].
      * 
* * .google.cloud.asset.v1.TableSchema schema = 2; - * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Describes the format of the [rows].
      * 
* * .google.cloud.asset.v1.TableSchema schema = 2; - * * @return The schema. */ public com.google.cloud.asset.v1.TableSchema getSchema() { if (schemaBuilder_ == null) { - return schema_ == null - ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() - : schema_; + return schema_ == null ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** - * - * *
      * Describes the format of the [rows].
      * 
@@ -1126,15 +1038,14 @@ public Builder setSchema(com.google.cloud.asset.v1.TableSchema value) { return this; } /** - * - * *
      * Describes the format of the [rows].
      * 
* * .google.cloud.asset.v1.TableSchema schema = 2; */ - public Builder setSchema(com.google.cloud.asset.v1.TableSchema.Builder builderForValue) { + public Builder setSchema( + com.google.cloud.asset.v1.TableSchema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -1145,8 +1056,6 @@ public Builder setSchema(com.google.cloud.asset.v1.TableSchema.Builder builderFo return this; } /** - * - * *
      * Describes the format of the [rows].
      * 
@@ -1155,9 +1064,9 @@ public Builder setSchema(com.google.cloud.asset.v1.TableSchema.Builder builderFo */ public Builder mergeSchema(com.google.cloud.asset.v1.TableSchema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && schema_ != null - && schema_ != com.google.cloud.asset.v1.TableSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + schema_ != null && + schema_ != com.google.cloud.asset.v1.TableSchema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -1170,8 +1079,6 @@ public Builder mergeSchema(com.google.cloud.asset.v1.TableSchema value) { return this; } /** - * - * *
      * Describes the format of the [rows].
      * 
@@ -1189,8 +1096,6 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Describes the format of the [rows].
      * 
@@ -1203,8 +1108,6 @@ public com.google.cloud.asset.v1.TableSchema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Describes the format of the [rows].
      * 
@@ -1215,14 +1118,11 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null - ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() - : schema_; + return schema_ == null ? + com.google.cloud.asset.v1.TableSchema.getDefaultInstance() : schema_; } } /** - * - * *
      * Describes the format of the [rows].
      * 
@@ -1230,17 +1130,14 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { * .google.cloud.asset.v1.TableSchema schema = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TableSchema, - com.google.cloud.asset.v1.TableSchema.Builder, - com.google.cloud.asset.v1.TableSchemaOrBuilder> + com.google.cloud.asset.v1.TableSchema, com.google.cloud.asset.v1.TableSchema.Builder, com.google.cloud.asset.v1.TableSchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TableSchema, - com.google.cloud.asset.v1.TableSchema.Builder, - com.google.cloud.asset.v1.TableSchemaOrBuilder>( - getSchema(), getParentForChildren(), isClean()); + schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.TableSchema, com.google.cloud.asset.v1.TableSchema.Builder, com.google.cloud.asset.v1.TableSchemaOrBuilder>( + getSchema(), + getParentForChildren(), + isClean()); schema_ = null; } return schemaBuilder_; @@ -1248,20 +1145,18 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of the 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; @@ -1270,21 +1165,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of the 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 { @@ -1292,35 +1186,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of the results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of the results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1330,21 +1217,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of the 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1352,16 +1235,13 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private long totalRows_; + private long totalRows_ ; /** - * - * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; - * * @return The totalRows. */ @java.lang.Override @@ -1369,33 +1249,27 @@ public long getTotalRows() { return totalRows_; } /** - * - * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; - * * @param value The totalRows to set. * @return This builder for chaining. */ public Builder setTotalRows(long value) { - + totalRows_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; - * * @return This builder for chaining. */ public Builder clearTotalRows() { @@ -1404,9 +1278,9 @@ public Builder clearTotalRows() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1416,12 +1290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryResult) private static final com.google.cloud.asset.v1.QueryResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryResult(); } @@ -1430,27 +1304,27 @@ public static com.google.cloud.asset.v1.QueryResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1465,4 +1339,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.QueryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java index dd583f8df19f..a811e4bcb818 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.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 QueryResultOrBuilder - extends +public interface QueryResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
* * repeated .google.protobuf.Struct rows = 1; */ - java.util.List getRowsList(); + java.util.List + getRowsList(); /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -44,8 +25,6 @@ public interface QueryResultOrBuilder */ com.google.protobuf.Struct getRows(int index); /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -54,53 +33,43 @@ public interface QueryResultOrBuilder */ int getRowsCount(); /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
* * repeated .google.protobuf.Struct rows = 1; */ - java.util.List getRowsOrBuilderList(); + java.util.List + getRowsOrBuilderList(); /** - * - * *
    * Each row hold a query result in the format of `Struct`.
    * 
* * repeated .google.protobuf.Struct rows = 1; */ - com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index); + com.google.protobuf.StructOrBuilder getRowsOrBuilder( + int index); /** - * - * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; - * * @return Whether the schema field is set. */ boolean hasSchema(); /** - * - * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; - * * @return The schema. */ com.google.cloud.asset.v1.TableSchema getSchema(); /** - * - * *
    * Describes the format of the [rows].
    * 
@@ -110,39 +79,31 @@ public interface QueryResultOrBuilder com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder(); /** - * - * *
    * Token to retrieve the next page of the results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of the results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Total rows of the whole query results.
    * 
* * int64 total_rows = 4; - * * @return The totalRows. */ long getTotalRows(); diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java similarity index 76% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java index 4bda1c0485e1..1cf6f546edf6 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java +++ b/owl-bot-staging/java-asset/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,37 +35,33 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object asset_ = "";
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -93,7 +71,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ @java.lang.Override @@ -102,15 +79,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`
@@ -120,15 +96,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 { @@ -137,12 +114,9 @@ public com.google.protobuf.ByteString getAssetBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -151,7 +125,6 @@ public com.google.protobuf.ByteString getAssetBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -160,15 +133,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
@@ -177,15 +149,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 { @@ -194,12 +167,9 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int ANCESTORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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),
@@ -209,15 +179,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),
@@ -227,15 +195,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),
@@ -245,7 +210,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -253,8 +217,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),
@@ -264,28 +226,24 @@ 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; - @SuppressWarnings("serial") 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 @@ -294,30 +252,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 { @@ -326,7 +284,6 @@ public com.google.protobuf.ByteString getRelationshipTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -385,17 +343,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -422,104 +384,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
@@ -533,32 +488,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -572,9 +528,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
@@ -593,12 +549,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -628,39 +581,38 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedAsset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -720,38 +672,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                asset_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAncestorsIsMutable();
-                ancestors_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                relationshipType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              asset_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAncestorsIsMutable();
+              ancestors_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              relationshipType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -761,13 +708,10 @@ public Builder mergeFrom(
       } // finally
       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`
@@ -777,13 +721,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; @@ -792,8 +736,6 @@ public java.lang.String getAsset() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -803,14 +745,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 { @@ -818,8 +761,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`
@@ -829,22 +770,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -854,7 +791,6 @@ public Builder setAsset(java.lang.String value) {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAsset() { @@ -864,8 +800,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -875,14 +809,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000001; @@ -892,8 +824,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
@@ -902,13 +832,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; @@ -917,8 +847,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -927,14 +855,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 { @@ -942,8 +871,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -952,22 +879,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -976,7 +899,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -986,8 +908,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -996,14 +916,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -1011,18 +929,14 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000004) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1032,15 +946,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),
@@ -1050,15 +962,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),
@@ -1068,7 +977,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1076,8 +984,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),
@@ -1087,16 +993,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),
@@ -1106,23 +1010,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestors( + int index, java.lang.String value) { + if (value == null) { 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),
@@ -1132,22 +1032,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestors( + java.lang.String value) { + if (value == null) { 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),
@@ -1157,19 +1053,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),
@@ -1179,7 +1074,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 3; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1189,8 +1083,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),
@@ -1200,14 +1092,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); @@ -1217,21 +1107,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; @@ -1240,22 +1128,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 { @@ -1263,37 +1150,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } relationshipType_ = value; bitField0_ |= 0x00000008; 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() { @@ -1303,31 +1183,27 @@ public Builder clearRelationshipType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); relationshipType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1337,12 +1213,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(); } @@ -1351,27 +1227,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1386,4 +1262,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java similarity index 80% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java index dc568a1f8408..da36685963fd 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java index 02e81f8e1e92..1c5ee28769c5 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java +++ b/owl-bot-staging/java-asset/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,58 +13,52 @@
  *
  * 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;
   }
-
-  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 @@ -89,25 +66,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.
    * 
@@ -115,20 +85,14 @@ 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() { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { + return relationshipAttributes_ == null ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } public static final int ASSETS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List assets_; /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -140,8 +104,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -149,13 +111,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.
    * 
@@ -167,8 +127,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -180,8 +138,6 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -189,12 +145,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; @@ -206,7 +162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -223,11 +180,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,7 +195,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); @@ -246,9 +204,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,104 +233,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
@@ -380,32 +333,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +380,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
@@ -447,12 +401,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -472,10 +423,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.RelatedAssets
     private void buildPartial0(com.google.cloud.asset.v1.RelatedAssets result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.relationshipAttributes_ =
-            relationshipAttributesBuilder_ == null
-                ? relationshipAttributes_
-                : relationshipAttributesBuilder_.build();
+        result.relationshipAttributes_ = relationshipAttributesBuilder_ == null
+            ? relationshipAttributes_
+            : relationshipAttributesBuilder_.build();
       }
     }
 
@@ -483,39 +433,38 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedAssets result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -545,10 +494,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.RelatedAssets other) {
             assetsBuilder_ = null;
             assets_ = other.assets_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            assetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAssetsFieldBuilder()
-                    : null;
+            assetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAssetsFieldBuilder() : null;
           } else {
             assetsBuilder_.addAllMessages(other.assets_);
           }
@@ -580,33 +528,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getRelationshipAttributesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.asset.v1.RelatedAsset m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry);
-                if (assetsBuilder_ == null) {
-                  ensureAssetsIsMutable();
-                  assets_.add(m);
-                } else {
-                  assetsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getRelationshipAttributesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.asset.v1.RelatedAsset m =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.RelatedAsset.parser(),
+                      extensionRegistry);
+              if (assetsBuilder_ == null) {
+                ensureAssetsIsMutable();
+                assets_.add(m);
+              } else {
+                assetsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -616,60 +563,45 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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(); @@ -683,8 +615,6 @@ public Builder setRelationshipAttributes( return this; } /** - * - * *
      * The detailed relationship attributes.
      * 
@@ -703,21 +633,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 (((bitField0_ & 0x00000001) != 0) - && relationshipAttributes_ != null - && relationshipAttributes_ - != com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + relationshipAttributes_ != null && + relationshipAttributes_ != com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance()) { getRelationshipAttributesBuilder().mergeFrom(value); } else { relationshipAttributes_ = value; @@ -730,8 +656,6 @@ public Builder mergeRelationshipAttributes( return this; } /** - * - * *
      * The detailed relationship attributes.
      * 
@@ -749,42 +673,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() { bitField0_ |= 0x00000001; 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.
      * 
@@ -792,41 +707,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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -841,8 +747,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -857,8 +761,6 @@ public int getAssetsCount() { } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -873,15 +775,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(); @@ -895,8 +796,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.RelatedAsset value return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -915,8 +814,6 @@ public Builder setAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -937,15 +834,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(); @@ -959,15 +855,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()); @@ -978,8 +873,6 @@ public Builder addAssets(com.google.cloud.asset.v1.RelatedAsset.Builder builderF return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -998,8 +891,6 @@ public Builder addAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1010,7 +901,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); @@ -1018,8 +910,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1037,8 +927,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1056,44 +944,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 { @@ -1101,8 +984,6 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int in } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1110,54 +991,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_ & 0x00000002) != 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_ & 0x00000002) != 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); } @@ -1167,12 +1043,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(); } @@ -1181,27 +1057,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1216,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java index 00b60868d088..befe6f913733 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java index d9f3da06a134..d1267d9a16e8 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java +++ b/owl-bot-staging/java-asset/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,43 +26,38 @@ 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; } - - 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; - @SuppressWarnings("serial") 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 @@ -89,29 +66,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 { @@ -120,19 +97,15 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -141,30 +114,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } 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(assetType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assetType_); } @@ -215,16 +188,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,136 +219,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +353,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 @@ -406,11 +374,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.RelatedResource result = new com.google.cloud.asset.v1.RelatedResource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -429,39 +394,38 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedResource result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -506,25 +470,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,25 +495,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -561,21 +519,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 { @@ -583,35 +540,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000001; 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() { @@ -621,21 +571,17 @@ public Builder clearAssetType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000001; @@ -645,21 +591,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; @@ -668,22 +612,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 { @@ -691,37 +634,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fullResourceName_ = value; bitField0_ |= 0x00000002; 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() { @@ -731,31 +667,27 @@ public Builder clearFullResourceName() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -765,12 +697,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(); } @@ -779,27 +711,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,4 +746,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java similarity index 60% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java index e23e9a341a6b..4a184b2490d1 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java index afb0f71fee01..9df1c43e33ea 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") private java.util.List relatedResources_; /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -85,8 +63,6 @@ public java.util.List getRelatedResou return relatedResources_; } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -94,13 +70,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.
    * 
@@ -112,8 +86,6 @@ public int getRelatedResourcesCount() { return relatedResources_.size(); } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -125,8 +97,6 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) return relatedResources_.get(index); } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -140,7 +110,6 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -166,7 +136,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -176,15 +147,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +176,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +315,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 @@ -371,12 +336,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -401,39 +363,38 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedResources result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -460,10 +421,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_); } @@ -495,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.RelatedResource m = - input.readMessage( - com.google.cloud.asset.v1.RelatedResource.parser(), extensionRegistry); - if (relatedResourcesBuilder_ == null) { - ensureRelatedResourcesIsMutable(); - relatedResources_.add(m); - } else { - relatedResourcesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.RelatedResource m = + input.readMessage( + com.google.cloud.asset.v1.RelatedResource.parser(), + extensionRegistry); + if (relatedResourcesBuilder_ == null) { + ensureRelatedResourcesIsMutable(); + relatedResources_.add(m); + } else { + relatedResourcesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -524,29 +483,21 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -561,8 +512,6 @@ public java.util.List getRelatedResou } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -577,8 +526,6 @@ public int getRelatedResourcesCount() { } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -593,15 +540,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(); @@ -615,8 +561,6 @@ public Builder setRelatedResources(int index, com.google.cloud.asset.v1.RelatedR return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -635,8 +579,6 @@ public Builder setRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -657,15 +599,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(); @@ -679,8 +620,6 @@ public Builder addRelatedResources(int index, com.google.cloud.asset.v1.RelatedR return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -699,8 +638,6 @@ public Builder addRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -719,8 +656,6 @@ public Builder addRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -731,7 +666,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); @@ -739,8 +675,6 @@ public Builder addAllRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -758,8 +692,6 @@ public Builder clearRelatedResources() { return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -777,20 +709,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.
      * 
@@ -800,22 +729,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 { @@ -823,8 +749,6 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -832,47 +756,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(), @@ -881,9 +796,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); } @@ -893,12 +808,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(); } @@ -907,27 +822,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -942,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java similarity index 64% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java index 7e13b3b81889..10384ab80468 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java index 9488959da6b5..e694779b014a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java +++ b/owl-bot-staging/java-asset/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,44 +32,39 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   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 @@ -97,30 +73,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 { @@ -129,18 +105,14 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") 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 @@ -149,29 +121,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 { @@ -180,18 +152,14 @@ public com.google.protobuf.ByteString getSourceResourceTypeBytes() { } public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -200,29 +168,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 { @@ -231,18 +199,14 @@ public com.google.protobuf.ByteString getTargetResourceTypeBytes() { } public static final int ACTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The action. */ @java.lang.Override @@ -251,29 +215,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 { @@ -282,7 +246,6 @@ public com.google.protobuf.ByteString getActionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceResourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceResourceType_); } @@ -336,18 +300,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,104 +339,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
@@ -480,32 +440,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -518,9 +479,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
@@ -539,11 +500,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.RelationshipAttributes result = new com.google.cloud.asset.v1.RelationshipAttributes(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -568,39 +526,38 @@ private void buildPartial0(com.google.cloud.asset.v1.RelationshipAttributes resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -608,8 +565,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_;
         bitField0_ |= 0x00000001;
@@ -656,37 +612,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                sourceResourceType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                targetResourceType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                action_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 34:
-              {
-                type_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              sourceResourceType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              targetResourceType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              action_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 34: {
+              type_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -696,26 +647,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     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; @@ -724,22 +672,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 { @@ -747,37 +694,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000001; 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() { @@ -787,22 +727,18 @@ public Builder clearType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; @@ -812,20 +748,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; @@ -834,21 +768,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 { @@ -856,35 +789,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceResourceType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceResourceType_ = value; bitField0_ |= 0x00000002; 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() { @@ -894,21 +820,17 @@ public Builder clearSourceResourceType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceResourceTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceResourceType_ = value; bitField0_ |= 0x00000002; @@ -918,20 +840,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; @@ -940,21 +860,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 { @@ -962,35 +881,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetResourceType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetResourceType_ = value; bitField0_ |= 0x00000004; 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() { @@ -1000,21 +912,17 @@ public Builder clearTargetResourceType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetResourceTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetResourceType_ = value; bitField0_ |= 0x00000004; @@ -1024,20 +932,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; @@ -1046,21 +952,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 { @@ -1068,35 +973,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -1106,30 +1004,26 @@ public Builder clearAction() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1139,12 +1033,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(); } @@ -1153,27 +1047,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1188,4 +1082,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java similarity index 65% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java index 254c4fbbba60..5030889b1b69 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java index 9e4cb4b7cac1..9afca2329e61 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java +++ b/owl-bot-staging/java-asset/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,43 +30,38 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -93,29 +70,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 { @@ -124,12 +101,9 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -139,7 +113,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -148,15 +121,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:
@@ -166,15 +138,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 { @@ -183,12 +156,9 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryName_ = ""; /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -197,7 +167,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -206,15 +175,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`
@@ -223,15 +191,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 { @@ -240,12 +209,9 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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:
@@ -254,7 +220,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -263,15 +228,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:
@@ -280,15 +244,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 { @@ -297,12 +262,9 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } public static final int PARENT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -326,15 +287,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
@@ -349,15 +309,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 { @@ -368,15 +329,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 @@ -384,15 +342,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 @@ -400,8 +355,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.
@@ -415,19 +368,15 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   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 @@ -436,30 +385,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 { @@ -468,7 +417,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -480,7 +428,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -527,7 +476,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_); @@ -540,23 +490,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -589,135 +546,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -737,9 +689,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 @@ -759,9 +711,7 @@ public com.google.cloud.asset.v1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1.Resource buildPartial() { com.google.cloud.asset.v1.Resource result = new com.google.cloud.asset.v1.Resource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -784,7 +734,9 @@ private void buildPartial0(com.google.cloud.asset.v1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); + result.data_ = dataBuilder_ == null + ? data_ + : dataBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.location_ = location_; @@ -795,39 +747,38 @@ private void buildPartial0(com.google.cloud.asset.v1.Resource result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -895,55 +846,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 66: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getDataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -953,25 +898,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -980,21 +922,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 { @@ -1002,35 +943,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1040,21 +974,17 @@ public Builder clearVersion() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1064,8 +994,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:
@@ -1075,13 +1003,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; @@ -1090,8 +1018,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1101,14 +1027,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 { @@ -1116,8 +1043,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1127,22 +1052,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1152,7 +1073,6 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1162,8 +1082,6 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1173,14 +1091,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1190,8 +1106,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`
@@ -1200,13 +1114,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; @@ -1215,8 +1129,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1225,14 +1137,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 { @@ -1240,8 +1153,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1250,22 +1161,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1274,7 +1181,6 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1284,8 +1190,6 @@ public Builder clearDiscoveryName() { return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1294,14 +1198,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1311,8 +1213,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:
@@ -1321,13 +1221,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; @@ -1336,8 +1236,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:
@@ -1346,14 +1244,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 { @@ -1361,8 +1260,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:
@@ -1371,22 +1268,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1395,7 +1288,6 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1405,8 +1297,6 @@ public Builder clearResourceUrl() { return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1415,14 +1305,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1432,8 +1320,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
@@ -1448,13 +1334,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; @@ -1463,8 +1349,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1479,14 +1363,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 { @@ -1494,8 +1379,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1510,22 +1393,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1540,7 +1419,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1550,8 +1428,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1566,14 +1442,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1583,35 +1457,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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() { @@ -1622,8 +1487,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1645,8 +1508,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.
@@ -1654,7 +1515,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();
       } else {
@@ -1665,8 +1527,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.
@@ -1676,9 +1536,9 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && data_ != null
-            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          data_ != null &&
+          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1691,8 +1551,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.
@@ -1711,8 +1569,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1726,8 +1582,6 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1739,12 +1593,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.
@@ -1753,16 +1606,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_;
@@ -1770,21 +1621,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; @@ -1793,22 +1642,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 { @@ -1816,37 +1664,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; 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() { @@ -1856,31 +1697,27 @@ public Builder clearLocation() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1890,12 +1727,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(); } @@ -1904,27 +1741,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1939,4 +1776,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java similarity index 82% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java index 9243a97d3ce3..28dfd71034fe 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java similarity index 83% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java index 856f5f2f7f39..d1f62a1698d3 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java @@ -1,43 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * A result of Resource Search, containing information of a cloud resource.
- * Next ID: 31
+ * Next ID: 32
  * 
* * 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_ = ""; @@ -62,50 +44,47 @@ 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; } - - 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; - @SuppressWarnings("serial") 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`.
@@ -118,7 +97,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -127,15 +105,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`.
@@ -148,15 +125,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 { @@ -165,12 +143,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -178,7 +153,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -187,15 +161,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`:
@@ -203,15 +176,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 { @@ -220,12 +194,9 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int PROJECT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -237,7 +208,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
    * 
* * string project = 3; - * * @return The project. */ @java.lang.Override @@ -246,15 +216,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
@@ -266,15 +235,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 { @@ -283,12 +253,9 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int FOLDERS_FIELD_NUMBER = 17; - @SuppressWarnings("serial") 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
@@ -300,15 +267,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
@@ -320,15 +285,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
@@ -340,7 +302,6 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 17; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -348,8 +309,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
@@ -361,21 +320,18 @@ 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; - @SuppressWarnings("serial") 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
@@ -387,7 +343,6 @@ public com.google.protobuf.ByteString getFoldersBytes(int index) {
    * 
* * string organization = 18; - * * @return The organization. */ @java.lang.Override @@ -396,15 +351,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
@@ -416,15 +370,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 { @@ -433,12 +388,9 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -448,7 +400,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() {
    * 
* * string display_name = 4; - * * @return The displayName. */ @java.lang.Override @@ -457,15 +408,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.
@@ -475,15 +425,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 { @@ -492,12 +443,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") 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
@@ -508,7 +456,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -517,15 +464,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
@@ -536,15 +482,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 { @@ -553,12 +500,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LOCATION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -569,7 +513,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string location = 6; - * * @return The location. */ @java.lang.Override @@ -578,15 +521,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
@@ -597,15 +539,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 { @@ -614,34 +557,32 @@ 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, + ""); } - @SuppressWarnings("serial") - 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_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -659,21 +600,20 @@ 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 Google
    * Cloud
@@ -695,8 +635,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -714,19 +652,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+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 Google
    * Cloud
@@ -744,11 +680,11 @@ public java.util.Map getLabelsMap() {
    * 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();
     }
@@ -756,12 +692,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList networkTags_;
   /**
-   *
-   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group Google Cloud resources. See [Labelling
@@ -775,15 +708,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 Google Cloud resources. See [Labelling
@@ -797,15 +728,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 Google Cloud resources. See [Labelling
@@ -819,7 +747,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. */ @@ -827,8 +754,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 Google Cloud resources. See [Labelling
@@ -842,21 +767,18 @@ 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; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKey_ = ""; /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -875,27 +797,24 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) {
    * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return The kmsKey. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getKmsKey() { + @java.lang.Deprecated public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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)
@@ -914,18 +833,18 @@ public java.lang.String getKmsKey() {
    * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return The bytes for kmsKey. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getKmsKeyBytes() { + @java.lang.Deprecated 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 { @@ -934,12 +853,9 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } public static final int KMS_KEYS_FIELD_NUMBER = 28; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList kmsKeys_; /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -953,15 +869,13 @@ public com.google.protobuf.ByteString getKmsKeyBytes() {
    * 
* * repeated string kms_keys = 28; - * * @return A list containing the kmsKeys. */ - public com.google.protobuf.ProtocolStringList getKmsKeysList() { + public com.google.protobuf.ProtocolStringList + getKmsKeysList() { return kmsKeys_; } /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -975,15 +889,12 @@ public com.google.protobuf.ProtocolStringList getKmsKeysList() {
    * 
* * repeated string kms_keys = 28; - * * @return The count of kmsKeys. */ public int getKmsKeysCount() { return kmsKeys_.size(); } /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -997,7 +908,6 @@ public int getKmsKeysCount() {
    * 
* * repeated string kms_keys = 28; - * * @param index The index of the element to return. * @return The kmsKeys at the given index. */ @@ -1005,8 +915,6 @@ public java.lang.String getKmsKeys(int index) { return kmsKeys_.get(index); } /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -1020,19 +928,17 @@ public java.lang.String getKmsKeys(int index) {
    * 
* * repeated string kms_keys = 28; - * * @param index The index of the value to return. * @return The bytes of the kmsKeys at the given index. */ - public com.google.protobuf.ByteString getKmsKeysBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeysBytes(int index) { return kmsKeys_.getByteString(index); } 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
@@ -1046,7 +952,6 @@ public com.google.protobuf.ByteString getKmsKeysBytes(int index) {
    * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1054,8 +959,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
@@ -1069,7 +972,6 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return The createTime. */ @java.lang.Override @@ -1077,8 +979,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
@@ -1101,8 +1001,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
@@ -1117,7 +1015,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1125,8 +1022,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
@@ -1141,7 +1036,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return The updateTime. */ @java.lang.Override @@ -1149,8 +1043,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
@@ -1172,12 +1064,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int STATE_FIELD_NUMBER = 13;
-
   @SuppressWarnings("serial")
   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
@@ -1199,7 +1088,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string state = 13; - * * @return The state. */ @java.lang.Override @@ -1208,15 +1096,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
@@ -1238,15 +1125,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 { @@ -1257,8 +1145,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,
@@ -1279,7 +1165,6 @@ public com.google.protobuf.ByteString getStateBytes() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return Whether the additionalAttributes field is set. */ @java.lang.Override @@ -1287,8 +1172,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,
@@ -1309,18 +1192,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,
@@ -1344,18 +1222,13 @@ public com.google.protobuf.Struct getAdditionalAttributes() {
    */
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
-    return additionalAttributes_ == null
-        ? com.google.protobuf.Struct.getDefaultInstance()
-        : additionalAttributes_;
+    return additionalAttributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_;
   }
 
   public static final int PARENT_FULL_RESOURCE_NAME_FIELD_NUMBER = 19;
-
   @SuppressWarnings("serial")
   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`:
@@ -1366,7 +1239,6 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
    * 
* * string parent_full_resource_name = 19; - * * @return The parentFullResourceName. */ @java.lang.Override @@ -1375,15 +1247,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`:
@@ -1394,15 +1265,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 { @@ -1411,12 +1283,9 @@ public com.google.protobuf.ByteString getParentFullResourceNameBytes() { } public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 16; - @SuppressWarnings("serial") private java.util.List versionedResources_; /** - * - * *
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1433,8 +1302,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
@@ -1447,13 +1314,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
@@ -1470,8 +1335,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
@@ -1488,8 +1351,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
@@ -1508,12 +1369,9 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   public static final int ATTACHED_RESOURCES_FIELD_NUMBER = 20;
-
   @SuppressWarnings("serial")
   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
@@ -1530,8 +1388,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
@@ -1544,13 +1400,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
@@ -1567,8 +1421,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
@@ -1585,8 +1437,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
@@ -1605,40 +1455,32 @@ 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());
   }
-
   @SuppressWarnings("serial")
+  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);
     }
     return relationships_;
   }
-
   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
@@ -1651,22 +1493,20 @@ 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
@@ -1679,13 +1519,10 @@ 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
@@ -1698,20 +1535,17 @@ public boolean containsRelationships(java.lang.String key) {
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-  public /* nullable */ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
+  public /* nullable */
+com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.cloud.asset.v1.RelatedResources defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map 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
@@ -1724,10 +1558,9 @@ 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 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)) {
@@ -1737,12 +1570,9 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.l
   }
 
   public static final int TAG_KEYS_FIELD_NUMBER = 23;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList tagKeys_;
   /**
-   *
-   *
    * 
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1755,15 +1585,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`:
@@ -1776,15 +1604,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`:
@@ -1797,7 +1622,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. */ @@ -1805,8 +1629,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`:
@@ -1819,21 +1641,18 @@ 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; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList tagValues_; /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1848,15 +1667,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}.
@@ -1871,15 +1688,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}.
@@ -1894,7 +1708,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. */ @@ -1902,8 +1715,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}.
@@ -1918,21 +1729,18 @@ 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; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList tagValueIds_; /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1944,15 +1752,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`:
@@ -1964,15 +1770,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`:
@@ -1984,7 +1787,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. */ @@ -1992,8 +1794,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`:
@@ -2005,21 +1805,18 @@ 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; - @SuppressWarnings("serial") 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`:
@@ -2030,7 +1827,6 @@ public com.google.protobuf.ByteString getTagValueIdsBytes(int index) {
    * 
* * string parent_asset_type = 103; - * * @return The parentAssetType. */ @java.lang.Override @@ -2039,15 +1835,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`:
@@ -2058,15 +1853,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 { @@ -2075,7 +1871,6 @@ public com.google.protobuf.ByteString getParentAssetTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2087,7 +1882,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2106,8 +1902,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)); } @@ -2141,8 +1941,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)); } @@ -2185,15 +1989,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; @@ -2204,24 +2008,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; @@ -2238,19 +2044,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; @@ -2295,47 +2100,70 @@ public int getSerializedSize() { @java.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; - if (!getKmsKeysList().equals(other.getKmsKeysList())) 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 (!getKmsKeysList() + .equals(other.getKmsKeysList())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2426,161 +2254,157 @@ 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.
-   * Next ID: 31
+   * Next ID: 32
    * 
* * 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2643,9 +2467,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 @@ -2664,12 +2488,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2756,19 +2577,22 @@ private void buildPartial0(com.google.cloud.asset.v1.ResourceSearchResult result result.kmsKey_ = kmsKey_; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { result.state_ = state_; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.additionalAttributes_ = - additionalAttributesBuilder_ == null - ? additionalAttributes_ - : additionalAttributesBuilder_.build(); + result.additionalAttributes_ = additionalAttributesBuilder_ == null + ? additionalAttributes_ + : additionalAttributesBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { result.parentFullResourceName_ = parentFullResourceName_; @@ -2786,39 +2610,38 @@ private void buildPartial0(com.google.cloud.asset.v1.ResourceSearchResult result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -2872,7 +2695,8 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { bitField0_ |= 0x00000080; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000100; if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { @@ -2936,10 +2760,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { versionedResourcesBuilder_ = null; versionedResources_ = other.versionedResources_; bitField0_ = (bitField0_ & ~0x00020000); - versionedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionedResourcesFieldBuilder() - : null; + versionedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionedResourcesFieldBuilder() : null; } else { versionedResourcesBuilder_.addAllMessages(other.versionedResources_); } @@ -2963,16 +2786,16 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { attachedResourcesBuilder_ = null; attachedResources_ = other.attachedResources_; bitField0_ = (bitField0_ & ~0x00040000); - 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()); bitField0_ |= 0x00080000; if (!other.tagKeys_.isEmpty()) { if (tagKeys_.isEmpty()) { @@ -3035,192 +2858,168 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 50: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 58: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000100; - break; - } // case 58 - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 66 - case 74: - { - input.readMessage( - getAdditionalAttributesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 74 - case 82: - { - kmsKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 82 - case 90: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 90 - case 98: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: - { - state_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 130: - { - com.google.cloud.asset.v1.VersionedResource m = - input.readMessage( - com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry); - if (versionedResourcesBuilder_ == null) { - ensureVersionedResourcesIsMutable(); - versionedResources_.add(m); - } else { - versionedResourcesBuilder_.addMessage(m); - } - break; - } // case 130 - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 138 - case 146: - { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 146 - case 154: - { - parentFullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; - break; - } // case 154 - case 162: - { - com.google.cloud.asset.v1.AttachedResource m = - input.readMessage( - com.google.cloud.asset.v1.AttachedResource.parser(), extensionRegistry); - if (attachedResourcesBuilder_ == null) { - ensureAttachedResourcesIsMutable(); - attachedResources_.add(m); - } else { - attachedResourcesBuilder_.addMessage(m); - } - break; - } // case 162 - case 170: - { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1.RelatedResources> - relationships__ = - input.readMessage( - RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableRelationships() - .getMutableMap() - .put(relationships__.getKey(), relationships__.getValue()); - bitField0_ |= 0x00080000; - break; - } // case 170 - case 186: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureTagKeysIsMutable(); - tagKeys_.add(s); - break; - } // case 186 - case 202: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureTagValuesIsMutable(); - tagValues_.add(s); - break; - } // case 202 - case 210: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureTagValueIdsIsMutable(); - tagValueIds_.add(s); - break; - } // case 210 - case 226: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeysIsMutable(); - kmsKeys_.add(s); - break; - } // case 226 - case 826: - { - parentAssetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00800000; - break; - } // case 826 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 50: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 58: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000100; + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 66 + case 74: { + input.readMessage( + getAdditionalAttributesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 74 + case 82: { + kmsKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 82 + case 90: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 90 + case 98: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: { + state_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 130: { + com.google.cloud.asset.v1.VersionedResource m = + input.readMessage( + com.google.cloud.asset.v1.VersionedResource.parser(), + extensionRegistry); + if (versionedResourcesBuilder_ == null) { + ensureVersionedResourcesIsMutable(); + versionedResources_.add(m); + } else { + versionedResourcesBuilder_.addMessage(m); + } + break; + } // case 130 + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 138 + case 146: { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 146 + case 154: { + parentFullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 154 + case 162: { + com.google.cloud.asset.v1.AttachedResource m = + input.readMessage( + com.google.cloud.asset.v1.AttachedResource.parser(), + extensionRegistry); + if (attachedResourcesBuilder_ == null) { + ensureAttachedResourcesIsMutable(); + attachedResources_.add(m); + } else { + attachedResourcesBuilder_.addMessage(m); + } + break; + } // case 162 + case 170: { + com.google.protobuf.MapEntry + relationships__ = input.readMessage( + RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableRelationships().getMutableMap().put( + relationships__.getKey(), relationships__.getValue()); + bitField0_ |= 0x00080000; + break; + } // case 170 + case 186: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTagKeysIsMutable(); + tagKeys_.add(s); + break; + } // case 186 + case 202: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTagValuesIsMutable(); + tagValues_.add(s); + break; + } // case 202 + case 210: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTagValueIdsIsMutable(); + tagValueIds_.add(s); + break; + } // case 210 + case 226: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeysIsMutable(); + kmsKeys_.add(s); + break; + } // case 226 + case 826: { + parentAssetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00800000; + break; + } // case 826 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3230,13 +3029,10 @@ public Builder mergeFrom( } // finally 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`.
@@ -3249,13 +3045,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; @@ -3264,8 +3060,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`.
@@ -3278,14 +3072,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 { @@ -3293,8 +3088,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`.
@@ -3307,22 +3100,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3335,7 +3124,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3345,8 +3133,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3359,14 +3145,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3376,8 +3160,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`:
@@ -3385,13 +3167,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; @@ -3400,8 +3182,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3409,14 +3189,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 { @@ -3424,8 +3205,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3433,22 +3212,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3456,7 +3231,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -3466,8 +3240,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3475,14 +3247,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -3492,8 +3262,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
@@ -3505,13 +3273,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; @@ -3520,8 +3288,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
@@ -3533,14 +3299,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 { @@ -3548,8 +3315,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
@@ -3561,22 +3326,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3588,7 +3349,6 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 3; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -3598,8 +3358,6 @@ public Builder clearProject() { return this; } /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3611,14 +3369,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -3626,18 +3382,14 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3649,15 +3401,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
@@ -3669,15 +3419,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
@@ -3689,7 +3436,6 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 17; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3697,8 +3443,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
@@ -3710,16 +3454,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
@@ -3731,23 +3473,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFolders( + int index, java.lang.String value) { + if (value == null) { 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
@@ -3759,22 +3497,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFolders( + java.lang.String value) { + if (value == null) { 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
@@ -3786,19 +3520,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
@@ -3810,7 +3543,6 @@ public Builder addAllFolders(java.lang.Iterable values) {
      * 
* * repeated string folders = 17; - * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3820,8 +3552,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
@@ -3833,14 +3563,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFoldersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -3850,8 +3578,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
@@ -3863,13 +3589,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; @@ -3878,8 +3604,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
@@ -3891,14 +3615,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 { @@ -3906,8 +3631,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
@@ -3919,22 +3642,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganization( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3946,7 +3665,6 @@ public Builder setOrganization(java.lang.String value) {
      * 
* * string organization = 18; - * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3956,8 +3674,6 @@ public Builder clearOrganization() { return this; } /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3969,14 +3685,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrganizationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; @@ -3986,8 +3700,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.
@@ -3997,13 +3709,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; @@ -4012,8 +3724,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -4023,14 +3733,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 { @@ -4038,8 +3749,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.
@@ -4049,22 +3758,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -4074,7 +3779,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 4; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4084,8 +3788,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -4095,14 +3797,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -4112,8 +3812,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
@@ -4124,13 +3822,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; @@ -4139,8 +3837,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
@@ -4151,14 +3847,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 { @@ -4166,8 +3863,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
@@ -4178,22 +3873,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; 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
@@ -4204,7 +3895,6 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4214,8 +3904,6 @@ public Builder clearDescription() { 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
@@ -4226,14 +3914,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -4243,8 +3929,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
@@ -4255,13 +3939,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; @@ -4270,8 +3954,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
@@ -4282,14 +3964,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 { @@ -4297,8 +3980,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
@@ -4309,22 +3990,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000080; 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
@@ -4335,7 +4012,6 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 6; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -4345,8 +4021,6 @@ public Builder clearLocation() { 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
@@ -4357,14 +4031,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000080; @@ -4372,19 +4044,21 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { 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() { 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(); @@ -4393,13 +4067,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4417,21 +4088,20 @@ 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 Google
      * Cloud
@@ -4453,8 +4123,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4472,19 +4140,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+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 Google
      * Cloud
@@ -4502,25 +4168,23 @@ public java.util.Map getLabelsMap() {
      * 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();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000100);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4537,22 +4201,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() {
       bitField0_ |= 0x00000100;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4569,20 +4234,17 @@ 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");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    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"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000100;
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4599,24 +4261,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);
       bitField0_ |= 0x00000100;
       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_ & 0x00000200) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000200;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -4630,15 +4290,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 Google Cloud resources. See [Labelling
@@ -4652,15 +4310,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 Google Cloud resources. See [Labelling
@@ -4674,7 +4329,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. */ @@ -4682,8 +4336,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 Google Cloud resources. See [Labelling
@@ -4697,16 +4349,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 Google Cloud resources. See [Labelling
@@ -4720,23 +4370,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkTags( + int index, java.lang.String value) { + if (value == null) { 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 Google Cloud resources. See [Labelling
@@ -4750,22 +4396,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTags( + java.lang.String value) { + if (value == null) { 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 Google Cloud resources. See [Labelling
@@ -4779,19 +4421,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 Google Cloud resources. See [Labelling
@@ -4805,7 +4446,6 @@ public Builder addAllNetworkTags(java.lang.Iterable values) {
      * 
* * repeated string network_tags = 8; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -4815,8 +4455,6 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -4830,14 +4468,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -4847,8 +4483,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)
@@ -4867,16 +4501,15 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return The kmsKey. */ - @java.lang.Deprecated - public java.lang.String getKmsKey() { + @java.lang.Deprecated 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; @@ -4885,8 +4518,6 @@ public java.lang.String getKmsKey() { } } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4905,17 +4536,17 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return The bytes for kmsKey. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getKmsKeyBytes() { + @java.lang.Deprecated 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 { @@ -4923,8 +4554,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4943,25 +4572,20 @@ public com.google.protobuf.ByteString getKmsKeyBytes() {
      * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @param value The kmsKey to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setKmsKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setKmsKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKey_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4980,21 +4604,17 @@ public Builder setKmsKey(java.lang.String value) {
      * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearKmsKey() { + @java.lang.Deprecated public Builder clearKmsKey() { kmsKey_ = getDefaultInstance().getKmsKey(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5013,17 +4633,14 @@ public Builder clearKmsKey() {
      * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setKmsKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKey_ = value; bitField0_ |= 0x00000400; @@ -5031,18 +4648,14 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList kmsKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList kmsKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKmsKeysIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { kmsKeys_ = new com.google.protobuf.LazyStringArrayList(kmsKeys_); bitField0_ |= 0x00000800; - } + } } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5056,15 +4669,13 @@ private void ensureKmsKeysIsMutable() {
      * 
* * repeated string kms_keys = 28; - * * @return A list containing the kmsKeys. */ - public com.google.protobuf.ProtocolStringList getKmsKeysList() { + public com.google.protobuf.ProtocolStringList + getKmsKeysList() { return kmsKeys_.getUnmodifiableView(); } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5078,15 +4689,12 @@ public com.google.protobuf.ProtocolStringList getKmsKeysList() {
      * 
* * repeated string kms_keys = 28; - * * @return The count of kmsKeys. */ public int getKmsKeysCount() { return kmsKeys_.size(); } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5100,7 +4708,6 @@ public int getKmsKeysCount() {
      * 
* * repeated string kms_keys = 28; - * * @param index The index of the element to return. * @return The kmsKeys at the given index. */ @@ -5108,8 +4715,6 @@ public java.lang.String getKmsKeys(int index) { return kmsKeys_.get(index); } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5123,16 +4728,14 @@ public java.lang.String getKmsKeys(int index) {
      * 
* * repeated string kms_keys = 28; - * * @param index The index of the value to return. * @return The bytes of the kmsKeys at the given index. */ - public com.google.protobuf.ByteString getKmsKeysBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeysBytes(int index) { return kmsKeys_.getByteString(index); } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5146,23 +4749,19 @@ public com.google.protobuf.ByteString getKmsKeysBytes(int index) {
      * 
* * repeated string kms_keys = 28; - * * @param index The index to set the value at. * @param value The kmsKeys to set. * @return This builder for chaining. */ - public Builder setKmsKeys(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeys( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeysIsMutable(); kmsKeys_.set(index, value); onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5176,22 +4775,18 @@ public Builder setKmsKeys(int index, java.lang.String value) {
      * 
* * repeated string kms_keys = 28; - * * @param value The kmsKeys to add. * @return This builder for chaining. */ - public Builder addKmsKeys(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeys( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeysIsMutable(); kmsKeys_.add(value); onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5205,19 +4800,18 @@ public Builder addKmsKeys(java.lang.String value) {
      * 
* * repeated string kms_keys = 28; - * * @param values The kmsKeys to add. * @return This builder for chaining. */ - public Builder addAllKmsKeys(java.lang.Iterable values) { + public Builder addAllKmsKeys( + java.lang.Iterable values) { ensureKmsKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kmsKeys_); onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5231,7 +4825,6 @@ public Builder addAllKmsKeys(java.lang.Iterable values) {
      * 
* * repeated string kms_keys = 28; - * * @return This builder for chaining. */ public Builder clearKmsKeys() { @@ -5241,8 +4834,6 @@ public Builder clearKmsKeys() { return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5256,14 +4847,12 @@ public Builder clearKmsKeys() {
      * 
* * repeated string kms_keys = 28; - * * @param value The bytes of the kmsKeys to add. * @return This builder for chaining. */ - public Builder addKmsKeysBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeysBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKmsKeysIsMutable(); kmsKeys_.add(value); @@ -5273,13 +4862,8 @@ public Builder addKmsKeysBytes(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
@@ -5293,15 +4877,12 @@ public Builder addKmsKeysBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
      * 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
@@ -5315,21 +4896,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
@@ -5358,8 +4934,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
@@ -5374,7 +4948,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();
       } else {
@@ -5385,8 +4960,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
@@ -5403,9 +4976,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00001000) != 0)
-            && createTime_ != null
-            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00001000) != 0) &&
+          createTime_ != null &&
+          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -5418,8 +4991,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
@@ -5445,8 +5016,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
@@ -5467,8 +5036,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       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
@@ -5487,14 +5054,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
@@ -5510,17 +5074,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_;
@@ -5528,13 +5089,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
@@ -5549,15 +5105,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5572,21 +5125,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
@@ -5616,8 +5164,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
@@ -5633,7 +5179,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();
       } else {
@@ -5644,8 +5191,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
@@ -5663,9 +5208,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00002000) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00002000) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -5678,8 +5223,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
@@ -5706,8 +5249,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
@@ -5729,8 +5270,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       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
@@ -5750,14 +5289,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
@@ -5774,17 +5310,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_;
@@ -5792,8 +5325,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
@@ -5815,13 +5346,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; @@ -5830,8 +5361,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
@@ -5853,14 +5382,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 { @@ -5868,8 +5398,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
@@ -5891,22 +5419,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setState( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } state_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5928,7 +5452,6 @@ public Builder setState(java.lang.String value) {
      * 
* * string state = 13; - * * @return This builder for chaining. */ public Builder clearState() { @@ -5938,8 +5461,6 @@ public Builder clearState() { return this; } /** - * - * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5961,14 +5482,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00004000; @@ -5978,13 +5497,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,
@@ -6005,15 +5519,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 ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -6034,21 +5545,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,
@@ -6084,8 +5590,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,
@@ -6107,7 +5611,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();
       } else {
@@ -6118,8 +5623,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,
@@ -6143,9 +5646,9 @@ public Builder setAdditionalAttributes(com.google.protobuf.Struct.Builder builde
      */
     public Builder mergeAdditionalAttributes(com.google.protobuf.Struct value) {
       if (additionalAttributesBuilder_ == null) {
-        if (((bitField0_ & 0x00008000) != 0)
-            && additionalAttributes_ != null
-            && additionalAttributes_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00008000) != 0) &&
+          additionalAttributes_ != null &&
+          additionalAttributes_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getAdditionalAttributesBuilder().mergeFrom(value);
         } else {
           additionalAttributes_ = value;
@@ -6158,8 +5661,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,
@@ -6192,8 +5693,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,
@@ -6221,8 +5720,6 @@ public com.google.protobuf.Struct.Builder getAdditionalAttributesBuilder() {
       return getAdditionalAttributesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -6248,14 +5745,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,
@@ -6278,17 +5772,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_;
@@ -6296,8 +5787,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`:
@@ -6308,13 +5797,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; @@ -6323,8 +5812,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`:
@@ -6335,23 +5822,22 @@ 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 { return (com.google.protobuf.ByteString) ref; } } - /** - * - * + /** *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -6362,22 +5848,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentFullResourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentFullResourceName_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** - * - * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -6388,7 +5870,6 @@ public Builder setParentFullResourceName(java.lang.String value) {
      * 
* * string parent_full_resource_name = 19; - * * @return This builder for chaining. */ public Builder clearParentFullResourceName() { @@ -6398,8 +5879,6 @@ public Builder clearParentFullResourceName() { return this; } /** - * - * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -6410,14 +5889,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentFullResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentFullResourceName_ = value; bitField0_ |= 0x00010000; @@ -6426,26 +5903,18 @@ public Builder setParentFullResourceNameBytes(com.google.protobuf.ByteString val } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00020000) != 0)) { - versionedResources_ = - new java.util.ArrayList( - versionedResources_); + versionedResources_ = new java.util.ArrayList(versionedResources_); bitField0_ |= 0x00020000; - } + } } 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
@@ -6465,8 +5934,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
@@ -6486,8 +5953,6 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6507,8 +5972,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
@@ -6535,8 +5998,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
@@ -6560,8 +6021,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
@@ -6587,8 +6046,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
@@ -6615,8 +6072,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
@@ -6640,8 +6095,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
@@ -6665,8 +6118,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
@@ -6682,7 +6133,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);
@@ -6690,8 +6142,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
@@ -6714,8 +6164,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
@@ -6738,8 +6186,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
@@ -6756,8 +6202,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
@@ -6772,14 +6216,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
@@ -6791,8 +6232,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 {
@@ -6800,8 +6241,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
@@ -6814,12 +6253,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
@@ -6833,12 +6270,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
@@ -6850,22 +6285,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_ & 0x00020000) != 0),
                 getParentForChildren(),
@@ -6876,25 +6305,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_ & 0x00040000) != 0)) {
-        attachedResources_ =
-            new java.util.ArrayList(attachedResources_);
+        attachedResources_ = new java.util.ArrayList(attachedResources_);
         bitField0_ |= 0x00040000;
-      }
+       }
     }
 
     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
@@ -6914,8 +6336,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
@@ -6935,8 +6355,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
@@ -6956,8 +6374,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
@@ -6984,8 +6400,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
@@ -7009,8 +6423,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
@@ -7036,8 +6448,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
@@ -7064,8 +6474,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
@@ -7089,8 +6497,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
@@ -7114,8 +6520,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
@@ -7131,7 +6535,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);
@@ -7139,8 +6544,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
@@ -7163,8 +6566,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
@@ -7187,8 +6588,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
@@ -7205,8 +6604,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
@@ -7221,14 +6618,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
@@ -7240,8 +6634,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 {
@@ -7249,8 +6643,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
@@ -7263,12 +6655,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
@@ -7282,12 +6672,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
@@ -7299,22 +6687,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_ & 0x00040000) != 0),
                 getParentForChildren(),
@@ -7325,11 +6707,8 @@ 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>
+        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(
@@ -7337,13 +6716,11 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
       }
       return relationships_;
     }
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
+    private com.google.protobuf.MapField
         internalGetMutableRelationships() {
       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();
@@ -7352,13 +6729,10 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
       onChanged();
       return relationships_;
     }
-
     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
@@ -7371,22 +6745,20 @@ 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
@@ -7399,13 +6771,10 @@ 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
@@ -7418,20 +6787,17 @@ public boolean containsRelationships(java.lang.String key) {
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
-    public /* nullable */ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
+    public /* nullable */
+com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.cloud.asset.v1.RelatedResources defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map 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
@@ -7446,9 +6812,7 @@ public boolean containsRelationships(java.lang.String key) {
     @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)) {
@@ -7456,15 +6820,13 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
       }
       return map.get(key);
     }
-
     public Builder clearRelationships() {
       bitField0_ = (bitField0_ & ~0x00080000);
-      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
@@ -7476,14 +6838,16 @@ 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() {
@@ -7491,8 +6855,6 @@ public Builder removeRelationships(java.lang.String key) {
       return internalGetMutableRelationships().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -7505,20 +6867,16 @@ 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");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableRelationships().getMutableMap().put(key, value);
+        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"); }
+      internalGetMutableRelationships().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00080000;
       return this;
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -7532,23 +6890,20 @@ public Builder putRelationships(
      */
     public Builder putAllRelationships(
         java.util.Map values) {
-      internalGetMutableRelationships().getMutableMap().putAll(values);
+      internalGetMutableRelationships().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00080000;
       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_ & 0x00100000) != 0)) {
         tagKeys_ = new com.google.protobuf.LazyStringArrayList(tagKeys_);
         bitField0_ |= 0x00100000;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7561,15 +6916,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`:
@@ -7582,15 +6935,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`:
@@ -7603,7 +6953,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. */ @@ -7611,8 +6960,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`:
@@ -7625,16 +6972,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`:
@@ -7647,23 +6992,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagKeys( + int index, java.lang.String value) { + if (value == null) { 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`:
@@ -7676,22 +7017,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTagKeys( + java.lang.String value) { + if (value == null) { 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`:
@@ -7704,19 +7041,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`:
@@ -7729,7 +7065,6 @@ public Builder addAllTagKeys(java.lang.Iterable values) {
      * 
* * repeated string tag_keys = 23; - * * @return This builder for chaining. */ public Builder clearTagKeys() { @@ -7739,8 +7074,6 @@ public Builder clearTagKeys() { return this; } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7753,14 +7086,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTagKeysBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagKeysIsMutable(); tagKeys_.add(value); @@ -7768,18 +7099,14 @@ public Builder addTagKeysBytes(com.google.protobuf.ByteString value) { 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_ & 0x00200000) != 0)) { tagValues_ = new com.google.protobuf.LazyStringArrayList(tagValues_); bitField0_ |= 0x00200000; - } + } } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7794,15 +7121,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}.
@@ -7817,15 +7142,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}.
@@ -7840,7 +7162,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. */ @@ -7848,8 +7169,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}.
@@ -7864,16 +7183,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}.
@@ -7888,23 +7205,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagValues( + int index, java.lang.String value) { + if (value == null) { 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}.
@@ -7919,22 +7232,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTagValues( + java.lang.String value) { + if (value == null) { 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}.
@@ -7949,19 +7258,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}.
@@ -7976,7 +7284,6 @@ public Builder addAllTagValues(java.lang.Iterable values) {
      * 
* * repeated string tag_values = 25; - * * @return This builder for chaining. */ public Builder clearTagValues() { @@ -7986,8 +7293,6 @@ public Builder clearTagValues() { return this; } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -8002,14 +7307,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTagValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagValuesIsMutable(); tagValues_.add(value); @@ -8017,18 +7320,14 @@ public Builder addTagValuesBytes(com.google.protobuf.ByteString value) { 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_ & 0x00400000) != 0)) { tagValueIds_ = new com.google.protobuf.LazyStringArrayList(tagValueIds_); bitField0_ |= 0x00400000; - } + } } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -8040,15 +7339,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`:
@@ -8060,15 +7357,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`:
@@ -8080,7 +7374,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. */ @@ -8088,8 +7381,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`:
@@ -8101,16 +7392,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`:
@@ -8122,23 +7411,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagValueIds( + int index, java.lang.String value) { + if (value == null) { 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`:
@@ -8150,22 +7435,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTagValueIds( + java.lang.String value) { + if (value == null) { 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`:
@@ -8177,19 +7458,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`:
@@ -8201,7 +7481,6 @@ public Builder addAllTagValueIds(java.lang.Iterable values) {
      * 
* * repeated string tag_value_ids = 26; - * * @return This builder for chaining. */ public Builder clearTagValueIds() { @@ -8211,8 +7490,6 @@ public Builder clearTagValueIds() { return this; } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -8224,14 +7501,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addTagValueIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagValueIdsIsMutable(); tagValueIds_.add(value); @@ -8241,8 +7516,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`:
@@ -8253,13 +7526,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; @@ -8268,8 +7541,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`:
@@ -8280,14 +7551,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 { @@ -8295,8 +7567,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`:
@@ -8307,22 +7577,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parentAssetType_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -8333,7 +7599,6 @@ public Builder setParentAssetType(java.lang.String value) {
      * 
* * string parent_asset_type = 103; - * * @return This builder for chaining. */ public Builder clearParentAssetType() { @@ -8343,8 +7608,6 @@ public Builder clearParentAssetType() { return this; } /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -8355,23 +7618,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentAssetType_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8381,12 +7642,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(); } @@ -8395,27 +7656,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSearchResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8430,4 +7691,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ResourceSearchResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java similarity index 91% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java index 1e8e286cc000..3eedd741d6c9 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java +++ b/owl-bot-staging/java-asset/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 Google
    * Cloud
@@ -364,8 +301,6 @@ public interface ResourceSearchResultOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -382,13 +317,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 Google
    * Cloud
@@ -405,10 +342,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 Google
    * Cloud
@@ -426,13 +362,11 @@ public interface ResourceSearchResultOrBuilder
    * map<string, string> labels = 7;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -449,11 +383,10 @@ 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 Google Cloud resources. See [Labelling
@@ -467,13 +400,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 Google Cloud resources. See [Labelling
@@ -487,13 +418,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 Google Cloud resources. See [Labelling
@@ -507,14 +435,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 Google Cloud resources. See [Labelling
@@ -528,15 +453,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)
@@ -555,16 +478,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return The kmsKey. */ - @java.lang.Deprecated - java.lang.String getKmsKey(); + @java.lang.Deprecated java.lang.String getKmsKey(); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -583,17 +502,14 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key = 10 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See - * google/cloud/asset/v1/assets.proto;l=437 + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. + * See google/cloud/asset/v1/assets.proto;l=437 * @return The bytes for kmsKey. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getKmsKeyBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getKmsKeyBytes(); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -607,13 +523,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string kms_keys = 28; - * * @return A list containing the kmsKeys. */ - java.util.List getKmsKeysList(); + java.util.List + getKmsKeysList(); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -627,13 +541,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string kms_keys = 28; - * * @return The count of kmsKeys. */ int getKmsKeysCount(); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -647,14 +558,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string kms_keys = 28; - * * @param index The index of the element to return. * @return The kmsKeys at the given index. */ java.lang.String getKmsKeys(int index); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -668,15 +576,13 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string kms_keys = 28; - * * @param index The index of the value to return. * @return The bytes of the kmsKeys at the given index. */ - com.google.protobuf.ByteString getKmsKeysBytes(int index); + com.google.protobuf.ByteString + getKmsKeysBytes(int index); /** - * - * *
    * 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
@@ -690,13 +596,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
@@ -710,13 +613,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
@@ -734,8 +634,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
@@ -750,13 +648,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
@@ -771,13 +666,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
@@ -796,8 +688,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
@@ -819,13 +709,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
@@ -847,14 +734,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,
@@ -875,13 +760,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,
@@ -902,13 +784,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,
@@ -933,8 +812,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`:
@@ -945,13 +822,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`:
@@ -962,14 +836,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
@@ -981,10 +853,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
@@ -998,8 +869,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
@@ -1013,8 +882,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
@@ -1026,11 +893,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
@@ -1042,11 +907,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
@@ -1058,10 +922,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
@@ -1075,8 +938,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
@@ -1090,8 +951,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
@@ -1103,11 +962,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
@@ -1119,11 +976,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
@@ -1137,8 +993,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
@@ -1150,13 +1004,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
@@ -1168,10 +1024,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
@@ -1184,13 +1039,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   /* 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
@@ -1202,11 +1055,10 @@ 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`:
@@ -1219,13 +1071,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`:
@@ -1238,13 +1088,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`:
@@ -1257,14 +1104,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`:
@@ -1277,15 +1121,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}.
@@ -1300,13 +1142,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}.
@@ -1321,13 +1161,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}.
@@ -1342,14 +1179,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}.
@@ -1364,15 +1198,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`:
@@ -1384,13 +1216,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`:
@@ -1402,13 +1232,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`:
@@ -1420,14 +1247,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`:
@@ -1439,15 +1263,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`:
@@ -1458,13 +1280,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`:
@@ -1475,8 +1294,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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java index ce790b72f8bd..92d362cda44b 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java +++ b/owl-bot-staging/java-asset/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,49 +28,46 @@ 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; } - - 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
@@ -99,13 +78,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
@@ -116,13 +92,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
@@ -139,63 +112,57 @@ 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; } - - 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; } @@ -211,28 +178,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
@@ -243,7 +206,6 @@ public QueryContentCase getQueryContentCase() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -251,8 +213,6 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -263,19 +223,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
@@ -288,16 +245,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;
@@ -309,7 +264,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (queryContentCase_ == 1) {
         output.writeMessage(1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
       }
@@ -323,9 +279,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -335,18 +290,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:
@@ -376,93 +331,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
@@ -472,41 +421,39 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +467,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 @@ -541,11 +488,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.SavedQuery.QueryContent result = new com.google.cloud.asset.v1.SavedQuery.QueryContent(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -558,7 +502,8 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery.QueryContent res private void buildPartialOneofs(com.google.cloud.asset.v1.SavedQuery.QueryContent result) { result.queryContentCase_ = queryContentCase_; result.queryContent_ = this.queryContent_; - if (queryContentCase_ == 1 && iamPolicyAnalysisQueryBuilder_ != null) { + if (queryContentCase_ == 1 && + iamPolicyAnalysisQueryBuilder_ != null) { result.queryContent_ = iamPolicyAnalysisQueryBuilder_.build(); } } @@ -567,41 +512,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.SavedQuery.QueryConten public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -609,18 +551,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.getUnknownFields()); onChanged(); @@ -648,20 +587,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getIamPolicyAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry); - queryContentCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getIamPolicyAnalysisQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryContentCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -671,12 +609,12 @@ public Builder mergeFrom( } // finally 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() { @@ -689,13 +627,8 @@ public Builder clearQueryContent() { private int bitField0_; 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
@@ -706,7 +639,6 @@ public Builder clearQueryContent() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -714,8 +646,6 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** - * - * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -726,7 +656,6 @@ public boolean hasIamPolicyAnalysisQuery() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override @@ -744,8 +673,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer } } /** - * - * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -757,8 +684,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();
@@ -772,8 +698,6 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -797,8 +721,6 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -810,17 +732,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;
           }
@@ -836,8 +753,6 @@ public Builder mergeIamPolicyAnalysisQuery(
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -866,8 +781,6 @@ public Builder clearIamPolicyAnalysisQuery() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -879,13 +792,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
@@ -898,8 +808,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 {
@@ -910,8 +819,6 @@ public Builder clearIamPolicyAnalysisQuery() {
         }
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -924,19 +831,14 @@ 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());
@@ -946,7 +848,6 @@ public Builder clearIamPolicyAnalysisQuery() {
         onChanged();
         return iamPolicyAnalysisQueryBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -959,12 +860,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();
     }
@@ -973,28 +874,27 @@ 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 {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public QueryContent parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1009,15 +909,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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -1026,7 +924,6 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForTy
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1035,15 +932,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
@@ -1052,15 +948,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 { @@ -1069,19 +966,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -1090,30 +983,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 { @@ -1124,15 +1017,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 @@ -1140,15 +1029,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 @@ -1156,14 +1041,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() { @@ -1171,18 +1053,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } public static final int CREATOR_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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 @@ -1191,29 +1069,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 { @@ -1224,16 +1102,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 @@ -1241,56 +1114,39 @@ 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() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } public static final int LAST_UPDATER_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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 @@ -1299,30 +1155,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 { @@ -1331,34 +1187,32 @@ 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, + ""); } - @SuppressWarnings("serial") - 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_; } - 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
@@ -1368,21 +1222,20 @@ 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
@@ -1396,8 +1249,6 @@ 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
@@ -1407,19 +1258,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+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
@@ -1429,11 +1278,11 @@ public java.util.Map getLabelsMap() {
    * 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();
     }
@@ -1443,14 +1292,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 @@ -1458,25 +1304,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.
    * 
@@ -1485,13 +1324,10 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getContent() { */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBuilder() { - return content_ == null - ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() - : content_; + return content_ == null ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1503,7 +1339,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1522,8 +1359,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()); } @@ -1543,29 +1384,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1575,29 +1419,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1639,155 +1491,152 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1816,9 +1665,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 @@ -1838,9 +1687,7 @@ public com.google.cloud.asset.v1.SavedQuery build() { @java.lang.Override public com.google.cloud.asset.v1.SavedQuery buildPartial() { com.google.cloud.asset.v1.SavedQuery result = new com.google.cloud.asset.v1.SavedQuery(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1854,14 +1701,17 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery result) { result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.creator_ = creator_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.lastUpdateTime_ = - lastUpdateTimeBuilder_ == null ? lastUpdateTime_ : lastUpdateTimeBuilder_.build(); + result.lastUpdateTime_ = lastUpdateTimeBuilder_ == null + ? lastUpdateTime_ + : lastUpdateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.lastUpdater_ = lastUpdater_; @@ -1871,7 +1721,9 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery result) { result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.content_ = contentBuilder_ == null ? content_ : contentBuilder_.build(); + result.content_ = contentBuilder_ == null + ? content_ + : contentBuilder_.build(); } } @@ -1879,39 +1731,38 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1946,7 +1797,8 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SavedQuery other) { bitField0_ |= 0x00000020; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.hasContent()) { mergeContent(other.getContent()); @@ -1977,67 +1829,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - creator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getLastUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - lastUpdater_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - input.readMessage(getContentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + creator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getLastUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + lastUpdater_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getContentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2047,13 +1894,10 @@ public Builder mergeFrom( } // finally 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
@@ -2062,13 +1906,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; @@ -2077,8 +1921,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2087,14 +1929,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 { @@ -2102,8 +1945,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
@@ -2112,22 +1953,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2136,7 +1973,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2146,8 +1982,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2156,14 +1990,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2173,21 +2005,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; @@ -2196,22 +2026,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 { @@ -2219,37 +2048,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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() { @@ -2259,22 +2081,18 @@ public Builder clearDescription() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2284,58 +2102,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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) { @@ -2351,17 +2150,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(); } else { @@ -2372,21 +2168,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 (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2399,15 +2191,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2420,15 +2208,11 @@ 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() { bitField0_ |= 0x00000004; @@ -2436,48 +2220,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { 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_; @@ -2485,20 +2257,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; @@ -2507,21 +2277,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 { @@ -2529,35 +2298,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreator( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } creator_ = value; bitField0_ |= 0x00000008; 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() { @@ -2567,21 +2329,17 @@ public Builder clearCreator() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creator_ = value; bitField0_ |= 0x00000008; @@ -2591,58 +2349,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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) { @@ -2658,17 +2397,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(); } else { @@ -2679,21 +2415,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 (((bitField0_ & 0x00000010) != 0) - && lastUpdateTime_ != null - && lastUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + lastUpdateTime_ != null && + lastUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLastUpdateTimeBuilder().mergeFrom(value); } else { lastUpdateTime_ = value; @@ -2706,15 +2438,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2727,15 +2455,11 @@ 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() { bitField0_ |= 0x00000010; @@ -2743,48 +2467,36 @@ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { 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_; @@ -2792,21 +2504,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; @@ -2815,22 +2525,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 { @@ -2838,37 +2547,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLastUpdater( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } lastUpdater_ = value; bitField0_ |= 0x00000020; 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() { @@ -2878,22 +2580,18 @@ public Builder clearLastUpdater() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLastUpdaterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lastUpdater_ = value; bitField0_ |= 0x00000020; @@ -2901,19 +2599,21 @@ public Builder setLastUpdaterBytes(com.google.protobuf.ByteString value) { 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() { 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(); @@ -2922,13 +2622,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - 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
@@ -2938,21 +2635,20 @@ 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
@@ -2966,8 +2662,6 @@ 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
@@ -2977,19 +2671,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+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
@@ -2999,25 +2691,23 @@ public java.util.Map getLabelsMap() {
      * 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();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000040);
-      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
@@ -3026,22 +2716,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() {
       bitField0_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3050,20 +2741,17 @@ 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");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    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"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000040;
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3072,55 +2760,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);
       bitField0_ |= 0x00000040;
       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 ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * 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.
      * 
@@ -3141,8 +2818,6 @@ public Builder setContent(com.google.cloud.asset.v1.SavedQuery.QueryContent valu return this; } /** - * - * *
      * The query content.
      * 
@@ -3161,8 +2836,6 @@ public Builder setContent( return this; } /** - * - * *
      * The query content.
      * 
@@ -3171,9 +2844,9 @@ public Builder setContent( */ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent value) { if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && content_ != null - && content_ != com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + content_ != null && + content_ != com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) { getContentBuilder().mergeFrom(value); } else { content_ = value; @@ -3186,8 +2859,6 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va return this; } /** - * - * *
      * The query content.
      * 
@@ -3205,8 +2876,6 @@ public Builder clearContent() { return this; } /** - * - * *
      * The query content.
      * 
@@ -3219,8 +2888,6 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder getContentBuild return getContentFieldBuilder().getBuilder(); } /** - * - * *
      * The query content.
      * 
@@ -3231,14 +2898,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.
      * 
@@ -3246,24 +2910,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); } @@ -3273,12 +2934,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(); } @@ -3287,27 +2948,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SavedQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3322,4 +2983,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.SavedQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java similarity index 100% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java similarity index 74% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java index 305de7e48f97..d85448b5cfca 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java +++ b/owl-bot-staging/java-asset/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
@@ -263,13 +199,11 @@ public interface SavedQueryOrBuilder
    * map<string, string> labels = 7;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -278,35 +212,28 @@ 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java similarity index 84% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java index 32eec7f119d0..af3d3f96282c 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java +++ b/owl-bot-staging/java-asset/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,37 +29,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -92,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -101,15 +78,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
@@ -124,15 +100,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 { @@ -141,12 +118,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int QUERY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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)
@@ -191,7 +165,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -200,15 +173,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)
@@ -253,15 +225,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 { @@ -272,8 +245,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * 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
@@ -283,7 +254,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -292,12 +262,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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`
@@ -306,7 +273,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -315,15 +281,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`
@@ -332,15 +297,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 { @@ -349,12 +315,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int ASSET_TYPES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") 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
@@ -373,15 +336,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
@@ -400,15 +361,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
@@ -427,7 +385,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. */ @@ -435,8 +392,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
@@ -455,21 +410,18 @@ 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; - @SuppressWarnings("serial") 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
@@ -484,7 +436,6 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -493,15 +444,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
@@ -516,15 +466,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 { @@ -533,7 +484,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -545,7 +495,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -580,7 +531,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_); @@ -604,20 +556,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -649,136 +606,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -794,9 +744,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 @@ -815,18 +765,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result) { if (((bitField0_ & 0x00000010) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); @@ -857,39 +803,38 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -897,8 +842,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_; bitField0_ |= 0x00000001; @@ -958,50 +902,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 42 - case 58: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 42 + case 58: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1011,13 +948,10 @@ public Builder mergeFrom( } // finally 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
@@ -1032,13 +966,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; @@ -1047,8 +981,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
@@ -1063,14 +995,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 { @@ -1078,8 +1011,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
@@ -1094,22 +1025,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; 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
@@ -1124,7 +1051,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -1134,8 +1060,6 @@ public Builder clearScope() { 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
@@ -1150,14 +1074,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -1167,8 +1089,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)
@@ -1213,13 +1133,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; @@ -1228,8 +1148,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)
@@ -1274,14 +1192,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 { @@ -1289,8 +1208,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)
@@ -1335,22 +1252,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000002; 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)
@@ -1395,7 +1308,6 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1405,8 +1317,6 @@ public Builder clearQuery() { 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)
@@ -1451,14 +1361,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -1466,10 +1374,8 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { 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
@@ -1479,7 +1385,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1487,8 +1392,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
@@ -1498,20 +1401,17 @@ 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; bitField0_ |= 0x00000004; 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
@@ -1521,7 +1421,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1533,8 +1432,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`
@@ -1543,13 +1440,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; @@ -1558,8 +1455,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`
@@ -1568,14 +1463,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 { @@ -1583,8 +1479,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`
@@ -1593,22 +1487,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; 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`
@@ -1617,7 +1507,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1627,8 +1516,6 @@ public Builder clearPageToken() { 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`
@@ -1637,14 +1524,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1652,18 +1537,14 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000010) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * 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
@@ -1682,15 +1563,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
@@ -1709,15 +1588,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
@@ -1736,7 +1612,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. */ @@ -1744,8 +1619,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
@@ -1764,16 +1637,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
@@ -1792,23 +1663,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1827,22 +1694,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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
@@ -1861,19 +1724,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
@@ -1892,7 +1754,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() { @@ -1902,8 +1763,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
@@ -1922,14 +1781,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1939,8 +1796,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
@@ -1955,13 +1810,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; @@ -1970,8 +1825,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
@@ -1986,14 +1839,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 { @@ -2001,8 +1855,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
@@ -2017,22 +1869,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000020; 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
@@ -2047,7 +1895,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -2057,8 +1904,6 @@ public Builder clearOrderBy() { 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
@@ -2073,23 +1918,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2099,12 +1942,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(); } @@ -2113,27 +1956,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2148,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 92% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java index 373b8bc96992..4c78a9b137fb 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java index 3c2fa4b56227..fb7130c5651a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List results_; /** - * - * *
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -87,8 +65,6 @@ public java.util.List getResult
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -97,13 +73,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 IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -116,8 +90,6 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
-   *
-   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -130,8 +102,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
     return results_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -140,17 +110,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;
-
   @SuppressWarnings("serial")
   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
@@ -158,7 +126,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -167,15 +134,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
@@ -183,15 +149,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 { @@ -200,7 +167,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -229,7 +196,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_); @@ -242,16 +210,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,136 +244,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +383,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 @@ -442,18 +404,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -476,39 +434,38 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllIamPoliciesRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -516,8 +473,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()) { @@ -536,10 +492,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_); } @@ -576,33 +531,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.IamPolicySearchResult m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicySearchResult.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.IamPolicySearchResult m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicySearchResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,29 +564,21 @@ public Builder mergeFrom( } // finally 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -650,8 +594,6 @@ public java.util.List getResult
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -667,8 +609,6 @@ public int getResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -684,8 +624,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -693,7 +631,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();
@@ -707,8 +646,6 @@ public Builder setResults(int index, com.google.cloud.asset.v1.IamPolicySearchRe
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -728,8 +665,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -751,8 +686,6 @@ public Builder addResults(com.google.cloud.asset.v1.IamPolicySearchResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -760,7 +693,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();
@@ -774,8 +708,6 @@ public Builder addResults(int index, com.google.cloud.asset.v1.IamPolicySearchRe
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -795,8 +727,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -816,8 +746,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -829,7 +757,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);
@@ -837,8 +766,6 @@ public Builder addAllResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -857,8 +784,6 @@ public Builder clearResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -877,8 +802,6 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -886,12 +809,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -899,16 +821,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -916,8 +836,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 {
@@ -925,8 +845,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -935,12 +853,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -948,13 +864,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -962,23 +877,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_;
@@ -986,8 +898,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
@@ -995,13 +905,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; @@ -1010,8 +920,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
@@ -1019,14 +927,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 { @@ -1034,8 +943,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
@@ -1043,22 +950,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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
@@ -1066,7 +969,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1076,8 +978,6 @@ public Builder clearNextPageToken() { 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,23 +985,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,12 +1009,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(); } @@ -1125,27 +1023,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,4 +1058,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java index 69b6a3ea86b9..0a2ed07f6771 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java similarity index 86% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java index 1692c28935a8..bf2908653f09 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java +++ b/owl-bot-staging/java-asset/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,37 +29,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -92,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -101,15 +78,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
@@ -124,15 +100,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 { @@ -141,12 +118,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int QUERY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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)
@@ -201,7 +175,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -210,15 +183,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)
@@ -273,15 +245,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 { @@ -290,12 +263,9 @@ public com.google.protobuf.ByteString getQueryBytes() { } public static final int ASSET_TYPES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -311,15 +281,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
@@ -335,15 +303,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
@@ -359,7 +324,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. */ @@ -367,8 +331,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
@@ -384,19 +346,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_ = 0; /** - * - * *
    * 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
@@ -406,7 +366,6 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -415,12 +374,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") 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
@@ -429,7 +385,6 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -438,15 +393,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
@@ -455,15 +409,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 { @@ -472,12 +427,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -501,7 +453,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -510,15 +461,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
@@ -542,15 +492,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 { @@ -561,8 +512,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
@@ -596,9 +545,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 @@ -606,8 +553,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
@@ -641,9 +586,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 @@ -651,8 +594,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
@@ -686,8 +627,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() { @@ -695,7 +635,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -707,7 +646,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -753,7 +693,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_); @@ -762,7 +703,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -772,23 +714,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -825,135 +773,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -974,9 +916,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 @@ -995,18 +937,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.SearchAllResourcesRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllResourcesRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -1032,7 +970,9 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllResourcesRequest r result.orderBy_ = orderBy_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build(); + result.readMask_ = readMaskBuilder_ == null + ? readMask_ + : readMaskBuilder_.build(); } } @@ -1040,39 +980,38 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllResourcesRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -1080,8 +1019,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_; bitField0_ |= 0x00000001; @@ -1144,56 +1082,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 66: - { - input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: { + input.readMessage( + getReadMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1203,13 +1135,10 @@ public Builder mergeFrom( } // finally 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
@@ -1224,13 +1153,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; @@ -1239,8 +1168,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
@@ -1255,14 +1182,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 { @@ -1270,8 +1198,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
@@ -1286,22 +1212,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; 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
@@ -1316,7 +1238,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -1326,8 +1247,6 @@ public Builder clearScope() { 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
@@ -1342,14 +1261,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -1359,8 +1276,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)
@@ -1415,13 +1330,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; @@ -1430,8 +1345,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)
@@ -1486,14 +1399,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 { @@ -1501,8 +1415,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)
@@ -1557,22 +1469,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000002; 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)
@@ -1627,7 +1535,6 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1637,8 +1544,6 @@ public Builder clearQuery() { 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)
@@ -1693,14 +1598,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -1708,18 +1611,14 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1735,15 +1634,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
@@ -1759,15 +1656,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
@@ -1783,7 +1677,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. */ @@ -1791,8 +1684,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
@@ -1808,16 +1699,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
@@ -1833,23 +1722,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1865,22 +1750,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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
@@ -1896,19 +1777,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
@@ -1924,7 +1804,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() { @@ -1934,8 +1813,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
@@ -1951,14 +1828,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1966,10 +1841,8 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { 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
@@ -1979,7 +1852,6 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1987,8 +1859,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
@@ -1998,20 +1868,17 @@ 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; bitField0_ |= 0x00000008; 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
@@ -2021,7 +1888,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2033,8 +1899,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
@@ -2043,13 +1907,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; @@ -2058,8 +1922,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
@@ -2068,14 +1930,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 { @@ -2083,8 +1946,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
@@ -2093,22 +1954,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; 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
@@ -2117,7 +1974,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2127,8 +1983,6 @@ public Builder clearPageToken() { 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
@@ -2137,14 +1991,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; @@ -2154,8 +2006,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
@@ -2179,13 +2029,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; @@ -2194,8 +2044,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
@@ -2219,14 +2067,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 { @@ -2234,8 +2083,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
@@ -2259,22 +2106,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000020; 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
@@ -2298,7 +2141,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -2308,8 +2150,6 @@ public Builder clearOrderBy() { 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
@@ -2333,14 +2173,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; @@ -2350,13 +2188,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
@@ -2390,17 +2223,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 ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2434,9 +2263,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() { @@ -2447,8 +2274,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
@@ -2482,8 +2307,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) { @@ -2499,8 +2323,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
@@ -2534,10 +2356,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(); } else { @@ -2548,8 +2370,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
@@ -2583,14 +2403,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 (((bitField0_ & 0x00000040) != 0) - && readMask_ != null - && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + readMask_ != null && + readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getReadMaskBuilder().mergeFrom(value); } else { readMask_ = value; @@ -2603,8 +2422,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
@@ -2638,8 +2455,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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2652,8 +2468,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
@@ -2687,8 +2501,7 @@ 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() { bitField0_ |= 0x00000040; @@ -2696,8 +2509,6 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2731,19 +2542,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
@@ -2777,28 +2586,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); } @@ -2808,12 +2613,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(); } @@ -2822,27 +2627,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2857,4 +2662,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java similarity index 93% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java index 135d8db9b7eb..cc131a9441d8 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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)
@@ -123,13 +100,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)
@@ -184,14 +158,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
@@ -207,13 +179,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
@@ -229,13 +199,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
@@ -251,14 +218,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
@@ -274,15 +238,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
@@ -292,14 +254,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
@@ -308,13 +267,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
@@ -323,14 +279,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
@@ -354,13 +308,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
@@ -384,14 +335,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
@@ -425,15 +374,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
@@ -467,15 +412,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
@@ -509,8 +450,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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java index 051d13842a97..d68682270889 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List results_; /** - * - * *
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -87,8 +65,6 @@ public java.util.List getResults
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -97,13 +73,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.
@@ -116,8 +90,6 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -130,8 +102,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.
@@ -140,17 +110,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;
-
   @SuppressWarnings("serial")
   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
@@ -158,7 +126,6 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -167,15 +134,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
@@ -183,15 +149,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 { @@ -200,7 +167,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -229,7 +196,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_); @@ -242,16 +210,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,135 +244,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +383,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 @@ -441,18 +404,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1.SearchAllResourcesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllResourcesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -475,39 +434,38 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllResourcesResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -515,8 +473,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()) { @@ -535,10 +492,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_); } @@ -575,32 +531,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.ResourceSearchResult m = - input.readMessage( - com.google.cloud.asset.v1.ResourceSearchResult.parser(), extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.ResourceSearchResult m = + input.readMessage( + com.google.cloud.asset.v1.ResourceSearchResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,29 +564,21 @@ public Builder mergeFrom( } // finally 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.
@@ -648,8 +594,6 @@ public java.util.List getResults
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -665,8 +609,6 @@ public int getResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -682,8 +624,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.
@@ -691,7 +631,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();
@@ -705,8 +646,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.
@@ -726,8 +665,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -749,8 +686,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.
@@ -758,7 +693,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();
@@ -772,8 +708,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.
@@ -793,8 +727,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -814,8 +746,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -827,7 +757,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);
@@ -835,8 +766,6 @@ public Builder addAllResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -855,8 +784,6 @@ public Builder clearResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -875,8 +802,6 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -884,12 +809,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.
@@ -897,16 +821,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.
@@ -914,8 +836,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 {
@@ -923,8 +845,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.
@@ -933,12 +853,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.
@@ -946,13 +864,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.
@@ -960,23 +877,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_;
@@ -984,8 +898,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
@@ -993,13 +905,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; @@ -1008,8 +920,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
@@ -1017,14 +927,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 { @@ -1032,8 +943,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
@@ -1041,22 +950,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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
@@ -1064,7 +969,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1074,8 +978,6 @@ public Builder clearNextPageToken() { 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
@@ -1083,23 +985,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1009,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(); } @@ -1123,27 +1023,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1158,4 +1058,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java similarity index 74% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java index 2a0215998613..d0999fac75c7 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java similarity index 74% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java index acb328d3f4e8..4614b10a70ce 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.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 field in TableSchema.
  * 
* * Protobuf type {@code google.cloud.asset.v1.TableFieldSchema} */ -public final class TableFieldSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableFieldSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TableFieldSchema) TableFieldSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableFieldSchema.newBuilder() to construct. private TableFieldSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableFieldSchema() { field_ = ""; type_ = ""; @@ -46,37 +28,33 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableFieldSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableFieldSchema.class, - com.google.cloud.asset.v1.TableFieldSchema.Builder.class); + com.google.cloud.asset.v1.TableFieldSchema.class, com.google.cloud.asset.v1.TableFieldSchema.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object field_ = ""; /** - * - * *
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string field = 1; - * * @return The field. */ @java.lang.Override @@ -93,15 +70,14 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** - * - * *
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -109,15 +85,16 @@ public java.lang.String getField() {
    * 
* * string field = 1; - * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -126,12 +103,9 @@ public com.google.protobuf.ByteString getFieldBytes() { } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
    * The field data type. Possible values include
    * * STRING
@@ -151,7 +125,6 @@ public com.google.protobuf.ByteString getFieldBytes() {
    * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -160,15 +133,14 @@ 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 field data type. Possible values include
    * * STRING
@@ -188,15 +160,16 @@ public java.lang.String getType() {
    * 
* * string type = 2; - * * @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 { @@ -205,19 +178,15 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int MODE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** - * - * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; - * * @return The mode. */ @java.lang.Override @@ -226,30 +195,30 @@ public java.lang.String getMode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; } } /** - * - * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; - * * @return The bytes for mode. */ @java.lang.Override - public com.google.protobuf.ByteString getModeBytes() { + public com.google.protobuf.ByteString + getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mode_ = b; return b; } else { @@ -258,12 +227,9 @@ public com.google.protobuf.ByteString getModeBytes() { } public static final int FIELDS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -276,8 +242,6 @@ public java.util.List getFieldsList(
     return fields_;
   }
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -286,13 +250,11 @@ public java.util.List getFieldsList(
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -305,8 +267,6 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -319,8 +279,6 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
     return fields_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -329,12 +287,12 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) {
+  public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
+      int index) {
     return fields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -346,7 +304,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_);
     }
@@ -378,7 +337,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mode_);
     }
     for (int i = 0; i < fields_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, fields_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, fields_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -388,18 +348,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.TableFieldSchema)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.TableFieldSchema other =
-        (com.google.cloud.asset.v1.TableFieldSchema) obj;
+    com.google.cloud.asset.v1.TableFieldSchema other = (com.google.cloud.asset.v1.TableFieldSchema) obj;
 
-    if (!getField().equals(other.getField())) return false;
-    if (!getType().equals(other.getType())) return false;
-    if (!getMode().equals(other.getMode())) return false;
-    if (!getFieldsList().equals(other.getFieldsList())) return false;
+    if (!getField()
+        .equals(other.getField())) return false;
+    if (!getType()
+        .equals(other.getType())) return false;
+    if (!getMode()
+        .equals(other.getMode())) return false;
+    if (!getFieldsList()
+        .equals(other.getFieldsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -426,136 +389,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.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.TableFieldSchema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
       com.google.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.TableFieldSchema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite 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.TableFieldSchema 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.TableFieldSchema parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    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.TableFieldSchema parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.TableFieldSchema parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.TableFieldSchema parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.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.TableFieldSchema parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.TableFieldSchema parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder 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.TableFieldSchema prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 field in TableSchema.
    * 
* * Protobuf type {@code google.cloud.asset.v1.TableFieldSchema} */ - public static final class Builder extends com.google.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.TableFieldSchema) com.google.cloud.asset.v1.TableFieldSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableFieldSchema.class, - com.google.cloud.asset.v1.TableFieldSchema.Builder.class); + com.google.cloud.asset.v1.TableFieldSchema.class, com.google.cloud.asset.v1.TableFieldSchema.Builder.class); } // Construct using com.google.cloud.asset.v1.TableFieldSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -574,9 +531,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_TableFieldSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; } @java.lang.Override @@ -595,12 +552,9 @@ public com.google.cloud.asset.v1.TableFieldSchema build() { @java.lang.Override public com.google.cloud.asset.v1.TableFieldSchema buildPartial() { - com.google.cloud.asset.v1.TableFieldSchema result = - new com.google.cloud.asset.v1.TableFieldSchema(this); + com.google.cloud.asset.v1.TableFieldSchema result = new com.google.cloud.asset.v1.TableFieldSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -634,39 +588,38 @@ private void buildPartial0(com.google.cloud.asset.v1.TableFieldSchema result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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.TableFieldSchema) { - return mergeFrom((com.google.cloud.asset.v1.TableFieldSchema) other); + return mergeFrom((com.google.cloud.asset.v1.TableFieldSchema)other); } else { super.mergeFrom(other); return this; @@ -708,10 +661,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.TableFieldSchema other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000008); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -743,44 +695,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - field_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - mode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.cloud.asset.v1.TableFieldSchema m = - input.readMessage( - com.google.cloud.asset.v1.TableFieldSchema.parser(), extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + field_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + mode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.cloud.asset.v1.TableFieldSchema m = + input.readMessage( + com.google.cloud.asset.v1.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -790,13 +738,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object field_ = ""; /** - * - * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -804,13 +749,13 @@ public Builder mergeFrom(
      * 
* * string field = 1; - * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -819,8 +764,6 @@ public java.lang.String getField() { } } /** - * - * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -828,14 +771,15 @@ public java.lang.String getField() {
      * 
* * string field = 1; - * * @return The bytes for field. */ - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -843,8 +787,6 @@ public com.google.protobuf.ByteString getFieldBytes() { } } /** - * - * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -852,22 +794,18 @@ public com.google.protobuf.ByteString getFieldBytes() {
      * 
* * string field = 1; - * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setField( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } field_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -875,7 +813,6 @@ public Builder setField(java.lang.String value) {
      * 
* * string field = 1; - * * @return This builder for chaining. */ public Builder clearField() { @@ -885,8 +822,6 @@ public Builder clearField() { return this; } /** - * - * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -894,14 +829,12 @@ public Builder clearField() {
      * 
* * string field = 1; - * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000001; @@ -911,8 +844,6 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * The field data type. Possible values include
      * * STRING
@@ -932,13 +863,13 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) {
      * 
* * string type = 2; - * * @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; @@ -947,8 +878,6 @@ public java.lang.String getType() { } } /** - * - * *
      * The field data type. Possible values include
      * * STRING
@@ -968,14 +897,15 @@ public java.lang.String getType() {
      * 
* * string type = 2; - * * @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 { @@ -983,8 +913,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The field data type. Possible values include
      * * STRING
@@ -1004,22 +932,18 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The field data type. Possible values include
      * * STRING
@@ -1039,7 +963,6 @@ public Builder setType(java.lang.String value) {
      * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1049,8 +972,6 @@ public Builder clearType() { return this; } /** - * - * *
      * The field data type. Possible values include
      * * STRING
@@ -1070,14 +991,12 @@ public Builder clearType() {
      * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -1087,21 +1006,19 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object mode_ = ""; /** - * - * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; - * * @return The mode. */ public java.lang.String getMode() { java.lang.Object ref = mode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; @@ -1110,22 +1027,21 @@ public java.lang.String getMode() { } } /** - * - * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; - * * @return The bytes for mode. */ - public com.google.protobuf.ByteString getModeBytes() { + public com.google.protobuf.ByteString + getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mode_ = b; return b; } else { @@ -1133,37 +1049,30 @@ public com.google.protobuf.ByteString getModeBytes() { } } /** - * - * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; - * * @param value The mode to set. * @return This builder for chaining. */ - public Builder setMode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } mode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -1173,22 +1082,18 @@ public Builder clearMode() { return this; } /** - * - * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; - * * @param value The bytes for mode to set. * @return This builder for chaining. */ - public Builder setModeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setModeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mode_ = value; bitField0_ |= 0x00000004; @@ -1197,24 +1102,18 @@ public Builder setModeBytes(com.google.protobuf.ByteString value) { } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, - com.google.cloud.asset.v1.TableFieldSchema.Builder, - com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> - fieldsBuilder_; + com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> fieldsBuilder_; /** - * - * *
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1230,8 +1129,6 @@ public java.util.List getFieldsList(
       }
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1247,8 +1144,6 @@ public int getFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1264,8 +1159,6 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1273,7 +1166,8 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public Builder setFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) {
+    public Builder setFields(
+        int index, com.google.cloud.asset.v1.TableFieldSchema value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1287,8 +1181,6 @@ public Builder setFields(int index, com.google.cloud.asset.v1.TableFieldSchema v
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1308,8 +1200,6 @@ public Builder setFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1331,8 +1221,6 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1340,7 +1228,8 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema value) {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) {
+    public Builder addFields(
+        int index, com.google.cloud.asset.v1.TableFieldSchema value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1354,8 +1243,6 @@ public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema v
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1363,7 +1250,8 @@ public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema v
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) {
+    public Builder addFields(
+        com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
         fields_.add(builderForValue.build());
@@ -1374,8 +1262,6 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1395,8 +1281,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1408,7 +1292,8 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -1416,8 +1301,6 @@ public Builder addAllFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1436,8 +1319,6 @@ public Builder clearFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1456,8 +1337,6 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1465,12 +1344,11 @@ public Builder removeFields(int index) {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(int index) {
+    public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(
+        int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1478,16 +1356,14 @@ public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(int i
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) {
+    public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
+        int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);
-      } else {
+        return fields_.get(index);  } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1495,8 +1371,8 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(in
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public java.util.List
-        getFieldsOrBuilderList() {
+    public java.util.List 
+         getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1504,8 +1380,6 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(in
       }
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1514,12 +1388,10 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(in
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
     public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
+      return getFieldsFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1527,13 +1399,12 @@ public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder() {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(int index) {
-      return getFieldsFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
+    public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(
+        int index) {
+      return getFieldsFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1541,30 +1412,27 @@ public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(int i
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public java.util.List
-        getFieldsBuilderList() {
+    public java.util.List 
+         getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.TableFieldSchema,
-            com.google.cloud.asset.v1.TableFieldSchema.Builder,
-            com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>
+        com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> 
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.TableFieldSchema,
-                com.google.cloud.asset.v1.TableFieldSchema.Builder,
-                com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>(
-                fields_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>(
+                fields_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1574,12 +1442,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TableFieldSchema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TableFieldSchema)
   private static final com.google.cloud.asset.v1.TableFieldSchema DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TableFieldSchema();
   }
@@ -1588,27 +1456,27 @@ public static com.google.cloud.asset.v1.TableFieldSchema getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TableFieldSchema parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TableFieldSchema parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1623,4 +1491,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TableFieldSchema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
similarity index 76%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
index 6b7e088ab70e..a77eb8040bc5 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.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 TableFieldSchemaOrBuilder
-    extends
+public interface TableFieldSchemaOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TableFieldSchema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -33,13 +15,10 @@ public interface TableFieldSchemaOrBuilder
    * 
* * string field = 1; - * * @return The field. */ java.lang.String getField(); /** - * - * *
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -47,14 +26,12 @@ public interface TableFieldSchemaOrBuilder
    * 
* * string field = 1; - * * @return The bytes for field. */ - com.google.protobuf.ByteString getFieldBytes(); + com.google.protobuf.ByteString + getFieldBytes(); /** - * - * *
    * The field data type. Possible values include
    * * STRING
@@ -74,13 +51,10 @@ public interface TableFieldSchemaOrBuilder
    * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The field data type. Possible values include
    * * STRING
@@ -100,41 +74,34 @@ public interface TableFieldSchemaOrBuilder
    * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; - * * @return The mode. */ java.lang.String getMode(); /** - * - * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; - * * @return The bytes for mode. */ - com.google.protobuf.ByteString getModeBytes(); + com.google.protobuf.ByteString + getModeBytes(); /** - * - * *
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -142,10 +109,9 @@ public interface TableFieldSchemaOrBuilder
    *
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
-  java.util.List getFieldsList();
+  java.util.List 
+      getFieldsList();
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -155,8 +121,6 @@ public interface TableFieldSchemaOrBuilder
    */
   com.google.cloud.asset.v1.TableFieldSchema getFields(int index);
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -166,8 +130,6 @@ public interface TableFieldSchemaOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -175,11 +137,9 @@ public interface TableFieldSchemaOrBuilder
    *
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
-  java.util.List
+  java.util.List 
       getFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -187,5 +147,6 @@ public interface TableFieldSchemaOrBuilder
    *
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
-  com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index);
+  com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
+      int index);
 }
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
index f5eb49eac74f..6c16eae0514d 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
@@ -1,79 +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;
 
 /**
- *
- *
  * 
  * BigQuery Compatible table schema.
  * 
* * Protobuf type {@code google.cloud.asset.v1.TableSchema} */ -public final class TableSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TableSchema) TableSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableSchema.newBuilder() to construct. private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableSchema() { fields_ = 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 TableSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableSchema.class, - com.google.cloud.asset.v1.TableSchema.Builder.class); + com.google.cloud.asset.v1.TableSchema.class, com.google.cloud.asset.v1.TableSchema.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Describes the fields in a table.
    * 
@@ -85,8 +63,6 @@ public java.util.List getFieldsList( return fields_; } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -94,13 +70,11 @@ public java.util.List getFieldsList( * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -112,8 +86,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -125,8 +97,6 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { return fields_.get(index); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -134,12 +104,12 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) { + public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( + int index) { return fields_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,14 +147,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.TableSchema)) { return super.equals(obj); } com.google.cloud.asset.v1.TableSchema other = (com.google.cloud.asset.v1.TableSchema) obj; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,135 +176,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.TableSchema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.TableSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.TableSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.TableSchema parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.TableSchema parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.TableSchema parseFrom( com.google.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.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.TableSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite 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.TableSchema 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.TableSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.TableSchema 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.TableSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.TableSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, 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.TableSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.TableSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * BigQuery Compatible table schema.
    * 
* * Protobuf type {@code google.cloud.asset.v1.TableSchema} */ - public static final class Builder extends com.google.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.TableSchema) com.google.cloud.asset.v1.TableSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableSchema.class, - com.google.cloud.asset.v1.TableSchema.Builder.class); + com.google.cloud.asset.v1.TableSchema.class, com.google.cloud.asset.v1.TableSchema.Builder.class); } // Construct using com.google.cloud.asset.v1.TableSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +315,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_TableSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_descriptor; } @java.lang.Override @@ -368,12 +336,9 @@ public com.google.cloud.asset.v1.TableSchema build() { @java.lang.Override public com.google.cloud.asset.v1.TableSchema buildPartial() { - com.google.cloud.asset.v1.TableSchema result = - new com.google.cloud.asset.v1.TableSchema(this); + com.google.cloud.asset.v1.TableSchema result = new com.google.cloud.asset.v1.TableSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -398,39 +363,38 @@ private void buildPartial0(com.google.cloud.asset.v1.TableSchema result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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.TableSchema) { - return mergeFrom((com.google.cloud.asset.v1.TableSchema) other); + return mergeFrom((com.google.cloud.asset.v1.TableSchema)other); } else { super.mergeFrom(other); return this; @@ -457,10 +421,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.TableSchema other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -492,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.TableFieldSchema m = - input.readMessage( - com.google.cloud.asset.v1.TableFieldSchema.parser(), extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1.TableFieldSchema m = + input.readMessage( + com.google.cloud.asset.v1.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -521,28 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, - com.google.cloud.asset.v1.TableFieldSchema.Builder, - com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> - fieldsBuilder_; + com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> fieldsBuilder_; /** - * - * *
      * Describes the fields in a table.
      * 
@@ -557,8 +512,6 @@ public java.util.List getFieldsList( } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -573,8 +526,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -589,15 +540,14 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { } } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public Builder setFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) { + public Builder setFields( + int index, com.google.cloud.asset.v1.TableFieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -611,8 +561,6 @@ public Builder setFields(int index, com.google.cloud.asset.v1.TableFieldSchema v return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -631,8 +579,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -653,15 +599,14 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema value) { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) { + public Builder addFields( + int index, com.google.cloud.asset.v1.TableFieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,15 +620,14 @@ public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema v return this; } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) { + public Builder addFields( + com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -694,8 +638,6 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema.Builder buil return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -714,8 +656,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -726,7 +666,8 @@ public Builder addAllFields( java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -734,8 +675,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -753,8 +692,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -772,44 +709,39 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(int index) { + public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder( + int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) { + public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -817,8 +749,6 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(in } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -826,55 +756,49 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(in * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(int index) { - return getFieldsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); + public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, - com.google.cloud.asset.v1.TableFieldSchema.Builder, - com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> + com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, - com.google.cloud.asset.v1.TableFieldSchema.Builder, - com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>( - fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TableSchema) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TableSchema) private static final com.google.cloud.asset.v1.TableSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TableSchema(); } @@ -898,27 +822,27 @@ public static com.google.cloud.asset.v1.TableSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java similarity index 61% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java index ec840372a91e..80451085b595 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.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 TableSchemaOrBuilder - extends +public interface TableSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TableSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Describes the fields in a table.
    * 
@@ -44,8 +25,6 @@ public interface TableSchemaOrBuilder */ com.google.cloud.asset.v1.TableFieldSchema getFields(int index); /** - * - * *
    * Describes the fields in a table.
    * 
@@ -54,24 +33,21 @@ public interface TableSchemaOrBuilder */ int getFieldsCount(); /** - * - * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); + com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( + int index); } diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java index 6969d11769bb..44b849e57488 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java +++ b/owl-bot-staging/java-asset/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,59 +11,54 @@
  *
  * 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;
   }
-
-  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.
      * 
@@ -89,8 +67,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ PRIOR_ASSET_STATE_UNSPECIFIED(0), /** - * - * *
      * prior_asset is populated correctly.
      * 
@@ -99,8 +75,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ PRESENT(1), /** - * - * *
      * Failed to set prior_asset.
      * 
@@ -109,8 +83,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ INVALID(2), /** - * - * *
      * Current asset is the first known state.
      * 
@@ -119,8 +91,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ DOES_NOT_EXIST(3), /** - * - * *
      * prior_asset is a deletion.
      * 
@@ -132,8 +102,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -142,8 +110,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * prior_asset is populated correctly.
      * 
@@ -152,8 +118,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRESENT_VALUE = 1; /** - * - * *
      * Failed to set prior_asset.
      * 
@@ -162,8 +126,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INVALID_VALUE = 2; /** - * - * *
      * Current asset is the first known state.
      * 
@@ -172,8 +134,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOES_NOT_EXIST_VALUE = 3; /** - * - * *
      * prior_asset is a deletion.
      * 
@@ -182,6 +142,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( @@ -206,46 +167,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); } @@ -254,7 +210,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; @@ -274,14 +231,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 @@ -289,14 +243,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 @@ -304,8 +255,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.
    * 
@@ -320,14 +269,11 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_ = false; /** - * - * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; - * * @return The deleted. */ @java.lang.Override @@ -338,14 +284,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 @@ -353,14 +296,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 @@ -368,8 +308,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.
    * 
@@ -384,52 +322,38 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { public static final int PRIOR_ASSET_STATE_FIELD_NUMBER = 4; 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; - * * @return The priorAssetState. */ - @java.lang.Override - public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.forNumber(priorAssetState_); - return result == null - ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.forNumber(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 @@ -437,15 +361,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 @@ -453,8 +374,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.
@@ -468,7 +387,6 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -480,7 +398,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -490,9 +409,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) {
@@ -508,21 +425,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -532,7 +452,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);
@@ -541,17 +461,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -569,7 +493,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();
@@ -585,104 +510,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.
@@ -690,32 +608,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -741,9 +660,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
@@ -762,11 +681,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.TemporalAsset result = new com.google.cloud.asset.v1.TemporalAsset(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -774,19 +690,25 @@ public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1.TemporalAsset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.window_ = windowBuilder_ == null ? window_ : windowBuilder_.build();
+        result.window_ = windowBuilder_ == null
+            ? window_
+            : windowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.deleted_ = deleted_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build();
+        result.asset_ = assetBuilder_ == null
+            ? asset_
+            : assetBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.priorAssetState_ = priorAssetState_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.priorAsset_ = priorAssetBuilder_ == null ? priorAsset_ : priorAssetBuilder_.build();
+        result.priorAsset_ = priorAssetBuilder_ == null
+            ? priorAsset_
+            : priorAssetBuilder_.build();
       }
     }
 
@@ -794,39 +716,38 @@ private void buildPartial0(com.google.cloud.asset.v1.TemporalAsset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -876,43 +797,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                deleted_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                priorAssetState_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getPriorAssetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getWindowFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              deleted_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getAssetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              priorAssetState_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getPriorAssetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -922,52 +843,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
      * 
@@ -988,15 +895,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(); } else { @@ -1007,8 +913,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.
      * 
@@ -1017,9 +921,9 @@ public Builder setWindow(com.google.cloud.asset.v1.TimeWindow.Builder builderFor */ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (windowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && window_ != null - && window_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + window_ != null && + window_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { getWindowBuilder().mergeFrom(value); } else { window_ = value; @@ -1032,8 +936,6 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1051,8 +953,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1065,8 +965,6 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getWindowBuilder() { return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1077,14 +975,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.
      * 
@@ -1092,32 +987,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 @@ -1125,33 +1014,27 @@ 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; - * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1163,33 +1046,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return The asset. */ public com.google.cloud.asset.v1.Asset getAsset() { @@ -1200,8 +1074,6 @@ public com.google.cloud.asset.v1.Asset getAsset() { } } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1222,15 +1094,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(); } else { @@ -1241,8 +1112,6 @@ public Builder setAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1251,9 +1120,9 @@ public Builder setAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) */ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && asset_ != null - && asset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + asset_ != null && + asset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -1266,8 +1135,6 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1285,8 +1152,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1299,8 +1164,6 @@ public com.google.cloud.asset.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1311,12 +1174,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.
      * 
@@ -1324,17 +1186,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_; @@ -1342,29 +1201,22 @@ 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. */ @@ -1375,38 +1227,28 @@ public Builder setPriorAssetStateValue(int value) { 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() { - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.forNumber(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.forNumber(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(); } @@ -1416,14 +1258,11 @@ public Builder setPriorAssetState( return this; } /** - * - * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return This builder for chaining. */ public Builder clearPriorAssetState() { @@ -1435,49 +1274,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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.
@@ -1499,8 +1325,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.
@@ -1508,7 +1332,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();
       } else {
@@ -1519,8 +1344,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.
@@ -1530,9 +1353,9 @@ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset.Builder builderForV
      */
     public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
       if (priorAssetBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && priorAsset_ != null
-            && priorAsset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          priorAsset_ != null &&
+          priorAsset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) {
           getPriorAssetBuilder().mergeFrom(value);
         } else {
           priorAsset_ = value;
@@ -1545,8 +1368,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.
@@ -1565,8 +1386,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.
@@ -1580,8 +1399,6 @@ public com.google.cloud.asset.v1.Asset.Builder getPriorAssetBuilder() {
       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.
@@ -1593,14 +1410,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.
@@ -1609,24 +1423,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);
     }
 
@@ -1636,12 +1447,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();
   }
@@ -1650,27 +1461,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TemporalAsset parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1685,4 +1496,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TemporalAsset getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
similarity index 80%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
index 68d9d1d37fad..40ba4db442af 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
index 78256c655a85..b74d1e1b7f00 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
@@ -1,81 +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/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; } - - 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 @@ -83,14 +62,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 @@ -98,8 +74,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Start time of the time window (exclusive).
    * 
@@ -114,15 +88,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 @@ -130,15 +101,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 @@ -146,8 +114,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.
@@ -161,7 +127,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -173,7 +138,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -190,10 +156,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -203,7 +171,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);
@@ -212,11 +180,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -242,135 +212,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +354,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 @@ -411,9 +376,7 @@ public com.google.cloud.asset.v1.TimeWindow build() { @java.lang.Override public com.google.cloud.asset.v1.TimeWindow buildPartial() { com.google.cloud.asset.v1.TimeWindow result = new com.google.cloud.asset.v1.TimeWindow(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -421,10 +384,14 @@ public com.google.cloud.asset.v1.TimeWindow buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.TimeWindow result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } } @@ -432,39 +399,38 @@ private void buildPartial0(com.google.cloud.asset.v1.TimeWindow result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -505,25 +471,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,38 +500,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -575,8 +532,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -597,15 +552,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(); } else { @@ -616,8 +570,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -626,9 +578,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -641,8 +593,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -660,8 +610,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -674,8 +622,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -686,12 +632,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).
      * 
@@ -699,17 +644,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_; @@ -717,35 +659,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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() { @@ -756,8 +689,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -779,8 +710,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.
@@ -788,7 +717,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();
       } else {
@@ -799,8 +729,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.
@@ -810,9 +738,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -825,8 +753,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.
@@ -845,8 +771,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -860,8 +784,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -873,12 +795,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.
@@ -887,24 +808,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);
     }
 
@@ -914,12 +832,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();
   }
@@ -928,27 +846,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -963,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
index a06e2ee594d4..81646f3d1e72 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
similarity index 72%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
index d2b94f9e4b31..c4ff64cefd80 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
@@ -1,75 +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; } - - 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:
@@ -79,7 +59,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 @@ -87,8 +66,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:
@@ -98,7 +75,6 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ @java.lang.Override @@ -106,8 +82,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:
@@ -126,17 +100,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 @@ -144,17 +114,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 @@ -162,16 +128,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() { @@ -179,7 +142,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,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 (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -208,10 +171,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,21 +186,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -261,136 +227,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +369,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 @@ -430,11 +390,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.UpdateFeedRequest result = new com.google.cloud.asset.v1.UpdateFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -442,10 +399,14 @@ public com.google.cloud.asset.v1.UpdateFeedRequest buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.UpdateFeedRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null + ? feed_ + : feedBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -453,39 +414,38 @@ private void buildPartial0(com.google.cloud.asset.v1.UpdateFeedRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -526,25 +486,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFeedFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,18 +515,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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:
@@ -575,15 +530,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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -593,7 +545,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() { @@ -604,8 +555,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:
@@ -630,8 +579,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:
@@ -642,7 +589,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();
       } else {
@@ -653,8 +601,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:
@@ -667,9 +613,9 @@ 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 (((bitField0_ & 0x00000001) != 0)
-            && feed_ != null
-            && feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          feed_ != null &&
+          feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
           getFeedBuilder().mergeFrom(value);
         } else {
           feed_ = value;
@@ -682,8 +628,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:
@@ -705,8 +649,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:
@@ -723,8 +665,6 @@ public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
       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:
@@ -739,12 +679,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:
@@ -756,17 +695,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_;
@@ -774,61 +710,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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) { @@ -844,18 +764,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(); } else { @@ -866,22 +784,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 (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -894,16 +809,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -916,16 +828,13 @@ 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() { bitField0_ |= 0x00000002; @@ -933,57 +842,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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); } @@ -993,12 +892,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(); } @@ -1007,27 +906,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,4 +941,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java similarity index 76% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java index d6cac469d586..37dafabef416 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java similarity index 66% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java index 520318871f3d..83d6b17a1018 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java +++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java @@ -1,75 +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; } - - 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,
@@ -79,10 +59,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 @@ -90,8 +67,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,
@@ -101,21 +76,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,
@@ -125,29 +93,21 @@ 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() { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } 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 @@ -155,15 +115,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 @@ -171,14 +127,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() { @@ -186,7 +139,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,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 (savedQuery_ != null) { output.writeMessage(1, getSavedQuery()); } @@ -215,10 +168,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -228,21 +183,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -269,135 +225,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,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_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 @@ -437,11 +387,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1.UpdateSavedQueryRequest result = new com.google.cloud.asset.v1.UpdateSavedQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -449,10 +396,14 @@ public com.google.cloud.asset.v1.UpdateSavedQueryRequest buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.UpdateSavedQueryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.savedQuery_ = savedQueryBuilder_ == null ? savedQuery_ : savedQueryBuilder_.build(); + result.savedQuery_ = savedQueryBuilder_ == null + ? savedQuery_ + : savedQueryBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -460,39 +411,38 @@ private void buildPartial0(com.google.cloud.asset.v1.UpdateSavedQueryRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -500,8 +450,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()); } @@ -534,25 +483,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSavedQueryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSavedQueryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -562,18 +512,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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,
@@ -583,18 +527,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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -604,24 +543,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,
@@ -631,9 +563,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) { @@ -649,8 +579,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,
@@ -660,11 +588,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(); } else { @@ -675,8 +602,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,
@@ -686,15 +611,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 (((bitField0_ & 0x00000001) != 0) - && savedQuery_ != null - && savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + savedQuery_ != null && + savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { getSavedQueryBuilder().mergeFrom(value); } else { savedQuery_ = value; @@ -707,8 +630,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,
@@ -718,9 +639,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -733,8 +652,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,
@@ -744,9 +661,7 @@ 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() { bitField0_ |= 0x00000001; @@ -754,8 +669,6 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { return getSavedQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -765,22 +678,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,
@@ -790,22 +698,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_; @@ -813,55 +716,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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) { @@ -877,16 +764,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(); } else { @@ -897,20 +782,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 (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -923,14 +805,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -943,14 +822,11 @@ 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() { bitField0_ |= 0x00000002; @@ -958,53 +834,43 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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); } @@ -1014,12 +880,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(); } @@ -1028,27 +894,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1063,4 +929,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java similarity index 65% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java index 636720fe0d48..307da869bba4 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java index 357d0c6a0961..31618f5c344a 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java +++ b/owl-bot-staging/java-asset/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,53 +11,48 @@
  *
  * 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object version_ = "";
   /**
-   *
-   *
    * 
    * API version of the resource.
    * Example:
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -93,15 +70,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:
@@ -111,15 +87,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 { @@ -130,8 +107,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.
@@ -146,7 +121,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * .google.protobuf.Struct resource = 2; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -154,8 +128,6 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -170,7 +142,6 @@ public boolean hasResource() {
    * 
* * .google.protobuf.Struct resource = 2; - * * @return The resource. */ @java.lang.Override @@ -178,8 +149,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.
@@ -201,7 +170,6 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,7 +181,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -233,7 +202,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -243,18 +213,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -278,104 +249,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.
@@ -383,32 +347,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,9 +388,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
@@ -444,11 +409,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1.VersionedResource result = new com.google.cloud.asset.v1.VersionedResource(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -459,7 +421,9 @@ private void buildPartial0(com.google.cloud.asset.v1.VersionedResource result) {
         result.version_ = version_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null
+            ? resource_
+            : resourceBuilder_.build();
       }
     }
 
@@ -467,39 +431,38 @@ private void buildPartial0(com.google.cloud.asset.v1.VersionedResource result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -542,25 +505,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                version_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              version_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getResourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -570,13 +532,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object version_ = "";
     /**
-     *
-     *
      * 
      * API version of the resource.
      * Example:
@@ -586,13 +545,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; @@ -601,8 +560,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * API version of the resource.
      * Example:
@@ -612,14 +569,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 { @@ -627,8 +585,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * API version of the resource.
      * Example:
@@ -638,22 +594,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * API version of the resource.
      * Example:
@@ -663,7 +615,6 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -673,8 +624,6 @@ public Builder clearVersion() { return this; } /** - * - * *
      * API version of the resource.
      * Example:
@@ -684,14 +633,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -701,13 +648,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.
@@ -722,15 +664,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -745,7 +684,6 @@ public boolean hasResource() {
      * 
* * .google.protobuf.Struct resource = 2; - * * @return The resource. */ public com.google.protobuf.Struct getResource() { @@ -756,8 +694,6 @@ public com.google.protobuf.Struct getResource() { } } /** - * - * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -787,8 +723,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.
@@ -804,7 +738,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();
       } else {
@@ -815,8 +750,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.
@@ -834,9 +767,9 @@ public Builder setResource(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeResource(com.google.protobuf.Struct value) {
       if (resourceBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && resource_ != null
-            && resource_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          resource_ != null &&
+          resource_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getResourceBuilder().mergeFrom(value);
         } else {
           resource_ = value;
@@ -849,8 +782,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.
@@ -877,8 +808,6 @@ public Builder clearResource() {
       return this;
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -900,8 +829,6 @@ public com.google.protobuf.Struct.Builder getResourceBuilder() {
       return getResourceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -921,12 +848,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.
@@ -943,24 +869,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);
     }
 
@@ -970,12 +893,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();
   }
@@ -984,27 +907,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VersionedResource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1019,4 +942,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.VersionedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
similarity index 80%
rename from java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
index d86916246d95..9f9efa604b04 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
similarity index 99%
rename from java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
index d024e6a0fec8..9b81e4aad530 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -563,7 +563,7 @@ message CreateFeedRequest {
   // Required. The name of the project/folder/organization where this feed
   // should be created in. It can only be an organization number (such as
   // "organizations/123"), a folder number (such as "folders/123"), a project ID
-  // (such as "projects/my-project-id")", or a project number (such as
+  // (such as "projects/my-project-id"), or a project number (such as
   // "projects/12345").
   string parent = 1 [(google.api.field_behavior) = REQUIRED];
 
@@ -1621,8 +1621,8 @@ message CreateSavedQueryRequest {
   // Required. The name of the project/folder/organization where this
   // saved_query should be created in. It can only be an organization number
   // (such as "organizations/123"), a folder number (such as "folders/123"), a
-  // project ID (such as "projects/my-project-id")", or a project number (such
-  // as "projects/12345").
+  // 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) = {
@@ -1684,8 +1684,8 @@ message ListSavedQueriesRequest {
 
   // 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
-  // be returned.
-  //  The maximum value is 1000; values above 1000 will be coerced to 1000.
+  // be returned. The maximum value is 1000; values above 1000 will be coerced
+  // to 1000.
   int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
 
   // Optional. A page token, received from a previous `ListSavedQueries` call.
@@ -2523,19 +2523,19 @@ message AnalyzeOrgPolicyGovernedAssetsResponse {
     // [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
     string parent = 2;
 
-    // The project that this resource belongs to, in the form of
+    // The project that this resource belongs to, in the format of
     // projects/{PROJECT_NUMBER}. This field is available when the resource
     // belongs to a project.
     string project = 5;
 
-    // The folder(s) that this resource belongs to, in the form of
+    // The folder(s) that this resource belongs to, in the format of
     // folders/{FOLDER_NUMBER}. This field is available when the resource
-    // belongs(directly or cascadingly) to one or more folders.
+    // belongs (directly or cascadingly) to one or more folders.
     repeated string folders = 6;
 
-    // The organization that this resource belongs to, in the form of
+    // The organization that this resource belongs to, in the format of
     // organizations/{ORGANIZATION_NUMBER}. This field is available when the
-    // resource belongs(directly or cascadingly) to an organization.
+    // resource belongs (directly or cascadingly) to an organization.
     string organization = 7;
   }
 
@@ -2553,19 +2553,19 @@ message AnalyzeOrgPolicyGovernedAssetsResponse {
     // The IAM policy directly set on the given resource.
     google.iam.v1.Policy policy = 2;
 
-    // The project that this IAM policy belongs to, in the form of
+    // The project that this IAM policy belongs to, in the format of
     // projects/{PROJECT_NUMBER}. This field is available when the IAM policy
     // belongs to a project.
     string project = 5;
 
-    // The folder(s) that this IAM policy belongs to, in the form of
+    // The folder(s) that this IAM policy belongs to, in the format of
     // folders/{FOLDER_NUMBER}. This field is available when the IAM policy
-    // belongs(directly or cascadingly) to one or more folders.
+    // belongs (directly or cascadingly) to one or more folders.
     repeated string folders = 6;
 
-    // The organization that this IAM policy belongs to, in the form of
+    // The organization that this IAM policy belongs to, in the format of
     // organizations/{ORGANIZATION_NUMBER}. This field is available when the
-    // IAM policy belongs(directly or cascadingly) to an organization.
+    // IAM policy belongs (directly or cascadingly) to an organization.
     string organization = 7;
   }
 
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
similarity index 99%
rename from java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
rename to owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
index e540bf60df82..2d44863607bc 100644
--- a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
+++ b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -307,7 +307,7 @@ message RelatedAsset {
 }
 
 // A result of Resource Search, containing information of a cloud resource.
-// Next ID: 31
+// Next ID: 32
 message ResourceSearchResult {
   // The full resource name of this resource. Example:
   // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
rename to owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java
similarity index 99%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java
index 528963638f8b..5140e5fc5ef1 100644
--- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java
+++ b/owl-bot-staging/java-asset/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;
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java
similarity index 99%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java
index 09ac21b20398..0f2e0b071dec 100644
--- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java
+++ b/owl-bot-staging/java-asset/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/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java
diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java
diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java
diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java
diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java b/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java
rename to owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java
diff --git a/java-asset/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java
similarity index 54%
rename from java-asset/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java
rename to owl-bot-staging/java-asset/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java
index a03593beba71..094caa2f3954 100644
--- a/java-asset/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java
+++ b/owl-bot-staging/java-asset/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,146 +18,113 @@ 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.
    * 
@@ -182,8 +132,6 @@ public AssetServiceFutureStub newStub( public interface AsyncService { /** - * - * *
      * Searches all the resources within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -193,17 +141,12 @@ public interface AsyncService {
      * otherwise the request will be rejected.
      * 
*/ - default void searchAllResources( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchAllResourcesMethod(), responseObserver); + default 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -213,52 +156,46 @@ default void searchAllResources(
      * requested scope, otherwise the request will be rejected.
      * 
*/ - default void searchAllIamPolicies( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchAllIamPoliciesMethod(), responseObserver); + default void searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllIamPoliciesMethod(), responseObserver); } } /** * Base class for the server implementation of the service AssetService. - * *
    * Asset service definition.
    * 
*/ - public abstract static class AssetServiceImplBase + public static abstract class AssetServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return AssetServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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 within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -268,19 +205,13 @@ protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * otherwise the request 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -290,27 +221,23 @@ public void searchAllResources(
      * requested scope, otherwise the request 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); } } /** * A stub to allow clients to do synchronous rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -321,8 +248,6 @@ protected AssetServiceBlockingStub build( } /** - * - * *
      * Searches all the resources within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -332,15 +257,12 @@ protected AssetServiceBlockingStub build(
      * otherwise the request 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -350,8 +272,7 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllReso
      * requested scope, otherwise the request 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); } @@ -359,14 +280,14 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse searchAllIa /** * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -377,8 +298,6 @@ protected AssetServiceFutureStub build( } /** - * - * *
      * Searches all the resources within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -388,16 +307,13 @@ protected AssetServiceFutureStub build(
      * otherwise the request 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -407,9 +323,8 @@ protected AssetServiceFutureStub build(
      * requested scope, otherwise the request 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); } @@ -418,11 +333,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 AsyncService serviceImpl; private final int methodId; @@ -436,18 +351,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(); @@ -468,25 +377,24 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { 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>( - service, METHODID_SEARCH_ALL_RESOURCES))) + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>( + service, 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>( - service, 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>( + service, METHODID_SEARCH_ALL_IAM_POLICIES))) .build(); } - 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 @@ -528,13 +436,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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java new file mode 100644 index 000000000000..109048f422cd --- /dev/null +++ b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java @@ -0,0 +1,129 @@ +// 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\"\302\002\n\030StandardResour" + + "ceMetadata\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\024\n\014display_name\030\004 " + + "\001(\t\022\023\n\013description\030\005 \001(\t\022\035\n\025additional_a" + + "ttributes\030\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006lab" + + "els\030\014 \003(\0132B.google.cloud.asset.v1p1beta1" + + ".StandardResourceMetadata.LabelsEntry\022\024\n" + + "\014network_tags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicy" + + "SearchResult\022\020\n\010resource\030\001 \001(\t\022\017\n\007projec" + + "t\030\003 \001(\t\022%\n\006policy\030\004 \001(\0132\025.google.iam.v1." + + "Policy\022T\n\013explanation\030\005 \001(\0132?.google.clo" + + "ud.asset.v1p1beta1.IamPolicySearchResult" + + ".Explanation\032\351\001\n\013Explanation\022t\n\023matched_" + + "permissions\030\001 \003(\0132W.google.cloud.asset.v" + + "1p1beta1.IamPolicySearchResult.Explanati" + + "on.MatchedPermissionsEntry\032d\n\027MatchedPer" + + "missionsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(" + + "\0132).google.cloud.asset.v1p1beta1.Permiss" + + "ions:\0028\001\"\"\n\013Permissions\022\023\n\013permissions\030\001" + + " \003(\tB\251\001\n com.google.cloud.asset.v1p1beta" + + "1B\nAssetProtoP\001Z6cloud.google.com/go/ass" + + "et/apiv1p1beta1/assetpb;assetpb\370\001\001\252\002\034Goo" + + "gle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud" + + "\\Asset\\V1p1beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.PolicyProto.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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java new file mode 100644 index 000000000000..7e557d49ae1d --- /dev/null +++ b/owl-bot-staging/java-asset/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\255" + + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" + + "etServiceProtoP\001Z6cloud.google.com/go/as" + + "set/apiv1p1beta1/assetpb;assetpb\252\002\034Googl" + + "e.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud\\A" + + "sset\\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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java index dab83af2e4a4..c6f284d2ab51 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java +++ b/owl-bot-staging/java-asset/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 an 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,38 +26,34 @@ 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; } - - 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:`). Example role string:
@@ -84,13 +62,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:`). Example role string:
@@ -99,17 +74,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:`). Example role string:
@@ -118,14 +93,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:`). Example role string:
@@ -134,17 +106,14 @@ 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:`). Example role string:
@@ -153,107 +122,94 @@ 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; } - - 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()); } - @SuppressWarnings("serial") 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_; } - 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:`). Example role string:
@@ -262,26 +218,23 @@ 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:`). Example role string:
@@ -290,17 +243,13 @@ 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:`). Example role string:
@@ -309,25 +258,20 @@ 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 /* nullable */ com.google.cloud.asset.v1p1beta1.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.asset.v1p1beta1.Permissions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + /* nullable */ +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:`). Example role string:
@@ -336,15 +280,12 @@ 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 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)) { @@ -354,7 +295,6 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -366,8 +306,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, @@ -381,16 +323,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -400,16 +341,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -431,95 +371,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 @@ -529,62 +461,61 @@ 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() - private Builder() {} + // Construct using com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -594,16 +525,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 @@ -617,17 +546,13 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result) { + private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchedPermissions_ = internalGetMatchedPermissions(); @@ -639,54 +564,48 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -714,27 +633,21 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - matchedPermissions__ = - input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMatchedPermissions() - .getMutableMap() - .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + matchedPermissions__ = input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMatchedPermissions().getMutableMap().put( + matchedPermissions__.getKey(), matchedPermissions__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -744,15 +657,11 @@ public Builder mergeFrom( } // finally 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> + 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( @@ -760,14 +669,11 @@ public Builder mergeFrom( } return matchedPermissions_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + private com.google.protobuf.MapField internalGetMutableMatchedPermissions() { 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(); @@ -776,13 +682,10 @@ public Builder mergeFrom( onChanged(); return matchedPermissions_; } - 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:`). Example role string:
@@ -791,26 +694,23 @@ 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:`). Example role string:
@@ -819,17 +719,13 @@ 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:`). Example role string:
@@ -838,25 +734,20 @@ 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 /* nullable */ com.google.cloud.asset.v1p1beta1.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.asset.v1p1beta1.Permissions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + /* nullable */ +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:`). Example role string:
@@ -865,15 +756,12 @@ 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 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)) { @@ -881,15 +769,13 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } return map.get(key); } - public Builder clearMatchedPermissions() { bitField0_ = (bitField0_ & ~0x00000001); - 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:`). Example role string:
@@ -898,17 +784,18 @@ 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() { @@ -916,8 +803,6 @@ public Builder removeMatchedPermissions(java.lang.String key) { return internalGetMutableMatchedPermissions().getMutableMap(); } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). Example role string:
@@ -926,24 +811,19 @@ 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"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableMatchedPermissions().getMutableMap().put(key, value); + 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"); } + internalGetMutableMatchedPermissions().getMutableMap() + .put(key, value); bitField0_ |= 0x00000001; return this; } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). Example role string:
@@ -952,16 +832,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); bitField0_ |= 0x00000001; return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -974,44 +853,41 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1023,19 +899,16 @@ 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; - @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** - * - * *
    * The
    * [full resource
@@ -1044,7 +917,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -1053,15 +925,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
@@ -1070,15 +941,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 { @@ -1087,12 +959,9 @@ public com.google.protobuf.ByteString getResourceBytes() { } public static final int PROJECT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1103,7 +972,6 @@ public com.google.protobuf.ByteString getResourceBytes() {
    * 
* * string project = 3; - * * @return The project. */ @java.lang.Override @@ -1112,15 +980,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 Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1131,15 +998,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 { @@ -1150,8 +1018,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 attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1160,7 +1026,6 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -1168,8 +1033,6 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1178,7 +1041,6 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return The policy. */ @java.lang.Override @@ -1186,8 +1048,6 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** - * - * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1205,15 +1065,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 that explains 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 @@ -1221,26 +1078,19 @@ public boolean hasExplanation() { return explanation_ != null; } /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information that explains 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 that explains why the search result matches the query.
@@ -1249,15 +1099,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() {
-    return explanation_ == null
-        ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance()
-        : explanation_;
+  public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
+    return explanation_ == null ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1269,7 +1115,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -1298,10 +1145,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1311,23 +1160,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1358,136 +1210,129 @@ 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 an 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1508,9 +1353,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 @@ -1529,11 +1374,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult result = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1547,11 +1389,14 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResul result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null + ? policy_ + : policyBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.explanation_ = - explanationBuilder_ == null ? explanation_ : explanationBuilder_.build(); + result.explanation_ = explanationBuilder_ == null + ? explanation_ + : explanationBuilder_.build(); } } @@ -1559,39 +1404,38 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1599,8 +1443,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_; bitField0_ |= 0x00000001; @@ -1643,37 +1486,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: - { - input.readMessage(getExplanationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + input.readMessage( + getPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + input.readMessage( + getExplanationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1683,13 +1525,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resource_ = ""; /** - * - * *
      * The
      * [full resource
@@ -1698,13 +1537,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; @@ -1713,8 +1552,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * The
      * [full resource
@@ -1723,14 +1560,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 { @@ -1738,8 +1576,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * The
      * [full resource
@@ -1748,22 +1584,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The
      * [full resource
@@ -1772,7 +1604,6 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -1782,8 +1613,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * The
      * [full resource
@@ -1792,14 +1621,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -1809,8 +1636,6 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1821,13 +1646,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; @@ -1836,8 +1661,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1848,14 +1671,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 { @@ -1863,8 +1687,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1875,22 +1697,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1901,7 +1719,6 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 3; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -1911,8 +1728,6 @@ public Builder clearProject() { return this; } /** - * - * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1923,14 +1738,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -1940,13 +1753,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 attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1955,15 +1763,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1972,7 +1777,6 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 4; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -1983,8 +1787,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2008,8 +1810,6 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2019,7 +1819,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();
       } else {
@@ -2030,8 +1831,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2043,9 +1842,9 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
      */
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && policy_ != null
-            && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          policy_ != null &&
+          policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getPolicyBuilder().mergeFrom(value);
         } else {
           policy_ = value;
@@ -2058,8 +1857,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2080,8 +1877,6 @@ public Builder clearPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2097,8 +1892,6 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2112,12 +1905,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 attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2128,16 +1920,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_;
@@ -2145,50 +1935,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 that explains 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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Explanation about the IAM policy search result. It contains additional
      * information that explains 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 that explains why the search result matches the query.
@@ -2196,8 +1972,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();
@@ -2211,8 +1986,6 @@ public Builder setExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2221,8 +1994,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();
       } else {
@@ -2233,8 +2005,6 @@ public Builder setExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2242,14 +2012,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 (((bitField0_ & 0x00000008) != 0)
-            && explanation_ != null
-            && explanation_
-                != com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          explanation_ != null &&
+          explanation_ != com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance()) {
           getExplanationBuilder().mergeFrom(value);
         } else {
           explanation_ = value;
@@ -2262,8 +2029,6 @@ public Builder mergeExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2282,8 +2047,6 @@ public Builder clearExplanation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2291,15 +2054,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() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2307,20 +2067,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 that explains why the search result matches the query.
@@ -2329,24 +2084,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);
     }
 
@@ -2356,12 +2108,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();
   }
@@ -2370,27 +2122,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public IamPolicySearchResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2405,4 +2157,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
similarity index 82%
rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
index a52ffe4017ec..f06dff390343 100644
--- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
+++ b/owl-bot-staging/java-asset/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
@@ -34,13 +16,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string resource = 1; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * The
    * [full resource
@@ -49,14 +28,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 Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -67,13 +44,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string project = 3; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -84,14 +58,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 attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -100,13 +72,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -115,13 +84,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** - * - * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -134,34 +100,26 @@ public interface IamPolicySearchResultOrBuilder
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information that explains 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 that explains 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 that explains why the search result matches the query.
@@ -169,6 +127,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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
similarity index 67%
rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
index 0ae63900b973..a5ec7c1158b8 100644
--- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
+++ b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
@@ -1,113 +1,85 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License 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; } - - 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; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList permissions_; /** - * - * *
    * A list of permissions. Example 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. Example permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
    * A list of permissions. Example 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. */ @@ -115,23 +87,20 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
    * A list of permissions. Example 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; @@ -143,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } @@ -172,15 +142,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -201,136 +171,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +305,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 @@ -362,12 +326,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -388,39 +349,38 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.Permissions result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -465,20 +425,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePermissionsIsMutable(); - permissions_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePermissionsIsMutable(); + permissions_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -488,55 +446,44 @@ public Builder mergeFrom( } // finally 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. Example 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. Example permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
      * A list of permissions. Example 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. */ @@ -544,90 +491,76 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
      * A list of permissions. Example 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. Example 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPermissions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of permissions. Example 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPermissions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** - * - * *
      * A list of permissions. Example 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. Example permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -637,30 +570,26 @@ public Builder clearPermissions() { return this; } /** - * - * *
      * A list of permissions. Example 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -670,12 +599,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(); } @@ -684,27 +613,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,4 +648,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.Permissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java similarity index 61% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java index e004e42769eb..bec5dfc201c2 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java +++ b/owl-bot-staging/java-asset/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. Example 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. Example permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ int getPermissionsCount(); /** - * - * *
    * A list of permissions. Example 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. Example 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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java index e31f6a1d5cf5..9127253f0ec7 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java +++ b/owl-bot-staging/java-asset/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,37 +27,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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:
@@ -86,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -95,15 +72,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:
@@ -114,15 +90,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 { @@ -131,12 +108,9 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int QUERY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** - * - * *
    * Optional. The query statement. Examples:
    * * "policy:myuser@mydomain.com"
@@ -144,7 +118,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -153,15 +126,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:
    * * "policy:myuser@mydomain.com"
@@ -169,15 +141,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 { @@ -188,8 +161,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * 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
@@ -199,7 +170,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -208,12 +178,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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`
@@ -222,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * 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`
@@ -248,15 +213,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 { @@ -265,7 +231,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +242,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -306,7 +272,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_); @@ -319,18 +286,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,136 +326,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,14 +461,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(); } @@ -520,17 +482,13 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result) { + private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.scope_ = scope_; @@ -550,39 +508,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -590,9 +547,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_; bitField0_ |= 0x00000001; @@ -637,37 +592,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -677,13 +627,10 @@ public Builder mergeFrom( } // finally 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:
@@ -694,13 +641,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; @@ -709,8 +656,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:
@@ -721,14 +666,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 { @@ -736,8 +682,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:
@@ -748,22 +692,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; 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:
@@ -774,7 +714,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -784,8 +723,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the
      * resources within the `scope`. The allowed value must be:
@@ -796,14 +733,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -813,8 +748,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -822,13 +755,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; @@ -837,8 +770,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -846,14 +777,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 { @@ -861,8 +793,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -870,22 +800,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -893,7 +819,6 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { @@ -903,8 +828,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -912,14 +835,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -927,10 +848,8 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { 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
@@ -940,7 +859,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -948,8 +866,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
@@ -959,20 +875,17 @@ 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; bitField0_ |= 0x00000004; 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
@@ -982,7 +895,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -994,8 +906,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`
@@ -1004,13 +914,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; @@ -1019,8 +929,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`
@@ -1029,14 +937,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 { @@ -1044,8 +953,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`
@@ -1054,22 +961,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; 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`
@@ -1078,7 +981,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1088,8 +990,6 @@ public Builder clearPageToken() { 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`
@@ -1098,23 +998,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1124,13 +1022,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(); } @@ -1139,27 +1036,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1174,4 +1071,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 78% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java index 7d6256e5adb7..e68c923dc1d4 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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:
    * * "policy:myuser@mydomain.com"
@@ -68,13 +45,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Optional. The query statement. Examples:
    * * "policy:myuser@mydomain.com"
@@ -82,14 +56,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
@@ -99,14 +71,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`
@@ -115,13 +84,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`
@@ -130,8 +96,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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java index ecad3758b5e5..7f8b0992b9bc 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List results_; /** - * - * *
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -87,8 +65,6 @@ public java.util.List ge
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -97,13 +73,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 IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -116,8 +90,6 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
-   *
-   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -130,8 +102,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
     return results_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -146,12 +116,9 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   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
@@ -159,7 +126,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -168,15 +134,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
@@ -184,15 +149,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 { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -230,7 +196,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_); @@ -243,16 +210,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,136 +244,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +383,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(); } @@ -444,18 +404,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -467,8 +423,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { + private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -479,39 +434,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -519,9 +473,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()) { @@ -540,10 +492,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_); } @@ -580,33 +531,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult m = - input.readMessage( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult m = + input.readMessage( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -616,30 +564,21 @@ public Builder mergeFrom( } // finally 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -655,8 +594,6 @@ public java.util.List ge
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -672,8 +609,6 @@ public int getResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -689,8 +624,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -713,8 +646,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -757,8 +686,6 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -781,8 +708,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies 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 IAM policies 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -833,11 +754,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);
@@ -845,8 +766,6 @@ public Builder addAllResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -865,8 +784,6 @@ public Builder clearResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -885,8 +802,6 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -899,8 +814,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder getResults
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -911,14 +824,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -926,8 +836,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 {
@@ -935,8 +845,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
       }
     }
     /**
-     *
-     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -945,12 +853,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -960,13 +866,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -974,23 +877,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_;
@@ -998,8 +898,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
@@ -1007,13 +905,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; @@ -1022,8 +920,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
@@ -1031,14 +927,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 { @@ -1046,8 +943,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
@@ -1055,22 +950,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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
@@ -1078,7 +969,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1088,8 +978,6 @@ public Builder clearNextPageToken() { 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
@@ -1097,23 +985,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,13 +1009,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(); } @@ -1138,27 +1023,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1173,4 +1058,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java index 6e4a5df5b74b..5a59ecb0d1ef 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java index d2cbdd90ab12..17e483a58be1 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java +++ b/owl-bot-staging/java-asset/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,37 +29,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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:
@@ -88,7 +66,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -97,15 +74,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:
@@ -116,15 +92,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 { @@ -133,18 +110,14 @@ public com.google.protobuf.ByteString getScopeBytes() { } public static final int QUERY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** - * - * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -153,29 +126,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 { @@ -184,49 +157,40 @@ public com.google.protobuf.ByteString getQueryBytes() { } public static final int ASSET_TYPES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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. */ @@ -234,27 +198,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_ = 0; /** - * - * *
    * 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
@@ -264,7 +224,6 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -273,12 +232,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") 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
@@ -287,7 +243,6 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -296,15 +251,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
@@ -313,15 +267,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 { @@ -330,12 +285,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 10; - @SuppressWarnings("serial") 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
@@ -344,7 +296,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -353,15 +304,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
@@ -370,15 +320,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 { @@ -387,7 +338,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +349,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -442,7 +393,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_); @@ -458,20 +410,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -503,136 +460,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +598,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 @@ -669,18 +619,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -711,39 +657,38 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -751,8 +696,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_; bitField0_ |= 0x00000001; @@ -812,50 +756,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -865,13 +802,10 @@ public Builder mergeFrom( } // finally 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:
@@ -882,13 +816,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; @@ -897,8 +831,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:
@@ -909,14 +841,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 { @@ -924,8 +857,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:
@@ -936,22 +867,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scope_ = value; bitField0_ |= 0x00000001; 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:
@@ -962,7 +889,6 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { @@ -972,8 +898,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the
      * resources within the `scope`. The allowed value must be:
@@ -984,14 +908,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -1001,20 +923,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; @@ -1023,21 +943,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 { @@ -1045,35 +964,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQuery( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1083,21 +995,17 @@ public Builder clearQuery() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -1105,55 +1013,45 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * 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. */ @@ -1161,95 +1059,81 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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() { @@ -1259,22 +1143,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1282,10 +1162,8 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { 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
@@ -1295,7 +1173,6 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1303,8 +1180,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
@@ -1314,20 +1189,17 @@ 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; bitField0_ |= 0x00000008; 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
@@ -1337,7 +1209,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1349,8 +1220,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
@@ -1359,13 +1228,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; @@ -1374,8 +1243,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
@@ -1384,14 +1251,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 { @@ -1399,8 +1267,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
@@ -1409,22 +1275,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; 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
@@ -1433,7 +1295,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1443,8 +1304,6 @@ public Builder clearPageToken() { 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
@@ -1453,14 +1312,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; @@ -1470,8 +1327,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
@@ -1480,13 +1335,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; @@ -1495,8 +1350,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
@@ -1505,14 +1358,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 { @@ -1520,8 +1374,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
@@ -1530,22 +1382,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000020; 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
@@ -1554,7 +1402,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1564,8 +1411,6 @@ public Builder clearOrderBy() { 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
@@ -1574,23 +1419,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1600,12 +1443,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(); } @@ -1614,27 +1457,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1649,4 +1492,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java similarity index 82% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java index 4ebd68615d3b..119d4076f19f 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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
@@ -150,14 +112,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
@@ -166,13 +125,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
@@ -181,14 +137,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
@@ -197,13 +151,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
@@ -212,8 +163,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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java similarity index 71% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java index 7ad279d35960..e7fcc16c4cd1 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private java.util.List results_; /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -82,13 +60,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.
    * 
@@ -96,14 +71,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.
    * 
@@ -115,8 +87,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -128,8 +98,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int return results_.get(index); } /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -143,12 +111,9 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -156,7 +121,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,15 +129,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
@@ -181,15 +144,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 { @@ -198,7 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -227,7 +191,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_); @@ -240,16 +205,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,136 +239,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +378,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 @@ -440,18 +399,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -474,39 +429,38 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -514,8 +468,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()) { @@ -534,10 +487,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_); } @@ -574,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata m = - input.readMessage( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata m = + input.readMessage( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,38 +559,28 @@ public Builder mergeFrom( } // finally 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 { @@ -649,8 +588,6 @@ private void ensureResultsIsMutable() { } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -665,8 +602,6 @@ public int getResultsCount() { } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -681,8 +616,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -704,8 +637,6 @@ public Builder setResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -713,8 +644,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()); @@ -725,8 +655,6 @@ public Builder setResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -747,8 +675,6 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.StandardResourceMetad return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -770,8 +696,6 @@ public Builder addResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -790,8 +714,6 @@ public Builder addResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -799,8 +721,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()); @@ -811,8 +732,6 @@ public Builder addResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -820,11 +739,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); @@ -832,8 +751,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -851,8 +768,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -870,8 +785,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -883,8 +796,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -894,23 +805,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 { @@ -918,8 +825,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -927,13 +832,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.
      * 
@@ -942,37 +844,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_; @@ -980,8 +875,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
@@ -989,13 +882,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; @@ -1004,8 +897,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
@@ -1013,14 +904,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 { @@ -1028,8 +920,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
@@ -1037,22 +927,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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
@@ -1060,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1070,8 +955,6 @@ public Builder clearNextPageToken() { 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
@@ -1079,23 +962,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1105,12 +986,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(); } @@ -1119,27 +1000,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java index 183a1d6991a6..cea3d70ab592 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java index 04e940483f7f..539b75a36e0d 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java +++ b/owl-bot-staging/java-asset/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,48 +32,45 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -101,7 +80,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -110,15 +88,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`.
@@ -128,15 +105,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 { @@ -145,19 +123,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -166,30 +140,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 { @@ -198,19 +172,15 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int PROJECT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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 @@ -219,30 +189,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 { @@ -251,18 +221,14 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name of this resource.
    * 
* * string display_name = 4; - * * @return The displayName. */ @java.lang.Override @@ -271,29 +237,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 { @@ -302,19 +268,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") 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 @@ -323,30 +285,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 { @@ -355,12 +317,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList additionalAttributes_; /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -368,15 +327,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.
@@ -384,15 +341,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.
@@ -400,7 +354,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. */ @@ -408,8 +361,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.
@@ -417,28 +368,24 @@ 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; - @SuppressWarnings("serial") 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 @@ -447,30 +394,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 { @@ -479,34 +426,32 @@ 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, - ""); + 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, + ""); } - @SuppressWarnings("serial") - 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_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -517,21 +462,20 @@ 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 Google
    * Cloud
@@ -546,8 +490,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -558,19 +500,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+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 Google
    * Cloud
@@ -581,11 +521,11 @@ public java.util.Map getLabelsMap() {
    * 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();
     }
@@ -593,12 +533,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 13;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList networkTags_;
   /**
-   *
-   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group Google Cloud resources. See [Labelling
@@ -608,15 +545,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 Google Cloud resources. See [Labelling
@@ -626,15 +561,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 Google Cloud resources. See [Labelling
@@ -644,7 +576,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. */ @@ -652,8 +583,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 Google Cloud resources. See [Labelling
@@ -663,16 +592,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; @@ -684,7 +612,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -701,14 +630,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)); } @@ -747,15 +679,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; @@ -773,23 +705,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -831,156 +771,151 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1000,9 +935,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 @@ -1021,18 +956,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result) { if (((bitField0_ & 0x00000020) != 0)) { additionalAttributes_ = additionalAttributes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); @@ -1075,39 +1006,38 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.StandardResourceMeta public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1115,8 +1045,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_; bitField0_ |= 0x00000001; @@ -1157,7 +1086,8 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.StandardResourceMetada bitField0_ |= 0x00000040; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000080; if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { @@ -1195,75 +1125,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAdditionalAttributesIsMutable(); - additionalAttributes_.add(s); - break; - } // case 82 - case 90: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 90 - case 98: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 106 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAdditionalAttributesIsMutable(); + additionalAttributes_.add(s); + break; + } // case 82 + case 90: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 90 + case 98: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1273,13 +1191,10 @@ public Builder mergeFrom( } // finally 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`.
@@ -1289,13 +1204,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; @@ -1304,8 +1219,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1315,14 +1228,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 { @@ -1330,8 +1244,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1341,22 +1253,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1366,7 +1274,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1376,8 +1283,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1387,14 +1292,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1404,21 +1307,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; @@ -1427,22 +1328,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 { @@ -1450,37 +1350,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; 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() { @@ -1490,22 +1383,18 @@ public Builder clearAssetType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -1515,21 +1404,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; @@ -1538,22 +1425,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 { @@ -1561,37 +1447,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000004; 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() { @@ -1601,22 +1480,18 @@ public Builder clearProject() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -1626,20 +1501,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; @@ -1648,21 +1521,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 { @@ -1670,35 +1542,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The display name of this resource.
      * 
* * string display_name = 4; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1708,21 +1573,17 @@ public Builder clearDisplayName() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -1732,21 +1593,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; @@ -1755,22 +1614,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 { @@ -1778,37 +1636,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * 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() { @@ -1818,22 +1669,18 @@ public Builder clearDescription() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1841,18 +1688,14 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000020) != 0)) { additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(additionalAttributes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1860,15 +1703,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.
@@ -1876,15 +1717,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.
@@ -1892,7 +1730,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. */ @@ -1900,8 +1737,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.
@@ -1909,16 +1744,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.
@@ -1926,23 +1759,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAdditionalAttributes( + int index, java.lang.String value) { + if (value == null) { 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.
@@ -1950,22 +1779,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAdditionalAttributes( + java.lang.String value) { + if (value == null) { 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.
@@ -1973,19 +1798,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.
@@ -1993,7 +1817,6 @@ public Builder addAllAdditionalAttributes(java.lang.Iterable v
      * 
* * repeated string additional_attributes = 10; - * * @return This builder for chaining. */ public Builder clearAdditionalAttributes() { @@ -2003,8 +1826,6 @@ public Builder clearAdditionalAttributes() { return this; } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -2012,14 +1833,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAdditionalAttributesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAdditionalAttributesIsMutable(); additionalAttributes_.add(value); @@ -2029,21 +1848,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; @@ -2052,22 +1869,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 { @@ -2075,37 +1891,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; 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() { @@ -2115,22 +1924,18 @@ public Builder clearLocation() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -2138,19 +1943,21 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { 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() { 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(); @@ -2159,13 +1966,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2176,21 +1980,20 @@ 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 Google
      * Cloud
@@ -2205,8 +2008,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2217,19 +2018,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 12;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+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 Google
      * Cloud
@@ -2240,25 +2039,23 @@ public java.util.Map getLabelsMap() {
      * 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();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000080);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2268,22 +2065,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() {
       bitField0_ |= 0x00000080;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2293,20 +2091,17 @@ 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");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    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"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000080;
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2316,24 +2111,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);
       bitField0_ |= 0x00000080;
       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_ & 0x00000100) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000100;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -2343,15 +2136,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 Google Cloud resources. See [Labelling
@@ -2361,15 +2152,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 Google Cloud resources. See [Labelling
@@ -2379,7 +2167,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. */ @@ -2387,8 +2174,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 Google Cloud resources. See [Labelling
@@ -2398,16 +2183,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 Google Cloud resources. See [Labelling
@@ -2417,23 +2200,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkTags( + int index, java.lang.String value) { + if (value == null) { 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 Google Cloud resources. See [Labelling
@@ -2443,22 +2222,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTags( + java.lang.String value) { + if (value == null) { 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 Google Cloud resources. See [Labelling
@@ -2468,19 +2243,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 Google Cloud resources. See [Labelling
@@ -2490,7 +2264,6 @@ public Builder addAllNetworkTags(java.lang.Iterable values) {
      * 
* * repeated string network_tags = 13; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2500,8 +2273,6 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -2511,23 +2282,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -2537,12 +2306,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(); } @@ -2551,27 +2320,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardResourceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2586,4 +2355,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java similarity index 81% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java index 14d942f592b5..1c5c8de8c32d 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java +++ b/owl-bot-staging/java-asset/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 Google
    * Cloud
@@ -262,8 +204,6 @@ public interface StandardResourceMetadataOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -273,13 +213,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 Google
    * Cloud
@@ -289,10 +231,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 Google
    * Cloud
@@ -303,13 +244,11 @@ public interface StandardResourceMetadataOrBuilder
    * map<string, string> labels = 12;
    */
   /* 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 Google
    * Cloud
@@ -319,11 +258,10 @@ 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 Google Cloud resources. See [Labelling
@@ -333,13 +271,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 Google Cloud resources. See [Labelling
@@ -349,13 +285,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 Google Cloud resources. See [Labelling
@@ -365,14 +298,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 Google Cloud resources. See [Labelling
@@ -382,9 +312,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/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto rename to owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java rename to owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java index 8ae6849f46bf..ec4ddf032ea2 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java +++ b/owl-bot-staging/java-asset/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; diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java index 55c2f122f030..4c74edb92139 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/java-asset/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/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java b/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java rename to owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java new file mode 100644 index 000000000000..dc26749c58a8 --- /dev/null +++ b/owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java @@ -0,0 +1,671 @@ +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 interface AsyncService { + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AssetService. + *
+   * Asset service definition.
+   * 
+ */ + public static abstract class AssetServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AssetServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AssetService. + *
+   * 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AssetService. + *
+   * 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); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + *
+   * 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + 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>( + service, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>( + service, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( + service, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>( + service, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_FEED))) + .build(); + } + + 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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java index d100a9058454..8a601213e02d 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java +++ b/owl-bot-staging/java-asset/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,37 +28,33 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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;
-
   @SuppressWarnings("serial")
   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`.
@@ -86,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -95,15 +72,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`.
@@ -113,15 +89,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -130,18 +107,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -150,29 +123,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 { @@ -183,14 +156,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 @@ -198,25 +168,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.
    * 
@@ -225,23 +188,18 @@ public com.google.cloud.asset.v1p2beta1.Resource getResource() { */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; } 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 @@ -249,15 +207,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 @@ -265,8 +220,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.
@@ -280,12 +233,9 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   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
@@ -295,15 +245,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
@@ -313,15 +261,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
@@ -331,7 +276,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 6; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -339,8 +283,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
@@ -350,16 +292,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; @@ -371,7 +312,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -403,10 +345,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; @@ -424,24 +368,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -474,104 +423,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.
@@ -579,32 +521,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -627,9 +570,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
@@ -648,12 +591,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -675,10 +615,14 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null
+            ? resource_
+            : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null
+            ? iamPolicy_
+            : iamPolicyBuilder_.build();
       }
     }
 
@@ -686,39 +630,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -779,44 +722,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAncestorsIsMutable();
-                ancestors_.add(s);
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getResourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getIamPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAncestorsIsMutable();
+              ancestors_.add(s);
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -826,13 +767,10 @@ public Builder mergeFrom(
       } // finally
       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`.
@@ -842,13 +780,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; @@ -857,8 +795,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`.
@@ -868,14 +804,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 { @@ -883,8 +820,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`.
@@ -894,22 +829,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -919,7 +850,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -929,8 +859,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -940,14 +868,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -957,20 +883,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; @@ -979,21 +903,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 { @@ -1001,35 +924,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1039,21 +955,17 @@ public Builder clearAssetType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -1063,47 +975,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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.
      * 
@@ -1124,15 +1023,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(); } else { @@ -1143,8 +1041,6 @@ public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource.Builder bui return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1153,9 +1049,9 @@ public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource.Builder bui */ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && resource_ != null - && resource_ != com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + resource_ != null && + resource_ != com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1168,8 +1064,6 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1187,8 +1081,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1201,8 +1093,6 @@ public com.google.cloud.asset.v1p2beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Representation of the resource.
      * 
@@ -1213,14 +1103,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.
      * 
@@ -1228,17 +1115,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_; @@ -1246,35 +1130,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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() { @@ -1285,8 +1160,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.
@@ -1308,8 +1181,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.
@@ -1317,7 +1188,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();
       } else {
@@ -1328,8 +1200,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.
@@ -1339,9 +1209,9 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && iamPolicy_ != null
-            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          iamPolicy_ != null &&
+          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -1354,8 +1224,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.
@@ -1374,8 +1242,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.
@@ -1389,8 +1255,6 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       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.
@@ -1402,12 +1266,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.
@@ -1416,34 +1279,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_ & 0x00000010) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1453,15 +1309,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
@@ -1471,15 +1325,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
@@ -1489,7 +1340,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 6; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1497,8 +1347,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
@@ -1508,16 +1356,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
@@ -1527,23 +1373,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestors( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1553,22 +1395,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestors( + java.lang.String value) { + if (value == null) { 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
@@ -1578,19 +1416,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
@@ -1600,7 +1437,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 6; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1610,8 +1446,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
@@ -1621,23 +1455,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -1647,12 +1479,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(); } @@ -1661,27 +1493,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1696,4 +1528,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java similarity index 83% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java index 6396365adb9e..c7aacd76368d 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java new file mode 100644 index 000000000000..e928c7937ebd --- /dev/null +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java @@ -0,0 +1,108 @@ +// 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\032googl" + + "e/iam/v1/policy.proto\032\034google/protobuf/s" + + "truct.proto\032\037google/protobuf/timestamp.p" + + "roto\"\216\001\n\rTemporalAsset\0228\n\006window\030\001 \001(\0132(" + + ".google.cloud.asset.v1p2beta1.TimeWindow" + + "\022\017\n\007deleted\030\002 \001(\010\0222\n\005asset\030\003 \001(\0132#.googl" + + "e.cloud.asset.v1p2beta1.Asset\"j\n\nTimeWin" + + "dow\022.\n\nstart_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\"\241\001\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.v1p2beta1.Resource\022" + + ")\n\niam_policy\030\004 \001(\0132\025.google.iam.v1.Poli" + + "cy\022\021\n\tancestors\030\006 \003(\t\"\240\001\n\010Resource\022\017\n\007ve" + + "rsion\030\001 \001(\t\022\036\n\026discovery_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.StructB\251\001\n com.google." + + "cloud.asset.v1p2beta1B\nAssetProtoP\001Z6clo" + + "ud.google.com/go/asset/apiv1p2beta1/asse" + + "tpb;assetpb\370\001\001\252\002\034Google.Cloud.Asset.v1p2" + + "beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.PolicyProto.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.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java new file mode 100644 index 000000000000..7079ec7273ab --- /dev/null +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java @@ -0,0 +1,245 @@ +// 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\033" + + "google/protobuf/empty.proto\032 google/prot" + + "obuf/field_mask.proto\"u\n\021CreateFeedReque" + + "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\t" + + "B\003\340A\002\0225\n\004feed\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.googlea" + + "pis.com/Feed\"\'\n\020ListFeedsRequest\022\023\n\006pare" + + "nt\030\001 \001(\tB\003\340A\002\"F\n\021ListFeedsResponse\0221\n\005fe" + + "eds\030\001 \003(\0132\".google.cloud.asset.v1p2beta1" + + ".Feed\"\200\001\n\021UpdateFeedRequest\0225\n\004feed\030\001 \001(" + + "\0132\".google.cloud.asset.v1p2beta1.FeedB\003\340" + + "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMaskB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.googleap" + + "is.com/Feed\"f\n\014OutputConfig\022G\n\017gcs_desti" + + "nation\030\001 \001(\0132,.google.cloud.asset.v1p2be" + + "ta1.GcsDestinationH\000B\r\n\013destination\"-\n\016G" + + "csDestination\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_u" + + "ri\"\"\n\021PubsubDestination\022\r\n\005topic\030\001 \001(\t\"p" + + "\n\020FeedOutputConfig\022M\n\022pubsub_destination" + + "\030\001 \001(\0132/.google.cloud.asset.v1p2beta1.Pu" + + "bsubDestinationH\000B\r\n\013destination\"\351\002\n\004Fee" + + "d\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).google.cloud.asset.v1p2beta1.Cont" + + "entType\022O\n\022feed_output_config\030\005 \001(\0132..go" + + "ogle.cloud.asset.v1p2beta1.FeedOutputCon" + + "figB\003\340A\002:\221\001\352A\215\001\n\036cloudasset.googleapis.c" + + "om/Feed\022\037projects/{project}/feeds/{feed}" + + "\022\035folders/{folder}/feeds/{feed}\022)organiz" + + "ations/{organization}/feeds/{feed} \001*I\n\013" + + "ContentType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020" + + "\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014Asse" + + "tService\022\224\001\n\nCreateFeed\022/.google.cloud.a" + + "sset.v1p2beta1.CreateFeedRequest\032\".googl" + + "e.cloud.asset.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v" + + "1p2beta1/{parent=*/*}/feeds:\001*\332A\006parent\022" + + "\211\001\n\007GetFeed\022,.google.cloud.asset.v1p2bet" + + "a1.GetFeedRequest\032\".google.cloud.asset.v" + + "1p2beta1.Feed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=" + + "*/*/feeds/*}\332A\004name\022\234\001\n\tListFeeds\022..goog" + + "le.cloud.asset.v1p2beta1.ListFeedsReques" + + "t\032/.google.cloud.asset.v1p2beta1.ListFee" + + "dsResponse\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*" + + "/*}/feeds\332A\006parent\022\227\001\n\nUpdateFeed\022/.goog" + + "le.cloud.asset.v1p2beta1.UpdateFeedReque" + + "st\032\".google.cloud.asset.v1p2beta1.Feed\"4" + + "\202\323\344\223\002\'2\"/v1p2beta1/{feed.name=*/*/feeds/" + + "*}:\001*\332A\004feed\022\203\001\n\nDeleteFeed\022/.google.clo" + + "ud.asset.v1p2beta1.DeleteFeedRequest\032\026.g" + + "oogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1" + + "/{name=*/*/feeds/*}\332A\004name\032M\312A\031cloudasse" + + "t.googleapis.com\322A.https://www.googleapi" + + "s.com/auth/cloud-platformB\255\001\n com.google" + + ".cloud.asset.v1p2beta1B\021AssetServiceProt" + + "oP\001Z6cloud.google.com/go/asset/apiv1p2be" + + "ta1/assetpb;assetpb\252\002\034Google.Cloud.Asset" + + ".V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta" + + "1b\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.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.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.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java similarity index 66% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java index 6d7dda275e30..dffdb7a8ca46 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java index 4e60c9f52693..b612cb93a25d 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -93,15 +70,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
@@ -111,15 +87,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 { @@ -128,19 +105,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FEED_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -149,30 +122,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 { @@ -183,8 +156,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:
@@ -193,9 +164,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 @@ -203,8 +172,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:
@@ -213,9 +180,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 @@ -223,8 +188,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:
@@ -233,8 +196,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() { @@ -242,7 +204,6 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -280,7 +242,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -290,19 +253,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -329,135 +294,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +432,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 @@ -494,11 +453,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.CreateFeedRequest result = new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -512,7 +468,9 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.CreateFeedRequest re result.feedId_ = feedId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null + ? feed_ + : feedBuilder_.build(); } } @@ -520,39 +478,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.CreateFeedRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -560,8 +517,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_; bitField0_ |= 0x00000001; @@ -601,31 +557,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - feedId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + feedId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFeedFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,13 +589,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -651,13 +602,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; @@ -666,8 +617,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
@@ -677,14 +626,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 { @@ -692,8 +642,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
@@ -703,22 +651,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -728,7 +672,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -738,8 +681,6 @@ public Builder clearParent() { 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
@@ -749,14 +690,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -766,21 +705,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; @@ -789,22 +726,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 { @@ -812,37 +748,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFeedId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } feedId_ = value; bitField0_ |= 0x00000002; 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() { @@ -852,22 +781,18 @@ public Builder clearFeedId() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFeedIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); feedId_ = value; bitField0_ |= 0x00000002; @@ -877,13 +802,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:
@@ -892,17 +812,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -911,9 +827,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() { @@ -924,8 +838,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:
@@ -934,8 +846,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) { @@ -951,8 +862,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:
@@ -961,10 +870,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(); } else { @@ -975,8 +884,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:
@@ -985,14 +892,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 (((bitField0_ & 0x00000004) != 0) - && feed_ != null - && feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + feed_ != null && + feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { getFeedBuilder().mergeFrom(value); } else { feed_ = value; @@ -1005,8 +911,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:
@@ -1015,8 +919,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1029,8 +932,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:
@@ -1039,8 +940,7 @@ 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() { bitField0_ |= 0x00000004; @@ -1048,8 +948,6 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { return getFeedFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1058,19 +956,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:
@@ -1079,28 +975,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); } @@ -1110,12 +1002,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(); } @@ -1124,27 +1016,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1159,4 +1051,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.CreateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java similarity index 76% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java index 559d9f10b9e0..c8fc925433a5 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java index f751c7df5d22..f6efbaab3eca 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java @@ -1,71 +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/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; } - - 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; - @SuppressWarnings("serial") 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
@@ -73,10 +55,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 @@ -85,15 +64,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
@@ -101,18 +79,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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -157,15 +134,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,127 +162,125 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +290,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 @@ -336,11 +311,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest result = new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -356,39 +328,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -396,8 +367,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_; bitField0_ |= 0x00000001; @@ -429,19 +399,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,13 +419,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -465,16 +430,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; @@ -483,8 +446,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
@@ -492,17 +453,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 { @@ -510,8 +470,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
@@ -519,25 +477,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -545,10 +497,7 @@ 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() { @@ -558,8 +507,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -567,26 +514,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +539,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(); } @@ -610,27 +553,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000000..7e01ca30edd5 --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java index dbe3a4b37f6b..0575f0ee6894 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java +++ b/owl-bot-staging/java-asset/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,37 +32,33 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -91,7 +69,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -100,15 +77,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
@@ -119,15 +95,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 { @@ -136,12 +113,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -154,15 +128,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
@@ -175,15 +147,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
@@ -196,7 +165,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. */ @@ -204,8 +172,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
@@ -218,21 +184,18 @@ 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; - @SuppressWarnings("serial") 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
@@ -244,15 +207,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
@@ -264,15 +225,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
@@ -284,7 +242,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. */ @@ -292,8 +249,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
@@ -305,65 +260,51 @@ 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_ = 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; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { - com.google.cloud.asset.v1p2beta1.ContentType result = - com.google.cloud.asset.v1p2beta1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { + com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.forNumber(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 @@ -371,46 +312,32 @@ 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() { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,7 +349,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,8 +360,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) { @@ -467,12 +394,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -482,20 +410,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -529,103 +461,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.
@@ -636,32 +562,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -681,9 +608,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
@@ -702,12 +629,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -734,8 +658,9 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Feed result) {
         result.contentType_ = contentType_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.feedOutputConfig_ =
-            feedOutputConfigBuilder_ == null ? feedOutputConfig_ : feedOutputConfigBuilder_.build();
+        result.feedOutputConfig_ = feedOutputConfigBuilder_ == null
+            ? feedOutputConfig_
+            : feedOutputConfigBuilder_.build();
       }
     }
 
@@ -743,39 +668,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Feed result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -841,46 +765,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAssetNamesIsMutable();
-                assetNames_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAssetTypesIsMutable();
-                assetTypes_.add(s);
-                break;
-              } // case 26
-            case 32:
-              {
-                contentType_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(
-                    getFeedOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAssetNamesIsMutable();
+              assetNames_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAssetTypesIsMutable();
+              assetTypes_.add(s);
+              break;
+            } // case 26
+            case 32: {
+              contentType_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getFeedOutputConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -890,13 +809,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -907,13 +823,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; @@ -922,8 +838,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -934,14 +848,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 { @@ -949,8 +864,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -961,22 +874,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -987,7 +896,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -997,8 +905,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1009,14 +915,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1024,18 +928,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000002) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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
@@ -1048,15 +948,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
@@ -1069,15 +967,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
@@ -1090,7 +985,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. */ @@ -1098,8 +992,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
@@ -1112,16 +1004,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
@@ -1134,23 +1024,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetNames( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1163,22 +1049,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetNames( + java.lang.String value) { + if (value == null) { 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
@@ -1191,19 +1073,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
@@ -1216,7 +1097,6 @@ public Builder addAllAssetNames(java.lang.Iterable values) {
      * 
* * repeated string asset_names = 2; - * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1226,8 +1106,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
@@ -1240,14 +1118,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); @@ -1255,18 +1131,14 @@ public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * 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
@@ -1278,15 +1150,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
@@ -1298,15 +1168,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
@@ -1318,7 +1185,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. */ @@ -1326,8 +1192,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
@@ -1339,16 +1203,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
@@ -1360,23 +1222,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -1388,22 +1246,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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
@@ -1415,19 +1269,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
@@ -1439,7 +1292,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1449,8 +1301,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
@@ -1462,14 +1312,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1479,31 +1327,24 @@ 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. */ @@ -1514,33 +1355,26 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1p2beta1.ContentType result = - com.google.cloud.asset.v1p2beta1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.forNumber(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. */ @@ -1554,15 +1388,12 @@ public Builder setContentType(com.google.cloud.asset.v1p2beta1.ContentType value 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() { @@ -1574,61 +1405,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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) { @@ -1644,16 +1456,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) { @@ -1667,23 +1475,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 (((bitField0_ & 0x00000010) != 0) - && feedOutputConfig_ != null - && feedOutputConfig_ - != com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + feedOutputConfig_ != null && + feedOutputConfig_ != com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) { getFeedOutputConfigBuilder().mergeFrom(value); } else { feedOutputConfig_ = value; @@ -1696,16 +1499,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1718,16 +1517,12 @@ 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() { bitField0_ |= 0x00000010; @@ -1735,58 +1530,45 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder getFeedOutputCo 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); } @@ -1796,12 +1578,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(); } @@ -1810,27 +1592,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1845,4 +1627,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java similarity index 83% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java index 846765f2ef4f..66d4f439178e 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java index 80de8241fc48..80a96daa555e 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java @@ -1,81 +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; /** - * - * *
  * 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; } - - 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; } @@ -91,34 +70,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 @@ -126,26 +100,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.
    * 
@@ -153,16 +122,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; @@ -174,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); } @@ -188,9 +156,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,18 +167,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: @@ -241,135 +208,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +344,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 @@ -404,11 +365,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.FeedOutputConfig result = new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -421,7 +379,8 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.FeedOutputConfig res private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.FeedOutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && pubsubDestinationBuilder_ != null) { + if (destinationCase_ == 1 && + pubsubDestinationBuilder_ != null) { result.destination_ = pubsubDestinationBuilder_.build(); } } @@ -430,39 +389,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.FeedOutputConfi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -470,18 +428,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.getUnknownFields()); onChanged(); @@ -509,20 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getPubsubDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPubsubDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -532,12 +486,12 @@ public Builder mergeFrom( } // finally 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() { @@ -550,19 +504,13 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -570,14 +518,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 @@ -595,8 +540,6 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() } } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -617,8 +560,6 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDesti return this; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -637,25 +578,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; } @@ -671,8 +605,6 @@ public Builder mergePubsubDestination( return this; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -696,21 +628,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.
      * 
@@ -718,8 +645,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 { @@ -730,8 +656,6 @@ public Builder clearPubsubDestination() { } } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -739,19 +663,14 @@ 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()); @@ -761,9 +680,9 @@ public Builder clearPubsubDestination() { 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); } @@ -773,12 +692,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(); } @@ -787,27 +706,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -822,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java similarity index 63% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java index 91029b15a997..be3215779213 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java index 9ea7d304d0c6..11a30467ac7a 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java @@ -1,81 +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; /** - * - * *
  * 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; } - - 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; } @@ -91,28 +70,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
@@ -122,15 +97,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
@@ -140,7 +112,6 @@ public boolean hasUri() {
    * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { @@ -151,7 +122,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; @@ -160,8 +132,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
@@ -171,17 +141,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; } @@ -192,7 +163,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -228,18 +199,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: @@ -268,136 +239,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +373,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 @@ -429,11 +394,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.GcsDestination result = new com.google.cloud.asset.v1p2beta1.GcsDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -452,39 +414,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.GcsDestination public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -492,20 +453,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.getUnknownFields()); onChanged(); @@ -533,20 +491,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,12 +512,12 @@ public Builder mergeFrom( } // finally 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() { @@ -574,8 +530,6 @@ public Builder clearObjectUri() { private int bitField0_; /** - * - * *
      * 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
@@ -585,7 +539,6 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; - * * @return Whether the uri field is set. */ @java.lang.Override @@ -593,8 +546,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
@@ -604,7 +555,6 @@ public boolean hasUri() {
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -614,7 +564,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; @@ -625,8 +576,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
@@ -636,18 +585,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; } @@ -657,8 +607,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
@@ -668,22 +616,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { 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
@@ -693,7 +637,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -705,8 +648,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
@@ -716,23 +657,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -742,12 +681,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(); } @@ -756,27 +695,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -791,4 +730,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java index 3cefb0ca9b59..083a2c545a11 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java similarity index 63% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java index d7cf3e2403dd..998048245d9f 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") 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
@@ -81,10 +59,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 @@ -93,15 +68,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
@@ -109,18 +83,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 { @@ -129,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -165,15 +138,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,136 +165,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +298,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 @@ -352,11 +319,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.GetFeedRequest result = new com.google.cloud.asset.v1p2beta1.GetFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -372,39 +336,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.GetFeedRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -412,8 +375,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_; bitField0_ |= 0x00000001; @@ -445,19 +407,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -467,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -481,16 +438,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; @@ -499,8 +454,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
@@ -508,17 +461,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 { @@ -526,8 +478,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
@@ -535,25 +485,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -561,10 +505,7 @@ 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() { @@ -574,8 +515,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -583,26 +522,22 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +547,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(); } @@ -626,27 +561,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000000..1e57a7098971 --- /dev/null +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java index 04d09ea9e6e7..8bb5cf0b6886 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java @@ -1,79 +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; } - - 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; - @SuppressWarnings("serial") 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
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,15 +67,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
@@ -106,15 +82,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 { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -159,15 +136,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,135 +164,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +296,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 @@ -346,11 +317,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.ListFeedsRequest result = new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -366,39 +334,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.ListFeedsRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -406,8 +373,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_; bitField0_ |= 0x00000001; @@ -439,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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
@@ -475,13 +436,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; @@ -490,8 +451,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
@@ -499,14 +458,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 { @@ -514,8 +474,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
@@ -523,22 +481,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -546,7 +500,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -556,8 +509,6 @@ public Builder clearParent() { 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
@@ -565,23 +516,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +540,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(); } @@ -605,27 +554,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java similarity index 60% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java index 07ffeb181dec..65b8118c4c25 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java index b3ab5c11bed6..a8b4841a4d98 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java @@ -1,71 +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/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; } - - 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; - @SuppressWarnings("serial") private java.util.List feeds_; /** - * - * *
    * A list of feeds.
    * 
@@ -77,8 +59,6 @@ public java.util.List getFeedsList() { return feeds_; } /** - * - * *
    * A list of feeds.
    * 
@@ -86,13 +66,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.
    * 
@@ -104,8 +82,6 @@ public int getFeedsCount() { return feeds_.size(); } /** - * - * *
    * A list of feeds.
    * 
@@ -117,8 +93,6 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { return feeds_.get(index); } /** - * - * *
    * A list of feeds.
    * 
@@ -126,12 +100,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; @@ -143,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -157,7 +132,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,15 +143,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -197,127 +173,125 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +307,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 @@ -354,18 +328,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p2beta1.ListFeedsResponse result) { if (feedsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { feeds_ = java.util.Collections.unmodifiableList(feeds_); @@ -385,39 +355,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.ListFeedsResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -425,8 +394,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()) { @@ -445,10 +413,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_); } @@ -480,26 +447,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p2beta1.Feed m = - input.readMessage( - com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); - if (feedsBuilder_ == null) { - ensureFeedsIsMutable(); - feeds_.add(m); - } else { - feedsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.asset.v1p2beta1.Feed m = + input.readMessage( + com.google.cloud.asset.v1p2beta1.Feed.parser(), + extensionRegistry); + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(m); + } else { + feedsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -509,28 +475,21 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -545,8 +504,6 @@ public java.util.List getFeedsList() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -561,8 +518,6 @@ public int getFeedsCount() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -577,15 +532,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(); @@ -599,8 +553,6 @@ public Builder setFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -619,8 +571,6 @@ public Builder setFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -641,15 +591,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(); @@ -663,15 +612,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()); @@ -682,8 +630,6 @@ public Builder addFeeds(com.google.cloud.asset.v1p2beta1.Feed.Builder builderFor return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -702,8 +648,6 @@ public Builder addFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -714,7 +658,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); @@ -722,8 +667,6 @@ public Builder addAllFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -741,8 +684,6 @@ public Builder clearFeeds() { return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -760,44 +701,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 { @@ -805,8 +741,6 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int inde } } /** - * - * *
      * A list of feeds.
      * 
@@ -814,54 +748,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); } @@ -871,12 +800,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(); } @@ -885,27 +814,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java similarity index 59% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java index 3f00050ebe87..b80afe70fd20 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java index c677a107910b..5963f9a10343 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java @@ -1,81 +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; /** - * - * *
  * 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; } - - 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; } @@ -91,34 +70,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 @@ -126,26 +100,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.
    * 
@@ -155,13 +124,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; @@ -173,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); } @@ -187,9 +156,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,18 +167,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: @@ -239,136 +207,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +344,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 @@ -403,11 +365,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.OutputConfig result = new com.google.cloud.asset.v1p2beta1.OutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -420,7 +379,8 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.OutputConfig result) private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.OutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && + gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } } @@ -429,39 +389,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.OutputConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -471,15 +430,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.getUnknownFields()); onChanged(); @@ -507,19 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -529,12 +486,12 @@ public Builder mergeFrom( } // finally 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() { @@ -547,19 +504,13 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -567,14 +518,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 @@ -592,8 +540,6 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -614,8 +560,6 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -634,8 +578,6 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -644,14 +586,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; } @@ -667,8 +605,6 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestinati return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -692,8 +628,6 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -704,8 +638,6 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -724,8 +656,6 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -733,19 +663,14 @@ 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()); @@ -755,9 +680,9 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio 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); } @@ -767,12 +692,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(); } @@ -781,27 +706,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -816,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.OutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java index 2eadb8a878a4..ce0072cbcb16 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java similarity index 65% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java index 34ed97dfbab1..4ccc8e9b3c43 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java @@ -1,86 +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/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; } - - 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; - @SuppressWarnings("serial") 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 @@ -89,30 +66,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 { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -157,15 +134,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,135 +162,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +294,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 @@ -344,11 +315,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.PubsubDestination result = new com.google.cloud.asset.v1p2beta1.PubsubDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +332,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.PubsubDestination re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -404,8 +371,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_; bitField0_ |= 0x00000001; @@ -437,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - topic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + topic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -487,22 +448,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 { @@ -510,37 +470,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTopic( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } topic_ = value; bitField0_ |= 0x00000001; 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() { @@ -550,31 +503,27 @@ public Builder clearTopic() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +533,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(); } @@ -598,27 +547,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java similarity index 51% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java index b52b0f9aa6ea..e6d950141c14 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java index 41ccbf23b397..700e35ac3d97 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java +++ b/owl-bot-staging/java-asset/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,43 +29,38 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -92,29 +69,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 { @@ -123,12 +100,9 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -138,7 +112,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -147,15 +120,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:
@@ -165,15 +137,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 { @@ -182,12 +155,9 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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
@@ -195,7 +165,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -204,15 +173,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
@@ -220,15 +188,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 { @@ -237,12 +206,9 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object resourceUrl_ = ""; /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -252,7 +218,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -261,15 +226,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.
@@ -279,15 +243,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 { @@ -296,12 +261,9 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } public static final int PARENT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -315,7 +277,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -324,15 +285,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
@@ -346,15 +306,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 { @@ -365,15 +326,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 @@ -381,15 +339,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 @@ -397,8 +352,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.
@@ -412,7 +365,6 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -424,7 +376,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -468,7 +421,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -478,22 +432,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -525,136 +484,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -673,9 +626,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 @@ -694,11 +647,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.Resource result = new com.google.cloud.asset.v1p2beta1.Resource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -721,7 +671,9 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); + result.data_ = dataBuilder_ == null + ? data_ + : dataBuilder_.build(); } } @@ -729,39 +681,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Resource result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -824,49 +775,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getDataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -876,25 +822,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -903,21 +846,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 { @@ -925,35 +867,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -963,21 +898,17 @@ public Builder clearVersion() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -987,8 +918,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:
@@ -998,13 +927,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; @@ -1013,8 +942,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1024,14 +951,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 { @@ -1039,8 +967,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1050,22 +976,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1075,7 +997,6 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1085,8 +1006,6 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1096,14 +1015,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1113,8 +1030,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
@@ -1122,13 +1037,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; @@ -1137,8 +1052,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
@@ -1146,14 +1059,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 { @@ -1161,8 +1075,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
@@ -1170,22 +1082,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1193,7 +1101,6 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1203,8 +1110,6 @@ public Builder clearDiscoveryName() { return this; } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1212,14 +1117,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1229,8 +1132,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.
@@ -1240,13 +1141,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; @@ -1255,8 +1156,6 @@ public java.lang.String getResourceUrl() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1266,14 +1165,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 { @@ -1281,8 +1181,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.
@@ -1292,22 +1190,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1317,7 +1211,6 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1327,8 +1220,6 @@ public Builder clearResourceUrl() { return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1338,14 +1229,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1355,8 +1244,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
@@ -1370,13 +1257,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; @@ -1385,8 +1272,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1400,14 +1285,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 { @@ -1415,8 +1301,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1430,22 +1314,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1459,7 +1339,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1469,8 +1348,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1484,14 +1361,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1501,35 +1376,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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() { @@ -1540,8 +1406,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.
@@ -1563,8 +1427,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.
@@ -1572,7 +1434,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();
       } else {
@@ -1583,8 +1446,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.
@@ -1594,9 +1455,9 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && data_ != null
-            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          data_ != null &&
+          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1609,8 +1470,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.
@@ -1629,8 +1488,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1644,8 +1501,6 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1657,12 +1512,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.
@@ -1671,23 +1525,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);
     }
 
@@ -1697,12 +1549,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();
   }
@@ -1711,27 +1563,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Resource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1746,4 +1598,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
similarity index 81%
rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
index 106c7dfff4c7..8e45f66a2bb8 100644
--- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
similarity index 68%
rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
index ab7976d6078c..5d8e412fc366 100644
--- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
+++ b/owl-bot-staging/java-asset/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,55 +11,51 @@
  *
  * 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;
   }
-
-  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 @@ -84,25 +63,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.
    * 
@@ -111,22 +83,17 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow getWindow() { */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() { - return window_ == null - ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; } public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_ = false; /** - * - * *
    * If the asset is deleted or not.
    * 
* * bool deleted = 2; - * * @return The deleted. */ @java.lang.Override @@ -137,14 +104,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 @@ -152,14 +116,11 @@ public boolean hasAsset() { return asset_ != null; } /** - * - * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return The asset. */ @java.lang.Override @@ -167,8 +128,6 @@ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } /** - * - * *
    * Asset.
    * 
@@ -181,7 +140,6 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,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 (window_ != null) { output.writeMessage(1, getWindow()); } @@ -213,13 +172,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,22 +191,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -262,7 +226,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(); @@ -272,104 +237,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.
@@ -377,32 +335,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +381,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
@@ -443,11 +402,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1p2beta1.TemporalAsset result = new com.google.cloud.asset.v1p2beta1.TemporalAsset(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -455,13 +411,17 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1p2beta1.TemporalAsset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.window_ = windowBuilder_ == null ? window_ : windowBuilder_.build();
+        result.window_ = windowBuilder_ == null
+            ? window_
+            : windowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.deleted_ = deleted_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build();
+        result.asset_ = assetBuilder_ == null
+            ? asset_
+            : assetBuilder_.build();
       }
     }
 
@@ -469,39 +429,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.TemporalAsset result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -545,31 +504,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                deleted_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getWindowFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              deleted_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getAssetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,52 +538,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
      * 
@@ -645,15 +590,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(); } else { @@ -664,8 +608,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.
      * 
@@ -674,9 +616,9 @@ public Builder setWindow(com.google.cloud.asset.v1p2beta1.TimeWindow.Builder bui */ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { if (windowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && window_ != null - && window_ != com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + window_ != null && + window_ != com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance()) { getWindowBuilder().mergeFrom(value); } else { window_ = value; @@ -689,8 +631,6 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -708,8 +648,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -722,8 +660,6 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow.Builder getWindowBuilder() { return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -734,14 +670,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.
      * 
@@ -749,32 +682,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 @@ -782,33 +709,27 @@ 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; - * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -820,47 +741,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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.
      * 
@@ -881,15 +789,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(); } else { @@ -900,8 +807,6 @@ public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset.Builder builderFo return this; } /** - * - * *
      * Asset.
      * 
@@ -910,9 +815,9 @@ public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset.Builder builderFo */ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && asset_ != null - && asset_ != com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + asset_ != null && + asset_ != com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -925,8 +830,6 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** - * - * *
      * Asset.
      * 
@@ -944,8 +847,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Asset.
      * 
@@ -958,8 +859,6 @@ public com.google.cloud.asset.v1p2beta1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** - * - * *
      * Asset.
      * 
@@ -970,14 +869,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.
      * 
@@ -985,24 +881,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); } @@ -1012,12 +905,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(); } @@ -1026,27 +919,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TemporalAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,4 +954,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.TemporalAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java index f2666eaba337..d927836ba421 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java index 6e78650d853a..4b778f935239 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java +++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java @@ -1,81 +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/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; } - - 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 @@ -83,14 +62,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 @@ -98,8 +74,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Start time of the time window (exclusive).
    * 
@@ -114,15 +88,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 @@ -130,15 +101,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 @@ -146,8 +114,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.
@@ -161,7 +127,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -173,7 +138,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -190,10 +156,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -203,21 +171,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -243,136 +212,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +354,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 @@ -412,11 +375,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.TimeWindow result = new com.google.cloud.asset.v1p2beta1.TimeWindow(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -424,10 +384,14 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow buildPartial() { private void buildPartial0(com.google.cloud.asset.v1p2beta1.TimeWindow result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } } @@ -435,39 +399,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.TimeWindow result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -508,25 +471,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,38 +500,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -578,8 +532,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -600,15 +552,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(); } else { @@ -619,8 +570,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -629,9 +578,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -644,8 +593,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -663,8 +610,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -677,8 +622,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -689,12 +632,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).
      * 
@@ -702,17 +644,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_; @@ -720,35 +659,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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() { @@ -759,8 +689,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -782,8 +710,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -791,7 +717,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();
       } else {
@@ -802,8 +729,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -813,9 +738,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -828,8 +753,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -848,8 +771,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -863,8 +784,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -876,12 +795,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.
@@ -890,24 +808,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);
     }
 
@@ -917,12 +832,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();
   }
@@ -931,27 +846,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -966,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
index 2b5701c7df21..c80313df9f9c 100644
--- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
similarity index 70%
rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
index 6719cbc85a89..630a845cc895 100644
--- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
+++ b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
@@ -1,75 +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; } - - 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:
@@ -78,9 +58,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 @@ -88,8 +66,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:
@@ -98,9 +74,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 @@ -108,8 +82,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:
@@ -118,8 +90,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() { @@ -129,17 +100,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 @@ -147,17 +114,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 @@ -165,16 +128,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() { @@ -182,7 +142,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,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 (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -211,10 +171,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,21 +186,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -265,135 +228,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +369,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 @@ -433,11 +390,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result = new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -445,10 +399,14 @@ public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest buildPartial() { private void buildPartial0(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null + ? feed_ + : feedBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -456,39 +414,38 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -496,8 +453,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()); } @@ -530,25 +486,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFeedFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,18 +515,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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:
@@ -578,17 +529,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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -597,9 +544,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() { @@ -610,8 +555,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:
@@ -620,8 +563,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) { @@ -637,8 +579,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:
@@ -647,10 +587,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(); } else { @@ -661,8 +601,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:
@@ -671,14 +609,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 (((bitField0_ & 0x00000001) != 0) - && feed_ != null - && feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + feed_ != null && + feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { getFeedBuilder().mergeFrom(value); } else { feed_ = value; @@ -691,8 +628,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:
@@ -701,8 +636,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -715,8 +649,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:
@@ -725,8 +657,7 @@ 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() { bitField0_ |= 0x00000001; @@ -734,8 +665,6 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { 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:
@@ -744,19 +673,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:
@@ -765,21 +692,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_; @@ -787,61 +710,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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) { @@ -857,18 +764,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(); } else { @@ -879,22 +784,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 (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -907,16 +809,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -929,16 +828,13 @@ 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() { bitField0_ |= 0x00000002; @@ -946,57 +842,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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); } @@ -1006,12 +892,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(); } @@ -1020,27 +906,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1055,4 +941,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java similarity index 73% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java index f47a2da67b7f..dc99969d8825 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto rename to owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java b/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java rename to owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java index 7d1e820e1c62..8d4c195587d2 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java +++ b/owl-bot-staging/java-asset/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; diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java index 52ebbf4ba4b8..9be0edcf03da 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/java-asset/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/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java b/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java similarity index 100% rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java rename to owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java diff --git a/java-asset/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java similarity index 55% rename from java-asset/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java rename to owl-bot-staging/java-asset/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java index 881b2302c141..1df944be9fd7 100644 --- a/java-asset/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java +++ b/owl-bot-staging/java-asset/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,96 +18,82 @@ 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.
    * 
@@ -132,67 +101,58 @@ public AssetServiceFutureStub newStub( public interface AsyncService { /** - * - * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - default void listAssets( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); } } /** * Base class for the server implementation of the service AssetService. - * *
    * Asset service definition.
    * 
*/ - public abstract static class AssetServiceImplBase + public static abstract class AssetServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return AssetServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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); } @@ -200,14 +160,14 @@ public void listAssets( /** * A stub to allow clients to do synchronous rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -218,15 +178,12 @@ 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); } @@ -234,14 +191,14 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsResponse listAssets( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -252,16 +209,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); } @@ -269,11 +223,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 AsyncService serviceImpl; private final int methodId; @@ -287,10 +241,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(); @@ -311,18 +263,17 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { 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>( - service, METHODID_LIST_ASSETS))) + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse>( + service, METHODID_LIST_ASSETS))) .build(); } - 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 @@ -364,12 +315,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/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java similarity index 78% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java index 72936d1b996e..d3f4395d94fd 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java +++ b/owl-bot-staging/java-asset/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; /** - * - * *
  * 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.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_ = "";
@@ -53,43 +35,39 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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;
     }
@@ -105,35 +83,28 @@ 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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -143,7 +114,6 @@ public AccessContextPolicyCase getAccessContextPolicyCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -152,15 +122,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`
@@ -170,15 +139,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 { @@ -187,12 +157,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -201,7 +168,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -210,15 +176,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
@@ -227,15 +192,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 { @@ -246,14 +212,11 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p5beta1.Resource resource_; /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -261,25 +224,18 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * A 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_; } /** - * - * *
    * A representation of the resource.
    * 
@@ -288,16 +244,12 @@ public com.google.cloud.asset.v1p5beta1.Resource getResource() { */ @java.lang.Override public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; } public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -311,7 +263,6 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder()
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -319,8 +270,6 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -334,7 +283,6 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -342,8 +290,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -364,12 +310,9 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List orgPolicy_;
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -384,8 +327,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).
@@ -396,13 +337,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).
@@ -417,8 +356,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).
@@ -433,8 +370,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).
@@ -445,21 +380,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 @@ -467,27 +400,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).
@@ -496,25 +424,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 @@ -522,27 +446,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).
@@ -551,25 +470,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 @@ -577,27 +492,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).
@@ -606,21 +516,17 @@ 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();
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 10;
-
   @SuppressWarnings("serial")
   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),
@@ -632,15 +538,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_; } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -652,15 +556,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),
@@ -672,7 +573,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -680,8 +580,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),
@@ -693,16 +591,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; @@ -714,7 +611,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -731,16 +629,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)); @@ -761,29 +656,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; @@ -801,35 +695,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: @@ -886,104 +789,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; } /** - * - * *
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -997,32 +893,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1063,9 +960,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
@@ -1084,12 +981,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1121,23 +1015,30 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null
+            ? resource_
+            : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null
+            ? iamPolicy_
+            : iamPolicyBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.asset.v1p5beta1.Asset result) {
       result.accessContextPolicyCase_ = accessContextPolicyCase_;
       result.accessContextPolicy_ = this.accessContextPolicy_;
-      if (accessContextPolicyCase_ == 7 && accessPolicyBuilder_ != null) {
+      if (accessContextPolicyCase_ == 7 &&
+          accessPolicyBuilder_ != null) {
         result.accessContextPolicy_ = accessPolicyBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 8 && accessLevelBuilder_ != null) {
+      if (accessContextPolicyCase_ == 8 &&
+          accessLevelBuilder_ != null) {
         result.accessContextPolicy_ = accessLevelBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 9 && servicePerimeterBuilder_ != null) {
+      if (accessContextPolicyCase_ == 9 &&
+          servicePerimeterBuilder_ != null) {
         result.accessContextPolicy_ = servicePerimeterBuilder_.build();
       }
     }
@@ -1146,39 +1047,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p5beta1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1221,10 +1121,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            orgPolicyBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyFieldBuilder()
-                    : null;
+            orgPolicyBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyFieldBuilder() : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1241,25 +1140,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.getUnknownFields());
       onChanged();
@@ -1287,76 +1182,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 50:
-              {
-                com.google.cloud.orgpolicy.v1.Policy m =
-                    input.readMessage(
-                        com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry);
-                if (orgPolicyBuilder_ == null) {
-                  ensureOrgPolicyIsMutable();
-                  orgPolicy_.add(m);
-                } else {
-                  orgPolicyBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getAccessPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getAccessLevelFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getServicePerimeterFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 9;
-                break;
-              } // case 74
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAncestorsIsMutable();
-                ancestors_.add(s);
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getResourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getIamPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 50: {
+              com.google.cloud.orgpolicy.v1.Policy m =
+                  input.readMessage(
+                      com.google.cloud.orgpolicy.v1.Policy.parser(),
+                      extensionRegistry);
+              if (orgPolicyBuilder_ == null) {
+                ensureOrgPolicyIsMutable();
+                orgPolicy_.add(m);
+              } else {
+                orgPolicyBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getAccessPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getAccessLevelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getServicePerimeterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 9;
+              break;
+            } // case 74
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAncestorsIsMutable();
+              ancestors_.add(s);
+              break;
+            } // case 82
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1366,12 +1261,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -1385,8 +1280,6 @@ public Builder clearAccessContextPolicy() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1396,13 +1289,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; @@ -1411,8 +1304,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1422,14 +1313,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 { @@ -1437,8 +1329,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`
@@ -1448,22 +1338,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1473,7 +1359,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1483,8 +1368,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1494,14 +1377,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1511,8 +1392,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
@@ -1521,13 +1400,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; @@ -1536,8 +1415,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1546,14 +1423,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 { @@ -1561,8 +1439,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1571,22 +1447,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1595,7 +1467,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1605,8 +1476,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1615,14 +1484,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -1632,47 +1499,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_; /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * A 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(); } } /** - * - * *
      * A representation of the resource.
      * 
@@ -1693,15 +1547,14 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** - * - * *
      * A 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(); } else { @@ -1712,8 +1565,6 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource.Builder bui return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -1722,9 +1573,9 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource.Builder bui */ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && resource_ != null - && resource_ != com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + resource_ != null && + resource_ != com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1737,8 +1588,6 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -1756,8 +1605,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -1770,8 +1617,6 @@ public com.google.cloud.asset.v1p5beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * A representation of the resource.
      * 
@@ -1782,14 +1627,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_; } } /** - * - * *
      * A representation of the resource.
      * 
@@ -1797,17 +1639,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_; @@ -1815,13 +1654,8 @@ 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_; /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1835,15 +1669,12 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder()
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1857,7 +1688,6 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1868,8 +1698,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1898,8 +1726,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1914,7 +1740,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();
       } else {
@@ -1925,8 +1752,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1943,9 +1768,9 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && iamPolicy_ != null
-            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          iamPolicy_ != null &&
+          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -1958,8 +1783,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1985,8 +1808,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2007,8 +1828,6 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2027,12 +1846,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2048,41 +1866,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_ & 0x00000010) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     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).
@@ -2100,8 +1909,6 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2119,8 +1926,6 @@ public int getOrgPolicyCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2138,8 +1943,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).
@@ -2149,7 +1952,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();
@@ -2163,8 +1967,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).
@@ -2186,8 +1988,6 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2211,8 +2011,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).
@@ -2222,7 +2020,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();
@@ -2236,8 +2035,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).
@@ -2247,7 +2044,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());
@@ -2258,8 +2056,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).
@@ -2281,8 +2077,6 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2296,7 +2090,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);
@@ -2304,8 +2099,6 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2326,8 +2119,6 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2348,8 +2139,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).
@@ -2359,12 +2148,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).
@@ -2374,16 +2162,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).
@@ -2393,8 +2179,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 {
@@ -2402,8 +2188,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).
@@ -2414,12 +2198,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).
@@ -2429,13 +2211,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).
@@ -2445,42 +2226,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_ & 0x00000010) != 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_ & 0x00000010) != 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 @@ -2488,15 +2261,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 @@ -2514,8 +2284,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).
@@ -2537,8 +2305,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).
@@ -2558,8 +2324,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).
@@ -2567,18 +2331,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;
         }
@@ -2594,8 +2352,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).
@@ -2620,8 +2376,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).
@@ -2629,13 +2383,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).
@@ -2644,8 +2395,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 {
@@ -2656,8 +2406,6 @@ public Builder clearAccessPolicy() {
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2666,20 +2414,14 @@ 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());
@@ -2691,20 +2433,14 @@ public Builder clearAccessPolicy() {
     }
 
     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 @@ -2712,15 +2448,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 @@ -2738,8 +2471,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).
@@ -2761,8 +2492,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).
@@ -2782,8 +2511,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).
@@ -2793,15 +2520,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;
         }
@@ -2817,8 +2539,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).
@@ -2843,8 +2563,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).
@@ -2856,8 +2574,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).
@@ -2866,8 +2582,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 {
@@ -2878,8 +2593,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).
@@ -2888,20 +2601,14 @@ 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());
@@ -2913,20 +2620,14 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
     }
 
     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 @@ -2934,23 +2635,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 { @@ -2961,8 +2658,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).
@@ -2970,8 +2665,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();
@@ -2985,8 +2679,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3006,8 +2698,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3015,19 +2705,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;
         }
@@ -3043,8 +2726,6 @@ public Builder mergeServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3069,8 +2750,6 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3078,13 +2757,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).
@@ -3093,21 +2769,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).
@@ -3116,20 +2788,14 @@ 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());
@@ -3140,18 +2806,14 @@ public Builder clearServicePerimeter() {
       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_ & 0x00000100) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000100;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3163,15 +2825,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),
@@ -3183,15 +2843,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),
@@ -3203,7 +2860,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3211,8 +2867,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),
@@ -3224,16 +2878,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),
@@ -3245,23 +2897,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestors( + int index, java.lang.String value) { + if (value == null) { 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),
@@ -3273,22 +2921,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestors( + java.lang.String value) { + if (value == null) { 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),
@@ -3300,19 +2944,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),
@@ -3324,7 +2967,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 10; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -3334,8 +2976,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),
@@ -3347,23 +2987,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -3373,12 +3011,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(); } @@ -3387,27 +3025,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3422,4 +3060,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java similarity index 90% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java index e76966b12e6b..544ac195bc27 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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. 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. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -51,14 +30,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
@@ -67,13 +44,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
@@ -82,38 +56,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.v1p5beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return The resource. */ com.google.cloud.asset.v1p5beta1.Resource getResource(); /** - * - * *
    * A representation of the resource.
    * 
@@ -123,8 +89,6 @@ public interface AssetOrBuilder com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder(); /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -138,13 +102,10 @@ public interface AssetOrBuilder
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -158,13 +119,10 @@ public interface AssetOrBuilder
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -182,8 +140,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).
@@ -193,10 +149,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).
@@ -208,8 +163,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).
@@ -221,8 +174,6 @@ public interface AssetOrBuilder
    */
   int getOrgPolicyCount();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -232,11 +183,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).
@@ -246,37 +195,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).
@@ -287,34 +229,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).
@@ -325,34 +259,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).
@@ -360,12 +286,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();
 
   /**
-   *
-   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -377,13 +300,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),
@@ -395,13 +316,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),
@@ -413,14 +331,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),
@@ -432,12 +347,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/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java new file mode 100644 index 000000000000..0abf6836980d --- /dev/null +++ b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java @@ -0,0 +1,107 @@ +// 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\031googl" + + "e/api/resource.proto\032)google/cloud/orgpo" + + "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" + + "olicy.proto\032:google/identity/accessconte" + + "xtmanager/v1/access_level.proto\032;google/" + + "identity/accesscontextmanager/v1/access_" + + "policy.proto\032?google/identity/accesscont" + + "extmanager/v1/service_perimeter.proto\032\034g" + + "oogle/protobuf/struct.proto\"\220\004\n\005Asset\022\014\n" + + "\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228\n\010resou" + + "rce\030\003 \001(\0132&.google.cloud.asset.v1p5beta1" + + ".Resource\022)\n\niam_policy\030\004 \001(\0132\025.google.i" + + "am.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.googl" + + "e.cloud.orgpolicy.v1.Policy\022N\n\raccess_po" + + "licy\030\007 \001(\01325.google.identity.accessconte" + + "xtmanager.v1.AccessPolicyH\000\022L\n\014access_le" + + "vel\030\010 \001(\01324.google.identity.accesscontex" + + "tmanager.v1.AccessLevelH\000\022V\n\021service_per" + + "imeter\030\t \001(\01329.google.identity.accesscon" + + "textmanager.v1.ServicePerimeterH\000\022\021\n\tanc" + + "estors\030\n \003(\t:\'\352A$\n\037cloudasset.googleapis" + + ".com/Asset\022\001*B\027\n\025access_context_policy\"\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\251\001\n com.google.cloud.asset.v1p5beta1B\n" + + "AssetProtoP\001Z6cloud.google.com/go/asset/" + + "apiv1p5beta1/assetpb;assetpb\370\001\001\252\002\034Google" + + ".Cloud.Asset.V1p5Beta1\312\002\034Google\\Cloud\\As" + + "set\\V1p5beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + 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.StructProto.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.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.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java new file mode 100644 index 000000000000..f5f6c25a2266 --- /dev/null +++ b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java @@ -0,0 +1,109 @@ +// 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\031google/api/resource.proto\032)goo" + + "gle/cloud/asset/v1p5beta1/assets.proto\032\037" + + "google/protobuf/timestamp.proto\"\370\001\n\021List" + + "AssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" + + "loudasset.googleapis.com/Asset\022-\n\tread_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n" + + "\013asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\016" + + "2).google.cloud.asset.v1p5beta1.ContentT" + + "ype\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001" + + "(\t\"\221\001\n\022ListAssetsResponse\022-\n\tread_time\030\001" + + " \001(\0132\032.google.protobuf.Timestamp\0223\n\006asse" + + "ts\030\002 \003(\0132#.google.cloud.asset.v1p5beta1." + + "Asset\022\027\n\017next_page_token\030\003 \001(\t*l\n\013Conten" + + "tType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010R" + + "ESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\nORG_POLICY\020" + + "\004\022\021\n\rACCESS_POLICY\020\0052\200\002\n\014AssetService\022\240\001" + + "\n\nListAssets\022/.google.cloud.asset.v1p5be" + + "ta1.ListAssetsRequest\0320.google.cloud.ass" + + "et.v1p5beta1.ListAssetsResponse\"/\202\323\344\223\002 \022" + + "\036/v1p5beta1/{parent=*/*}/assets\332A\006parent" + + "\032M\312A\031cloudasset.googleapis.com\322A.https:/" + + "/www.googleapis.com/auth/cloud-platformB" + + "\255\001\n com.google.cloud.asset.v1p5beta1B\021As" + + "setServiceProtoP\001Z6cloud.google.com/go/a" + + "sset/apiv1p5beta1/assetpb;assetpb\252\002\034Goog" + + "le.Cloud.Asset.V1P5Beta1\312\002\034Google\\Cloud\\" + + "Asset\\V1p5beta1b\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.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.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java index 7aa47a81868c..f638179ec36e 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java +++ b/owl-bot-staging/java-asset/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 organization policy set on an asset.
    * 
@@ -69,8 +45,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ORG_POLICY(4), /** - * - * *
    * The Access Context Manager 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 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 Access Context Manager 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/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java similarity index 78% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java index 1d9b4268621b..72c62631a82e 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java +++ b/owl-bot-staging/java-asset/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,37 +28,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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"),
@@ -84,10 +62,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * "projects/[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 @@ -96,15 +71,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"),
@@ -112,18 +86,17 @@ public java.lang.String getParent() {
    * "projects/[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 { @@ -134,8 +107,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).
@@ -145,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -153,8 +123,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).
@@ -164,7 +132,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -172,8 +139,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).
@@ -190,12 +155,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -214,15 +176,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".
@@ -241,15 +201,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".
@@ -268,7 +225,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. */ @@ -276,8 +232,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".
@@ -296,63 +250,51 @@ 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_ = 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; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { - com.google.cloud.asset.v1p5beta1.ContentType result = - com.google.cloud.asset.v1p5beta1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { + com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.forNumber(contentType_); return result == null ? com.google.cloud.asset.v1p5beta1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** - * - * *
    * 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 @@ -361,12 +303,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -374,7 +313,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -383,15 +321,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
@@ -399,15 +336,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 { @@ -416,7 +354,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -428,7 +365,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -438,8 +376,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) { @@ -461,7 +398,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; @@ -471,12 +409,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_); @@ -489,23 +428,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -539,135 +482,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -687,9 +624,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 @@ -708,18 +645,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p5beta1.ListAssetsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -733,7 +666,9 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; @@ -750,39 +685,38 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -790,8 +724,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_; bitField0_ |= 0x00000001; @@ -847,50 +780,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: - { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -900,13 +828,10 @@ public Builder mergeFrom( } // finally 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"),
@@ -914,16 +839,14 @@ public Builder mergeFrom(
      * "projects/[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; @@ -932,8 +855,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"),
@@ -941,17 +862,16 @@ public java.lang.String getParent() {
      * "projects/[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 { @@ -959,8 +879,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"),
@@ -968,25 +886,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * "projects/[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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -994,10 +906,7 @@ public Builder setParent(java.lang.String value) {
      * "projects/[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() { @@ -1007,8 +916,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -1016,17 +923,13 @@ public Builder clearParent() {
      * "projects/[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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1036,13 +939,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).
@@ -1052,15 +950,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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).
@@ -1070,7 +965,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1081,8 +975,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).
@@ -1107,8 +999,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).
@@ -1119,7 +1009,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();
       } else {
@@ -1130,8 +1021,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).
@@ -1144,9 +1033,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1159,8 +1048,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).
@@ -1182,8 +1069,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).
@@ -1200,8 +1085,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1216,12 +1099,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).
@@ -1233,34 +1115,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1279,15 +1154,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".
@@ -1306,15 +1179,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".
@@ -1333,7 +1203,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. */ @@ -1341,8 +1210,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".
@@ -1361,16 +1228,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".
@@ -1389,23 +1254,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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".
@@ -1424,22 +1285,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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".
@@ -1458,19 +1315,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".
@@ -1489,7 +1345,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1499,8 +1354,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1519,14 +1372,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1536,31 +1387,24 @@ 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. */ @@ -1571,33 +1415,26 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1p5beta1.ContentType result = - com.google.cloud.asset.v1p5beta1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.forNumber(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. */ @@ -1611,15 +1448,12 @@ public Builder setContentType(com.google.cloud.asset.v1p5beta1.ContentType value 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() { @@ -1629,17 +1463,14 @@ public Builder clearContentType() { 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 @@ -1647,35 +1478,29 @@ 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; bitField0_ |= 0x00000010; 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() { @@ -1687,8 +1512,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
@@ -1696,13 +1519,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; @@ -1711,8 +1534,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
@@ -1720,14 +1541,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 { @@ -1735,8 +1557,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
@@ -1744,22 +1564,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1767,7 +1583,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1777,8 +1592,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1786,23 +1599,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1812,12 +1623,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(); } @@ -1826,27 +1637,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1861,4 +1672,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java similarity index 86% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java index c13df875ee7a..5d6777d8bca4 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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"),
@@ -33,16 +15,11 @@ public interface ListAssetsRequestOrBuilder
    * "projects/[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. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -50,17 +27,13 @@ public interface ListAssetsRequestOrBuilder
    * "projects/[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(); /** - * - * *
    * 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 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).
@@ -86,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 the current time and the current time minus 35 days (inclusive).
@@ -106,8 +73,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".
@@ -126,13 +91,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".
@@ -151,13 +114,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".
@@ -176,14 +136,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".
@@ -202,56 +159,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
@@ -259,13 +205,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
@@ -273,8 +216,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/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java index dfe0bbf36b38..4e895a3c6480 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java +++ b/owl-bot-staging/java-asset/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,41 +26,37 @@ 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; } - - 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 @@ -86,14 +64,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -101,8 +76,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -115,12 +88,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } public static final int ASSETS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List assets_; /** - * - * *
    * Assets.
    * 
@@ -132,8 +102,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * Assets.
    * 
@@ -141,13 +109,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.
    * 
@@ -159,8 +125,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * Assets.
    * 
@@ -172,8 +136,6 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * Assets.
    * 
@@ -181,17 +143,15 @@ 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; - @SuppressWarnings("serial") 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
@@ -199,7 +159,6 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int in
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -208,15 +167,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
@@ -224,15 +182,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 { @@ -241,7 +200,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -273,10 +232,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_); @@ -289,20 +250,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -330,135 +293,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,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 @@ -501,18 +458,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p5beta1.ListAssetsResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -527,7 +480,9 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -538,39 +493,38 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -578,8 +532,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()); } @@ -601,10 +554,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsResponse oth assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000002); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -641,38 +593,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1p5beta1.Asset m = - input.readMessage( - com.google.cloud.asset.v1p5beta1.Asset.parser(), extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1p5beta1.Asset m = + input.readMessage( + com.google.cloud.asset.v1p5beta1.Asset.parser(), + extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,38 +633,28 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -724,8 +665,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -746,15 +685,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(); } else { @@ -765,8 +703,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -775,9 +711,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -790,8 +726,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -809,8 +743,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -823,8 +755,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -835,12 +765,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.
      * 
@@ -848,41 +777,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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -897,8 +817,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * Assets.
      * 
@@ -913,8 +831,6 @@ public int getAssetsCount() { } } /** - * - * *
      * Assets.
      * 
@@ -929,15 +845,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(); @@ -951,8 +866,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value return this; } /** - * - * *
      * Assets.
      * 
@@ -971,8 +884,6 @@ public Builder setAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -993,15 +904,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(); @@ -1015,15 +925,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()); @@ -1034,8 +943,6 @@ public Builder addAssets(com.google.cloud.asset.v1p5beta1.Asset.Builder builderF return this; } /** - * - * *
      * Assets.
      * 
@@ -1054,8 +961,6 @@ public Builder addAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1066,7 +971,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); @@ -1074,8 +980,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1093,8 +997,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * Assets.
      * 
@@ -1112,44 +1014,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 { @@ -1157,8 +1054,6 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int in } } /** - * - * *
      * Assets.
      * 
@@ -1166,47 +1061,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_ & 0x00000002) != 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_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; @@ -1214,8 +1104,6 @@ public java.util.List getAssetsB 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
@@ -1223,13 +1111,13 @@ public java.util.List getAssetsB
      * 
* * 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; @@ -1238,8 +1126,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
@@ -1247,14 +1133,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 { @@ -1262,8 +1149,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
@@ -1271,22 +1156,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; 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
@@ -1294,7 +1175,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1304,8 +1184,6 @@ public Builder clearNextPageToken() { 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
@@ -1313,23 +1191,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1339,12 +1215,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(); } @@ -1353,27 +1229,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1388,4 +1264,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java index 88f17363fea7..c0ab522665a4 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java +++ b/owl-bot-staging/java-asset/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,30 +60,25 @@ 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. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -120,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
@@ -134,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/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java index 3580aa35de23..b43fc28cddde 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java +++ b/owl-bot-staging/java-asset/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; /** - * - * *
  * A representation of a Google 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,43 +29,38 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -92,29 +69,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 { @@ -123,12 +100,9 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -138,7 +112,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -147,15 +120,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:
@@ -165,15 +137,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 { @@ -182,12 +155,9 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryName_ = ""; /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -196,7 +166,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -205,15 +174,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`
@@ -222,15 +190,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 { @@ -239,12 +208,9 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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:
@@ -253,7 +219,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -262,15 +227,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:
@@ -279,15 +243,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 { @@ -296,12 +261,9 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } public static final int PARENT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -316,7 +278,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -325,15 +286,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
@@ -348,15 +308,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 { @@ -367,15 +328,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 @@ -383,15 +341,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 @@ -399,8 +354,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.
@@ -414,7 +367,6 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -426,7 +378,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -470,7 +423,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -480,22 +434,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -527,136 +486,130 @@ 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;
   }
   /**
-   *
-   *
    * 
    * A representation of a Google 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -675,9 +628,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 @@ -696,11 +649,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p5beta1.Resource result = new com.google.cloud.asset.v1p5beta1.Resource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -723,7 +673,9 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); + result.data_ = dataBuilder_ == null + ? data_ + : dataBuilder_.build(); } } @@ -731,39 +683,38 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Resource result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -826,49 +777,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getDataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -878,25 +824,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -905,21 +848,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 { @@ -927,35 +869,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -965,21 +900,17 @@ public Builder clearVersion() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -989,8 +920,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:
@@ -1000,13 +929,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; @@ -1015,8 +944,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1026,14 +953,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 { @@ -1041,8 +969,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1052,22 +978,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1077,7 +999,6 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1087,8 +1008,6 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1098,14 +1017,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1115,8 +1032,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`
@@ -1125,13 +1040,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; @@ -1140,8 +1055,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1150,14 +1063,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 { @@ -1165,8 +1079,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1175,22 +1087,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1199,7 +1107,6 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1209,8 +1116,6 @@ public Builder clearDiscoveryName() { return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1219,14 +1124,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1236,8 +1139,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:
@@ -1246,13 +1147,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; @@ -1261,8 +1162,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:
@@ -1271,14 +1170,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 { @@ -1286,8 +1186,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:
@@ -1296,22 +1194,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1320,7 +1214,6 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1330,8 +1223,6 @@ public Builder clearResourceUrl() { return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1340,14 +1231,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1357,8 +1246,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
@@ -1373,13 +1260,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; @@ -1388,8 +1275,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1404,14 +1289,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 { @@ -1419,8 +1305,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1435,22 +1319,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1465,7 +1345,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1475,8 +1354,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1491,14 +1368,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1508,35 +1383,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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() { @@ -1547,8 +1413,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1570,8 +1434,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.
@@ -1579,7 +1441,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();
       } else {
@@ -1590,8 +1453,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.
@@ -1601,9 +1462,9 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && data_ != null
-            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          data_ != null &&
+          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1616,8 +1477,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.
@@ -1636,8 +1495,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1651,8 +1508,6 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1664,12 +1519,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.
@@ -1678,23 +1532,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);
     }
 
@@ -1704,12 +1556,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();
   }
@@ -1718,27 +1570,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Resource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1753,4 +1605,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p5beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
similarity index 82%
rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
index 689009d00ac2..424649f34314 100644
--- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
+++ b/owl-bot-staging/java-asset/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.
    * 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.
diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
similarity index 100%
rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
similarity index 100%
rename from java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
rename to owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java
diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java b/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java
similarity index 100%
rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java
rename to owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java
similarity index 99%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java
index b2fe0f933f32..041b65b170db 100644
--- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java
+++ b/owl-bot-staging/java-asset/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;
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java
diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java
similarity index 99%
rename from java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java
index 7afbf3f79796..38f973b48370 100644
--- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java
+++ b/owl-bot-staging/java-asset/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/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java
diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java
diff --git a/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java b/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java
similarity index 100%
rename from java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java
rename to owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java
diff --git a/java-asset/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java
similarity index 63%
rename from java-asset/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java
rename to owl-bot-staging/java-asset/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java
index eb4e44e628be..577e8600dc71 100644
--- a/java-asset/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java
+++ b/owl-bot-staging/java-asset/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,92 +18,82 @@ 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.
    * 
@@ -128,8 +101,6 @@ public AssetServiceFutureStub newStub( public interface AsyncService { /** - * - * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -144,51 +115,46 @@ public interface AsyncService {
      * 5 minutes.
      * 
*/ - default void exportAssets( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, + default 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); } } /** * Base class for the server implementation of the service AssetService. - * *
    * Asset service definition.
    * 
*/ - public abstract static class AssetServiceImplBase + public static abstract class AssetServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return AssetServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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
@@ -203,26 +169,23 @@ 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); } } /** * A stub to allow clients to do synchronous rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -233,8 +196,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
@@ -249,8 +210,7 @@ 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); } @@ -258,14 +218,14 @@ public com.google.longrunning.Operation exportAssets( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -276,8 +236,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
@@ -292,8 +250,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); } @@ -301,11 +259,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 AsyncService serviceImpl; private final int methodId; @@ -319,8 +277,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: @@ -342,17 +299,17 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { 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>(service, METHODID_EXPORT_ASSETS))) + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, + com.google.longrunning.Operation>( + service, METHODID_EXPORT_ASSETS))) .build(); } - 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 @@ -394,12 +351,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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java similarity index 78% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java index a332cd330c8b..9b909b2e4e39 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java +++ b/owl-bot-staging/java-asset/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,43 +35,39 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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;
     }
@@ -105,40 +83,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 @@ -146,15 +117,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 @@ -162,8 +130,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.
@@ -177,12 +143,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -192,7 +155,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -201,15 +163,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`
@@ -219,15 +180,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 { @@ -236,12 +198,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -250,7 +209,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -259,15 +217,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
@@ -276,15 +233,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 { @@ -295,14 +253,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 @@ -310,25 +265,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.
    * 
@@ -337,16 +285,12 @@ public com.google.cloud.asset.v1p7beta1.Resource getResource() { */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() { - return resource_ == null - ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; } public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -360,7 +304,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 @@ -368,8 +311,6 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -383,7 +324,6 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -391,8 +331,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -413,12 +351,9 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List orgPolicy_;
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -433,8 +368,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).
@@ -445,13 +378,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).
@@ -466,8 +397,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).
@@ -482,8 +411,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).
@@ -494,21 +421,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 @@ -516,27 +441,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).
@@ -545,25 +465,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 @@ -571,27 +487,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).
@@ -600,25 +511,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 @@ -626,27 +533,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).
@@ -655,10 +557,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();
   }
@@ -666,15 +567,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 @@ -682,26 +580,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.
@@ -711,18 +602,13 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
-    return relatedAssets_ == null
-        ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()
-        : relatedAssets_;
+    return relatedAssets_ == null ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_;
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 10;
-
   @SuppressWarnings("serial")
   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),
@@ -734,15 +620,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),
@@ -754,15 +638,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),
@@ -774,7 +655,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -782,8 +662,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),
@@ -795,16 +673,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; @@ -816,7 +693,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -833,16 +711,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)); @@ -869,29 +744,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; @@ -902,10 +776,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -915,7 +791,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); @@ -924,34 +800,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: @@ -1016,104 +903,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
@@ -1127,32 +1007,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1203,9 +1084,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
@@ -1224,12 +1105,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1255,7 +1133,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.Asset r
     private void buildPartial0(com.google.cloud.asset.v1p7beta1.Asset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.name_ = name_;
@@ -1264,27 +1144,35 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null
+            ? resource_
+            : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null
+            ? iamPolicy_
+            : iamPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.relatedAssets_ =
-            relatedAssetsBuilder_ == null ? relatedAssets_ : relatedAssetsBuilder_.build();
+        result.relatedAssets_ = relatedAssetsBuilder_ == null
+            ? relatedAssets_
+            : relatedAssetsBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.Asset result) {
       result.accessContextPolicyCase_ = accessContextPolicyCase_;
       result.accessContextPolicy_ = this.accessContextPolicy_;
-      if (accessContextPolicyCase_ == 7 && accessPolicyBuilder_ != null) {
+      if (accessContextPolicyCase_ == 7 &&
+          accessPolicyBuilder_ != null) {
         result.accessContextPolicy_ = accessPolicyBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 8 && accessLevelBuilder_ != null) {
+      if (accessContextPolicyCase_ == 8 &&
+          accessLevelBuilder_ != null) {
         result.accessContextPolicy_ = accessLevelBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 9 && servicePerimeterBuilder_ != null) {
+      if (accessContextPolicyCase_ == 9 &&
+          servicePerimeterBuilder_ != null) {
         result.accessContextPolicy_ = servicePerimeterBuilder_.build();
       }
     }
@@ -1293,39 +1181,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1371,10 +1258,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            orgPolicyBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyFieldBuilder()
-                    : null;
+            orgPolicyBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyFieldBuilder() : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1394,25 +1280,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.getUnknownFields());
       onChanged();
@@ -1440,88 +1322,90 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-            case 50:
-              {
-                com.google.cloud.orgpolicy.v1.Policy m =
-                    input.readMessage(
-                        com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry);
-                if (orgPolicyBuilder_ == null) {
-                  ensureOrgPolicyIsMutable();
-                  orgPolicy_.add(m);
-                } else {
-                  orgPolicyBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getAccessPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getAccessLevelFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getServicePerimeterFieldBuilder().getBuilder(), extensionRegistry);
-                accessContextPolicyCase_ = 9;
-                break;
-              } // case 74
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAncestorsIsMutable();
-                ancestors_.add(s);
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 90
-            case 106:
-              {
-                input.readMessage(getRelatedAssetsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 106
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getResourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getIamPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 34
+            case 50: {
+              com.google.cloud.orgpolicy.v1.Policy m =
+                  input.readMessage(
+                      com.google.cloud.orgpolicy.v1.Policy.parser(),
+                      extensionRegistry);
+              if (orgPolicyBuilder_ == null) {
+                ensureOrgPolicyIsMutable();
+                orgPolicy_.add(m);
+              } else {
+                orgPolicyBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getAccessPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getAccessLevelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getServicePerimeterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              accessContextPolicyCase_ = 9;
+              break;
+            } // case 74
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAncestorsIsMutable();
+              ancestors_.add(s);
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 90
+            case 106: {
+              input.readMessage(
+                  getRelatedAssetsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 106
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1531,12 +1415,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -1550,49 +1434,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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
@@ -1614,8 +1485,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.
@@ -1623,7 +1492,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();
       } else {
@@ -1634,8 +1504,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.
@@ -1645,9 +1513,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1660,8 +1528,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.
@@ -1680,8 +1546,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1695,8 +1559,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1708,14 +1570,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.
@@ -1724,17 +1583,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_;
@@ -1742,8 +1598,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`
@@ -1753,13 +1607,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; @@ -1768,8 +1622,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1779,14 +1631,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 { @@ -1794,8 +1647,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`
@@ -1805,22 +1656,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1830,7 +1677,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1840,8 +1686,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1851,14 +1695,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -1868,8 +1710,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
@@ -1878,13 +1718,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; @@ -1893,8 +1733,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1903,14 +1741,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 { @@ -1918,8 +1757,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1928,22 +1765,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1952,7 +1785,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1962,8 +1794,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1972,14 +1802,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000004; @@ -1989,47 +1817,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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.
      * 
@@ -2050,15 +1865,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(); } else { @@ -2069,8 +1883,6 @@ public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource.Builder bui return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2079,9 +1891,9 @@ public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource.Builder bui */ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && resource_ != null - && resource_ != com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + resource_ != null && + resource_ != com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -2094,8 +1906,6 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2113,8 +1923,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2127,8 +1935,6 @@ public com.google.cloud.asset.v1p7beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * A representation of the resource.
      * 
@@ -2139,14 +1945,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.
      * 
@@ -2154,17 +1957,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_; @@ -2172,13 +1972,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2192,15 +1987,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2214,7 +2006,6 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2225,8 +2016,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2255,8 +2044,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2271,7 +2058,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();
       } else {
@@ -2282,8 +2070,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2300,9 +2086,9 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && iamPolicy_ != null
-            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          iamPolicy_ != null &&
+          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -2315,8 +2101,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2342,8 +2126,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2364,8 +2146,6 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2384,12 +2164,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2405,41 +2184,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_ & 0x00000020) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     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).
@@ -2457,8 +2227,6 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2476,8 +2244,6 @@ public int getOrgPolicyCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2495,8 +2261,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).
@@ -2506,7 +2270,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();
@@ -2520,8 +2285,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).
@@ -2543,8 +2306,6 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2568,8 +2329,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).
@@ -2579,7 +2338,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();
@@ -2593,8 +2353,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).
@@ -2604,7 +2362,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());
@@ -2615,8 +2374,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).
@@ -2638,8 +2395,6 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2653,7 +2408,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);
@@ -2661,8 +2417,6 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2683,8 +2437,6 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2705,8 +2457,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).
@@ -2716,12 +2466,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).
@@ -2731,16 +2480,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).
@@ -2750,8 +2497,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 {
@@ -2759,8 +2506,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).
@@ -2771,12 +2516,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).
@@ -2786,13 +2529,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).
@@ -2802,42 +2544,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_ & 0x00000020) != 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_ & 0x00000020) != 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 @@ -2845,15 +2579,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 @@ -2871,8 +2602,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).
@@ -2894,8 +2623,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).
@@ -2915,8 +2642,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).
@@ -2924,18 +2649,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;
         }
@@ -2951,8 +2670,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).
@@ -2977,8 +2694,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).
@@ -2986,13 +2701,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).
@@ -3001,8 +2713,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 {
@@ -3013,8 +2724,6 @@ public Builder clearAccessPolicy() {
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3023,20 +2732,14 @@ 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());
@@ -3048,20 +2751,14 @@ public Builder clearAccessPolicy() {
     }
 
     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 @@ -3069,15 +2766,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 @@ -3095,8 +2789,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).
@@ -3118,8 +2810,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).
@@ -3139,8 +2829,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).
@@ -3150,15 +2838,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;
         }
@@ -3174,8 +2857,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).
@@ -3200,8 +2881,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).
@@ -3213,8 +2892,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).
@@ -3223,8 +2900,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 {
@@ -3235,8 +2911,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).
@@ -3245,20 +2919,14 @@ 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());
@@ -3270,20 +2938,14 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
     }
 
     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 @@ -3291,23 +2953,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 { @@ -3318,8 +2976,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).
@@ -3327,8 +2983,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();
@@ -3342,8 +2997,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3363,8 +3016,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3372,19 +3023,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;
         }
@@ -3400,8 +3044,6 @@ public Builder mergeServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3426,8 +3068,6 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3435,13 +3075,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).
@@ -3450,21 +3087,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).
@@ -3473,20 +3106,14 @@ 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());
@@ -3499,49 +3126,36 @@ public Builder clearServicePerimeter() {
 
     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 ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * 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.
@@ -3563,8 +3177,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.
@@ -3584,8 +3196,6 @@ public Builder setRelatedAssets(
       return this;
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3595,10 +3205,9 @@ public Builder setRelatedAssets(
      */
     public Builder mergeRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets value) {
       if (relatedAssetsBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0)
-            && relatedAssets_ != null
-            && relatedAssets_
-                != com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0) &&
+          relatedAssets_ != null &&
+          relatedAssets_ != com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()) {
           getRelatedAssetsBuilder().mergeFrom(value);
         } else {
           relatedAssets_ = value;
@@ -3611,8 +3220,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.
@@ -3631,8 +3238,6 @@ public Builder clearRelatedAssets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3646,8 +3251,6 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder getRelatedAssetsBu
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3659,14 +3262,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.
@@ -3675,34 +3275,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_ & 0x00000400) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000400;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3714,15 +3307,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),
@@ -3734,15 +3325,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),
@@ -3754,7 +3342,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3762,8 +3349,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),
@@ -3775,16 +3360,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),
@@ -3796,23 +3379,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestors( + int index, java.lang.String value) { + if (value == null) { 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),
@@ -3824,22 +3403,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestors( + java.lang.String value) { + if (value == null) { 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),
@@ -3851,19 +3426,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),
@@ -3875,7 +3449,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 10; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -3885,8 +3458,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),
@@ -3898,23 +3469,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -3924,12 +3493,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(); } @@ -3938,27 +3507,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3973,4 +3542,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java similarity index 90% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java index 010808924866..ef4fd1331cdf 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java new file mode 100644 index 000000000000..46329d850465 --- /dev/null +++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java @@ -0,0 +1,157 @@ +// 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\031googl" + + "e/api/resource.proto\032)google/cloud/orgpo" + + "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" + + "olicy.proto\032:google/identity/accessconte" + + "xtmanager/v1/access_level.proto\032;google/" + + "identity/accesscontextmanager/v1/access_" + + "policy.proto\032?google/identity/accesscont" + + "extmanager/v1/service_perimeter.proto\032\034g" + + "oogle/protobuf/struct.proto\032\037google/prot" + + "obuf/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\nasset_type\030\002 \001(\t\0228\n\010res" + + "ource\030\003 \001(\0132&.google.cloud.asset.v1p7bet" + + "a1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.google" + + ".iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.goo" + + "gle.cloud.orgpolicy.v1.Policy\022N\n\raccess_" + + "policy\030\007 \001(\01325.google.identity.accesscon" + + "textmanager.v1.AccessPolicyH\000\022L\n\014access_" + + "level\030\010 \001(\01324.google.identity.accesscont" + + "extmanager.v1.AccessLevelH\000\022V\n\021service_p" + + "erimeter\030\t \001(\01329.google.identity.accessc" + + "ontextmanager.v1.ServicePerimeterH\000\022C\n\016r" + + "elated_assets\030\r \001(\0132+.google.cloud.asset" + + ".v1p7beta1.RelatedAssets\022\021\n\tancestors\030\n " + + "\003(\t:\'\352A$\n\037cloudasset.googleapis.com/Asse" + + "t\022\001*B\027\n\025access_context_policy\"\262\001\n\010Resour" + + "ce\022\017\n\007version\030\001 \001(\t\022\036\n\026discovery_documen" + + "t_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014r" + + "esource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004dat" + + "a\030\006 \001(\0132\027.google.protobuf.Struct\022\020\n\010loca" + + "tion\030\010 \001(\t\"\242\001\n\rRelatedAssets\022U\n\027relation" + + "ship_attributes\030\001 \001(\01324.google.cloud.ass" + + "et.v1p7beta1.RelationshipAttributes\022:\n\006a" + + "ssets\030\002 \003(\0132*.google.cloud.asset.v1p7bet" + + "a1.RelatedAsset\"r\n\026RelationshipAttribute" + + "s\022\014\n\004type\030\004 \001(\t\022\034\n\024source_resource_type\030" + + "\001 \001(\t\022\034\n\024target_resource_type\030\002 \001(\t\022\016\n\006a" + + "ction\030\003 \001(\t\"j\n\014RelatedAsset\0223\n\005asset\030\001 \001" + + "(\tB$\372A!\n\037cloudasset.googleapis.com/Asset" + + "\022\022\n\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\tB" + + "\251\001\n com.google.cloud.asset.v1p7beta1B\nAs" + + "setProtoP\001Z6cloud.google.com/go/asset/ap" + + "iv1p7beta1/assetpb;assetpb\370\001\001\252\002\034Google.C" + + "loud.Asset.V1P7Beta1\312\002\034Google\\Cloud\\Asse" + + "t\\V1p7beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + 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.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.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.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java new file mode 100644 index 000000000000..6a413362591b --- /dev/null +++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java @@ -0,0 +1,199 @@ +// 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/longrunning/operations.proto\032\037google" + + "/protobuf/timestamp.proto\"\267\002\n\023ExportAsse" + + "tsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloud" + + "asset.googleapis.com/Asset\022-\n\tread_time\030" + + "\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013ass" + + "et_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).g" + + "oogle.cloud.asset.v1p7beta1.ContentType\022" + + "F\n\routput_config\030\005 \001(\0132*.google.cloud.as" + + "set.v1p7beta1.OutputConfigB\003\340A\002\022\032\n\022relat" + + "ionship_types\030\006 \003(\t\"\313\001\n\024ExportAssetsResp" + + "onse\022-\n\tread_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022A\n\routput_config\030\002 \001(\0132*.goo" + + "gle.cloud.asset.v1p7beta1.OutputConfig\022A" + + "\n\routput_result\030\003 \001(\0132*.google.cloud.ass" + + "et.v1p7beta1.OutputResult\"\271\001\n\014OutputConf" + + "ig\022G\n\017gcs_destination\030\001 \001(\0132,.google.clo" + + "ud.asset.v1p7beta1.GcsDestinationH\000\022Q\n\024b" + + "igquery_destination\030\002 \001(\01321.google.cloud" + + ".asset.v1p7beta1.BigQueryDestinationH\000B\r" + + "\n\013destination\"]\n\014OutputResult\022C\n\ngcs_res" + + "ult\030\001 \001(\0132-.google.cloud.asset.v1p7beta1" + + ".GcsOutputResultH\000B\010\n\006result\"\037\n\017GcsOutpu" + + "tResult\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\n" + + "object_uri\"\273\001\n\023BigQueryDestination\022\024\n\007da" + + "taset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005" + + "force\030\003 \001(\010\022C\n\016partition_spec\030\004 \001(\0132+.go" + + "ogle.cloud.asset.v1p7beta1.PartitionSpec" + + "\022&\n\036separate_tables_per_asset_type\030\005 \001(\010" + + "\"\260\001\n\rPartitionSpec\022O\n\rpartition_key\030\001 \001(" + + "\01628.google.cloud.asset.v1p7beta1.Partiti" + + "onSpec.PartitionKey\"N\n\014PartitionKey\022\035\n\031P" + + "ARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020" + + "\001\022\020\n\014REQUEST_TIME\020\002*~\n\013ContentType\022\034\n\030CO" + + "NTENT_TYPE_UNSPECIFIED\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\014RELATIONSHIP\020\0072\332\002\n\014AssetSer" + + "vice\022\372\001\n\014ExportAssets\0221.google.cloud.ass" + + "et.v1p7beta1.ExportAssetsRequest\032\035.googl" + + "e.longrunning.Operation\"\227\001\202\323\344\223\002)\"$/v1p7b" + + "eta1/{parent=*/*}:exportAssets:\001*\312Ae\n1go" + + "ogle.cloud.asset.v1p7beta1.ExportAssetsR" + + "esponse\0220google.cloud.asset.v1p7beta1.Ex" + + "portAssetsRequest\032M\312A\031cloudasset.googlea" + + "pis.com\322A.https://www.googleapis.com/aut" + + "h/cloud-platformB\255\001\n com.google.cloud.as" + + "set.v1p7beta1B\021AssetServiceProtoP\001Z6clou" + + "d.google.com/go/asset/apiv1p7beta1/asset" + + "pb;assetpb\252\002\034Google.Cloud.Asset.V1P7Beta" + + "1\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.longrunning.OperationsProto.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.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java similarity index 81% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java index f79e8cde70c9..ff59268dbf9c 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java +++ b/owl-bot-staging/java-asset/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,37 +26,33 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -92,15 +69,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
@@ -109,15 +85,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 { @@ -126,12 +103,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { } public static final int TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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
@@ -139,7 +113,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -148,15 +121,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
@@ -164,15 +136,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 { @@ -183,8 +156,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_ = false; /** - * - * *
    * 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
@@ -193,7 +164,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -204,8 +174,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.
@@ -225,7 +193,6 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -233,8 +200,6 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -254,18 +219,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.
@@ -288,16 +248,12 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecOrBuilder() {
-    return partitionSpec_ == null
-        ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()
-        : partitionSpec_;
+    return partitionSpec_ == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_;
   }
 
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_ = false;
   /**
-   *
-   *
    * 
    * 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
@@ -326,7 +282,6 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
    * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -335,7 +290,6 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +301,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -379,13 +334,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -395,22 +353,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -427,148 +389,144 @@ 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) + getUnknownFields().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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -586,9 +544,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 @@ -607,11 +565,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p7beta1.BigQueryDestination result = new com.google.cloud.asset.v1p7beta1.BigQueryDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -628,8 +583,9 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.BigQueryDestination result.force_ = force_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.partitionSpec_ = - partitionSpecBuilder_ == null ? partitionSpec_ : partitionSpecBuilder_.build(); + result.partitionSpec_ = partitionSpecBuilder_ == null + ? partitionSpec_ + : partitionSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.separateTablesPerAssetType_ = separateTablesPerAssetType_; @@ -640,39 +596,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.BigQueryDestination public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -680,8 +635,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_; bitField0_ |= 0x00000001; @@ -727,43 +681,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - force_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - input.readMessage(getPartitionSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - separateTablesPerAssetType_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + force_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getPartitionSpecFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + separateTablesPerAssetType_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -773,13 +723,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dataset_ = ""; /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -788,13 +735,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; @@ -803,8 +750,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -813,14 +758,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 { @@ -828,8 +774,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -838,22 +782,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDataset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -862,7 +802,6 @@ public Builder setDataset(java.lang.String value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { @@ -872,8 +811,6 @@ public Builder clearDataset() { return this; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -882,14 +819,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -899,8 +834,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
@@ -908,13 +841,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; @@ -923,8 +856,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
@@ -932,14 +863,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 { @@ -947,8 +879,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
@@ -956,22 +886,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000002; 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
@@ -979,7 +905,6 @@ public Builder setTable(java.lang.String value) {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -989,8 +914,6 @@ public Builder clearTable() { 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
@@ -998,14 +921,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000002; @@ -1013,10 +934,8 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { 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
@@ -1025,7 +944,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -1033,8 +951,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
@@ -1043,20 +959,17 @@ public boolean getForce() {
      * 
* * bool force = 3; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; bitField0_ |= 0x00000004; 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
@@ -1065,7 +978,6 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -1077,13 +989,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.
@@ -1103,15 +1010,12 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1131,21 +1035,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.
@@ -1180,8 +1079,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.
@@ -1214,8 +1111,6 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1238,10 +1133,9 @@ public Builder setPartitionSpec(
      */
     public Builder mergePartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec value) {
       if (partitionSpecBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && partitionSpec_ != null
-            && partitionSpec_
-                != com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          partitionSpec_ != null &&
+          partitionSpec_ != com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()) {
           getPartitionSpecBuilder().mergeFrom(value);
         } else {
           partitionSpec_ = value;
@@ -1254,8 +1148,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.
@@ -1287,8 +1179,6 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1315,8 +1205,6 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder getPartitionSpecBu
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1341,14 +1229,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.
@@ -1370,26 +1255,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
@@ -1418,7 +1298,6 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1426,8 +1305,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
@@ -1456,20 +1333,17 @@ 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; bitField0_ |= 0x00000010; 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
@@ -1498,7 +1372,6 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { @@ -1507,9 +1380,9 @@ public Builder clearSeparateTablesPerAssetType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1519,12 +1392,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(); } @@ -1533,27 +1406,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1568,4 +1441,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java similarity index 89% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java index f388d517d2fa..40da134d5f87 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java index ff9d6520da6f..c385409d6341 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java +++ b/owl-bot-staging/java-asset/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 organization policy set on an asset.
    * 
@@ -69,8 +45,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ORG_POLICY(4), /** - * - * *
    * The 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 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 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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java similarity index 78% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java index 8937b27633e1..1e7c4f9d1196 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java +++ b/owl-bot-staging/java-asset/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,37 +28,33 @@ 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; } - - 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; - @SuppressWarnings("serial") 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
@@ -84,10 +62,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 @@ -96,15 +71,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
@@ -112,18 +86,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 { @@ -134,8 +107,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).
@@ -145,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -153,8 +123,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).
@@ -164,7 +132,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -172,8 +139,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).
@@ -190,12 +155,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -214,15 +176,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".
@@ -241,15 +201,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".
@@ -268,7 +225,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. */ @@ -276,8 +232,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".
@@ -296,65 +250,51 @@ 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_ = 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; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { - com.google.cloud.asset.v1p7beta1.ContentType result = - com.google.cloud.asset.v1p7beta1.ContentType.forNumber(contentType_); + @java.lang.Override public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { + com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.forNumber(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 @@ -362,51 +302,35 @@ 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() { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") 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
@@ -421,15 +345,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
@@ -444,15 +366,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
@@ -467,7 +386,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. */ @@ -475,8 +393,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
@@ -491,16 +407,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; @@ -512,7 +427,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -522,8 +438,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) { @@ -545,7 +460,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; @@ -555,12 +471,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; @@ -578,26 +495,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -635,135 +556,129 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -788,9 +703,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 @@ -809,18 +724,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -839,14 +750,17 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.outputConfig_ = - outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); + result.outputConfig_ = outputConfigBuilder_ == null + ? outputConfig_ + : outputConfigBuilder_.build(); } } @@ -854,39 +768,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -894,8 +807,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_; bitField0_ |= 0x00000001; @@ -956,51 +868,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: - { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getOutputConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1010,13 +919,10 @@ public Builder mergeFrom( } // finally 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
@@ -1024,16 +930,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; @@ -1042,8 +946,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
@@ -1051,17 +953,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 { @@ -1069,8 +970,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
@@ -1078,25 +977,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1104,10 +997,7 @@ 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() { @@ -1117,8 +1007,6 @@ public Builder clearParent() { 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
@@ -1126,17 +1014,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1146,13 +1030,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).
@@ -1162,15 +1041,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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).
@@ -1180,7 +1056,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1191,8 +1066,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).
@@ -1217,8 +1090,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).
@@ -1229,7 +1100,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();
       } else {
@@ -1240,8 +1112,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).
@@ -1254,9 +1124,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1269,8 +1139,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).
@@ -1292,8 +1160,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).
@@ -1310,8 +1176,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1326,12 +1190,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).
@@ -1343,34 +1206,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1389,15 +1245,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".
@@ -1416,15 +1270,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".
@@ -1443,7 +1294,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. */ @@ -1451,8 +1301,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".
@@ -1471,16 +1319,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".
@@ -1499,23 +1345,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypes( + int index, java.lang.String value) { + if (value == null) { 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".
@@ -1534,22 +1376,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypes( + java.lang.String value) { + if (value == null) { 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".
@@ -1568,19 +1406,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".
@@ -1599,7 +1436,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1609,8 +1445,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1629,14 +1463,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1646,31 +1478,24 @@ 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. */ @@ -1681,33 +1506,26 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1p7beta1.ContentType result = - com.google.cloud.asset.v1p7beta1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.forNumber(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. */ @@ -1721,15 +1539,12 @@ public Builder setContentType(com.google.cloud.asset.v1p7beta1.ContentType value 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() { @@ -1741,61 +1556,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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) { @@ -1811,16 +1607,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) { @@ -1834,23 +1626,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 (((bitField0_ & 0x00000010) != 0) - && outputConfig_ != null - && outputConfig_ - != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + outputConfig_ != null && + outputConfig_ != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -1863,16 +1650,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1885,16 +1668,12 @@ 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() { bitField0_ |= 0x00000010; @@ -1902,67 +1681,51 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuil 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_ & 0x00000020) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1977,15 +1740,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
@@ -2000,15 +1761,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
@@ -2023,7 +1781,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. */ @@ -2031,8 +1788,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
@@ -2047,16 +1802,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
@@ -2071,23 +1824,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRelationshipTypes( + int index, java.lang.String value) { + if (value == null) { 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
@@ -2102,22 +1851,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypes( + java.lang.String value) { + if (value == null) { 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
@@ -2132,19 +1877,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
@@ -2159,7 +1903,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 6; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2169,8 +1912,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
@@ -2185,23 +1926,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -2211,12 +1950,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(); } @@ -2225,27 +1964,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2260,4 +1999,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java similarity index 86% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java index 909201e7a98f..068316c46c0b 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java index 71917cea235c..7c2afed7a837 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java +++ b/owl-bot-staging/java-asset/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,55 +14,51 @@
  *
  * 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;
   }
-
-  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 @@ -87,14 +66,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -102,8 +78,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -118,14 +92,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 @@ -133,25 +104,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.
    * 
@@ -160,16 +124,12 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } 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 Cloud Storage object URIs where the assets are
@@ -179,7 +139,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 @@ -187,8 +146,6 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Cloud Storage object URIs where the assets are
@@ -198,18 +155,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 Cloud Storage object URIs where the assets are
@@ -222,13 +174,10 @@ public com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrBuilder() {
-    return outputResult_ == null
-        ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()
-        : outputResult_;
+    return outputResult_ == null ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -240,7 +189,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -260,13 +210,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -276,25 +229,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -325,104 +280,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]
@@ -433,32 +380,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -482,9 +430,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
@@ -503,11 +451,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result = new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -515,15 +460,19 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.outputConfig_ =
-            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
+        result.outputConfig_ = outputConfigBuilder_ == null
+            ? outputConfig_
+            : outputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.outputResult_ =
-            outputResultBuilder_ == null ? outputResult_ : outputResultBuilder_.build();
+        result.outputResult_ = outputResultBuilder_ == null
+            ? outputResult_
+            : outputResultBuilder_.build();
       }
     }
 
@@ -531,39 +480,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -571,8 +519,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());
       }
@@ -608,31 +555,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getOutputResultFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOutputConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getOutputResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -642,38 +591,28 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -684,8 +623,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -706,15 +643,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(); } else { @@ -725,8 +661,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -735,9 +669,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -750,8 +684,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -769,8 +701,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -783,8 +713,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -795,12 +723,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.
      * 
@@ -808,17 +735,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_; @@ -826,47 +750,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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.
      * 
@@ -887,8 +798,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -907,8 +816,6 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -917,10 +824,9 @@ public Builder setOutputConfig( */ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && outputConfig_ != null - && outputConfig_ - != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + outputConfig_ != null && + outputConfig_ != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -933,8 +839,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -952,8 +856,6 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -966,8 +868,6 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuil return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -978,14 +878,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.
      * 
@@ -993,17 +890,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_; @@ -1011,13 +905,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 Cloud Storage object URIs where the assets are
@@ -1027,15 +916,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -1045,21 +931,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 Cloud Storage object URIs where the assets are
@@ -1084,8 +965,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 Cloud Storage object URIs where the assets are
@@ -1108,8 +987,6 @@ public Builder setOutputResult(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -1122,10 +999,9 @@ public Builder setOutputResult(
      */
     public Builder mergeOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult value) {
       if (outputResultBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && outputResult_ != null
-            && outputResult_
-                != com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          outputResult_ != null &&
+          outputResult_ != com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()) {
           getOutputResultBuilder().mergeFrom(value);
         } else {
           outputResult_ = value;
@@ -1138,8 +1014,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 Cloud Storage object URIs where the assets are
@@ -1161,8 +1035,6 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -1179,8 +1051,6 @@ public com.google.cloud.asset.v1p7beta1.OutputResult.Builder getOutputResultBuil
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -1195,14 +1065,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 Cloud Storage object URIs where the assets are
@@ -1214,24 +1081,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);
     }
 
@@ -1241,12 +1105,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();
   }
@@ -1255,27 +1119,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExportAssetsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1290,4 +1154,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
index cab5f29133c8..d2858c9e0e3d 100644
--- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
+++ b/owl-bot-staging/java-asset/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 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 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 Cloud Storage object URIs where the assets are
diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
similarity index 74%
rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
index 5a5168ef6ae6..e4d0dd257542 100644
--- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
+++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
@@ -1,82 +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/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; } - - 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; } @@ -92,30 +71,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
@@ -125,15 +99,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
@@ -143,7 +114,6 @@ public boolean hasUri() {
    * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { @@ -154,7 +124,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; @@ -163,8 +134,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
@@ -174,17 +143,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; } @@ -196,8 +166,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:
@@ -211,15 +179,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:
@@ -233,7 +198,6 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -244,7 +208,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; @@ -253,8 +218,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:
@@ -268,17 +231,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; } @@ -289,7 +253,6 @@ public com.google.protobuf.ByteString getUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +264,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -331,21 +295,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: @@ -378,136 +343,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -518,9 +477,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 @@ -539,11 +498,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p7beta1.GcsDestination result = new com.google.cloud.asset.v1p7beta1.GcsDestination(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -562,39 +518,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.GcsDestination public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -602,27 +557,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.getUnknownFields()); onChanged(); @@ -650,27 +601,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,12 +628,12 @@ public Builder mergeFrom( } // finally 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() { @@ -698,8 +646,6 @@ public Builder clearObjectUri() { private int bitField0_; /** - * - * *
      * 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
@@ -709,7 +655,6 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; - * * @return Whether the uri field is set. */ @java.lang.Override @@ -717,8 +662,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
@@ -728,7 +671,6 @@ public boolean hasUri() {
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -738,7 +680,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; @@ -749,8 +692,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
@@ -760,18 +701,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; } @@ -781,8 +723,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
@@ -792,22 +732,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUri( + java.lang.String value) { + if (value == null) { 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
@@ -817,7 +753,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -829,8 +764,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
@@ -840,14 +773,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); objectUriCase_ = 1; objectUri_ = value; @@ -856,8 +787,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:
@@ -871,7 +800,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -879,8 +807,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:
@@ -894,7 +820,6 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ @java.lang.Override @@ -904,7 +829,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; @@ -915,8 +841,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:
@@ -930,18 +854,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; } @@ -951,8 +876,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:
@@ -966,22 +889,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriPrefix( + java.lang.String value) { + if (value == null) { 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:
@@ -995,7 +914,6 @@ public Builder setUriPrefix(java.lang.String value) {
      * 
* * string uri_prefix = 2; - * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -1007,8 +925,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:
@@ -1022,23 +938,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -1048,12 +962,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(); } @@ -1062,27 +976,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +1011,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java similarity index 82% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java index d80027fc32b2..6bd5a0e0584c 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java similarity index 67% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java index 57505b1ab320..fe3ebadc415d 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java +++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java @@ -1,116 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License 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; } - - 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; - @SuppressWarnings("serial") 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. */ @@ -118,24 +90,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; @@ -147,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -176,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +175,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +309,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 @@ -366,18 +330,14 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.asset.v1p7beta1.GcsOutputResult result) { + private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.GcsOutputResult result) { if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -393,39 +353,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.GcsOutputResult resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -433,8 +392,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_; @@ -471,20 +429,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,58 +450,47 @@ public Builder mergeFrom( } // finally 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. */ @@ -553,95 +498,81 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUris( + int index, java.lang.String value) { + if (value == null) { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUris( + java.lang.String value) { + if (value == null) { 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() { @@ -651,31 +582,27 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -685,12 +612,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(); } @@ -699,27 +626,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -734,4 +661,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java similarity index 62% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java index ed53d70af72e..e88169e7d6f1 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java index f3fb8ffa0117..4cb7d65733ee 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java +++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java @@ -1,82 +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/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; } - - 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; } @@ -92,36 +71,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 @@ -129,26 +102,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.
    * 
@@ -158,22 +126,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 @@ -181,27 +146,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.
@@ -210,16 +170,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;
@@ -231,7 +189,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -248,14 +207,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -265,21 +222,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:
@@ -312,136 +270,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -458,9 +410,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 @@ -479,11 +431,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p7beta1.OutputConfig result = new com.google.cloud.asset.v1p7beta1.OutputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -496,10 +445,12 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.OutputConfig result) private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && + gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } - if (destinationCase_ == 2 && bigqueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && + bigqueryDestinationBuilder_ != null) { result.destination_ = bigqueryDestinationBuilder_.build(); } } @@ -508,39 +459,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -550,20 +500,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.getUnknownFields()); onChanged(); @@ -591,26 +538,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,12 +567,12 @@ public Builder mergeFrom( } // finally 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() { @@ -638,19 +585,13 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -658,14 +599,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 @@ -683,8 +621,6 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -705,8 +641,6 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -725,8 +659,6 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -735,14 +667,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; } @@ -758,8 +686,6 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestinati return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -783,8 +709,6 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -795,8 +719,6 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -815,8 +737,6 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -824,19 +744,14 @@ 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()); @@ -848,20 +763,14 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } 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 @@ -869,15 +778,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 @@ -895,8 +801,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.
@@ -904,8 +808,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();
@@ -919,8 +822,6 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -940,8 +841,6 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -949,17 +848,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;
         }
@@ -975,8 +869,6 @@ public Builder mergeBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1001,8 +893,6 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1010,13 +900,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.
@@ -1025,8 +912,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 {
@@ -1037,8 +923,6 @@ public Builder clearBigqueryDestination() {
       }
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1047,19 +931,14 @@ 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());
@@ -1069,9 +948,9 @@ public Builder clearBigqueryDestination() {
       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);
     }
 
@@ -1081,12 +960,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();
   }
@@ -1095,27 +974,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OutputConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1130,4 +1009,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
similarity index 75%
rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
index 36a0629db410..0e59d14707ee 100644
--- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
+++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
similarity index 67%
rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
index 87b61705fc99..4ecd35be4173 100644
--- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
+++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
@@ -1,81 +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/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; } - - 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; } @@ -91,34 +70,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 @@ -126,26 +100,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.
    * 
@@ -155,13 +124,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; @@ -173,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resultCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); } @@ -187,9 +156,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,18 +167,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: @@ -239,136 +207,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +344,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 @@ -403,11 +365,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p7beta1.OutputResult result = new com.google.cloud.asset.v1p7beta1.OutputResult(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -420,7 +379,8 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.OutputResult result) private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputResult result) { result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 1 && gcsResultBuilder_ != null) { + if (resultCase_ == 1 && + gcsResultBuilder_ != null) { result.result_ = gcsResultBuilder_.build(); } } @@ -429,39 +389,38 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputResult re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -471,15 +430,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.getUnknownFields()); onChanged(); @@ -507,19 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsResultFieldBuilder().getBuilder(), extensionRegistry); - resultCase_ = 1; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsResultFieldBuilder().getBuilder(), + extensionRegistry); + resultCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -529,12 +486,12 @@ public Builder mergeFrom( } // finally 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() { @@ -547,19 +504,13 @@ public Builder clearResult() { private int bitField0_; 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 @@ -567,14 +518,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 @@ -592,8 +540,6 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -614,8 +560,6 @@ public Builder setGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult val return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -634,8 +578,6 @@ public Builder setGcsResult( return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -644,13 +586,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; } @@ -666,8 +605,6 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult v return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -691,8 +628,6 @@ public Builder clearGcsResult() { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -703,8 +638,6 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder getGcsResultBuil return getGcsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -723,8 +656,6 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -732,19 +663,14 @@ 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()); @@ -754,9 +680,9 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB 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); } @@ -766,12 +692,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(); } @@ -780,27 +706,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java similarity index 61% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java index ac917385440d..84f878583beb 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java similarity index 68% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java index 0579f70d7e1b..1531ef2eebef 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java +++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java @@ -1,75 +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; /** - * - * *
  * 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; } - - 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
@@ -80,10 +59,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.
      * 
@@ -92,8 +70,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,
@@ -106,8 +82,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
@@ -122,8 +96,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -132,8 +104,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,
@@ -146,8 +116,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
@@ -159,6 +127,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(
@@ -183,49 +152,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;
@@ -245,42 +214,30 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   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; - * * @return The partitionKey. */ - @java.lang.Override - public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.forNumber(partitionKey_); - return result == null - ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.forNumber(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; @@ -292,10 +249,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_); } getUnknownFields().writeTo(output); @@ -307,10 +263,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,13 +275,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -347,136 +301,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +434,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 @@ -507,11 +455,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p7beta1.PartitionSpec result = new com.google.cloud.asset.v1p7beta1.PartitionSpec(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -527,39 +472,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.PartitionSpec result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -597,19 +541,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - partitionKey_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + partitionKey_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -619,34 +561,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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. */ @@ -657,38 +591,28 @@ public Builder setPartitionKeyValue(int value) { 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() { - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.forNumber(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.forNumber(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(); } @@ -698,14 +622,11 @@ public Builder setPartitionKey( 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() { @@ -714,9 +635,9 @@ public Builder clearPartitionKey() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -726,12 +647,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(); } @@ -740,27 +661,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -775,4 +696,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java similarity index 56% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java index 80414f9af8bd..0de671bc2e18 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java index c318107fa3cf..105d6a201585 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java +++ b/owl-bot-staging/java-asset/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,37 +34,33 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object asset_ = "";
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -92,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ @java.lang.Override @@ -101,15 +78,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`
@@ -119,15 +95,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 { @@ -136,12 +113,9 @@ public com.google.protobuf.ByteString getAssetBytes() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -150,7 +124,6 @@ public com.google.protobuf.ByteString getAssetBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -159,15 +132,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
@@ -176,15 +148,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 { @@ -193,12 +166,9 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } public static final int ANCESTORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") 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),
@@ -208,15 +178,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),
@@ -226,15 +194,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),
@@ -244,7 +209,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -252,8 +216,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),
@@ -263,16 +225,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; @@ -284,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -325,17 +287,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,104 +324,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
@@ -471,32 +428,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -509,9 +467,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
@@ -530,12 +488,9 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -562,39 +517,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelatedAsset result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -649,32 +603,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                asset_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                assetType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAncestorsIsMutable();
-                ancestors_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              asset_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              assetType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAncestorsIsMutable();
+              ancestors_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -684,13 +634,10 @@ public Builder mergeFrom(
       } // finally
       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`
@@ -700,13 +647,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; @@ -715,8 +662,6 @@ public java.lang.String getAsset() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -726,14 +671,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 { @@ -741,8 +687,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`
@@ -752,22 +696,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsset( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -777,7 +717,6 @@ public Builder setAsset(java.lang.String value) {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAsset() { @@ -787,8 +726,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -798,14 +735,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000001; @@ -815,8 +750,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
@@ -825,13 +758,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; @@ -840,8 +773,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -850,14 +781,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 { @@ -865,8 +797,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -875,22 +805,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -899,7 +825,6 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -909,8 +834,6 @@ public Builder clearAssetType() { return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -919,14 +842,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -934,18 +855,14 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { 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_ & 0x00000004) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -955,15 +872,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),
@@ -973,15 +888,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),
@@ -991,7 +903,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -999,8 +910,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),
@@ -1010,16 +919,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),
@@ -1029,23 +936,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestors( + int index, java.lang.String value) { + if (value == null) { 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),
@@ -1055,22 +958,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestors( + java.lang.String value) { + if (value == null) { 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),
@@ -1080,19 +979,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),
@@ -1102,7 +1000,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 3; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1112,8 +1009,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),
@@ -1123,23 +1018,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { 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); } @@ -1149,12 +1042,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(); } @@ -1163,27 +1056,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,4 +1091,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java similarity index 80% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java index 8e4a2d70e655..584ef775ccf2 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java similarity index 69% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java index 3d396feb1d67..2f2ac431b783 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java +++ b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - - 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 @@ -85,25 +63,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.
    * 
@@ -111,20 +82,14 @@ 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() { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { + return relationshipAttributes_ == null ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } public static final int ASSETS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List assets_; /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -136,8 +101,6 @@ public java.util.List getAssetsLi return assets_; } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -145,13 +108,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.
    * 
@@ -163,8 +124,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -176,8 +135,6 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -185,12 +142,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; @@ -202,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 (relationshipAttributes_ != null) { output.writeMessage(1, getRelationshipAttributes()); } @@ -219,11 +177,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -233,19 +192,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +230,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +374,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 @@ -441,12 +395,9 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -466,10 +417,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.Related private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelatedAssets result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.relationshipAttributes_ = - relationshipAttributesBuilder_ == null - ? relationshipAttributes_ - : relationshipAttributesBuilder_.build(); + result.relationshipAttributes_ = relationshipAttributesBuilder_ == null + ? relationshipAttributes_ + : relationshipAttributesBuilder_.build(); } } @@ -477,39 +427,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelatedAssets result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -539,10 +488,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.RelatedAssets other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000002); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -574,33 +522,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getRelationshipAttributesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.asset.v1p7beta1.RelatedAsset m = - input.readMessage( - com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRelationshipAttributesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.asset.v1p7beta1.RelatedAsset m = + input.readMessage( + com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), + extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,63 +557,45 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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(); @@ -680,14 +609,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) { @@ -701,22 +627,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 (((bitField0_ & 0x00000001) != 0) - && relationshipAttributes_ != null - && relationshipAttributes_ - != com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + relationshipAttributes_ != null && + relationshipAttributes_ != com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance()) { getRelationshipAttributesBuilder().mergeFrom(value); } else { relationshipAttributes_ = value; @@ -729,14 +650,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -749,87 +667,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() { bitField0_ |= 0x00000001; 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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -844,8 +741,6 @@ public java.util.List getAssetsLi } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -860,8 +755,6 @@ public int getAssetsCount() { } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -876,15 +769,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(); @@ -898,8 +790,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsse return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -918,8 +808,6 @@ public Builder setAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -940,15 +828,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(); @@ -962,8 +849,6 @@ public Builder addAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsse return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -982,8 +867,6 @@ public Builder addAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1002,8 +885,6 @@ public Builder addAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1014,7 +895,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); @@ -1022,8 +904,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1041,8 +921,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1060,44 +938,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 { @@ -1105,8 +978,6 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1114,55 +985,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_ & 0x00000002) != 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_ & 0x00000002) != 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); } @@ -1172,12 +1037,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(); } @@ -1186,27 +1051,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1221,4 +1086,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java similarity index 72% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java index a3ac416cd3fc..209d5d21f46a 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java similarity index 70% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java index 2f2d96507fea..8a4e6797dc86 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java +++ b/owl-bot-staging/java-asset/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,44 +29,39 @@ 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;
   }
-
-  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;
-
   @SuppressWarnings("serial")
   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 @@ -93,30 +70,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 { @@ -125,18 +102,14 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") 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 @@ -145,29 +118,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 { @@ -176,18 +149,14 @@ public com.google.protobuf.ByteString getSourceResourceTypeBytes() { } public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") 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 @@ -196,29 +165,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 { @@ -227,18 +196,14 @@ public com.google.protobuf.ByteString getTargetResourceTypeBytes() { } public static final int ACTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The action. */ @java.lang.Override @@ -247,29 +212,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 { @@ -278,7 +243,6 @@ public com.google.protobuf.ByteString getActionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceResourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceResourceType_); } @@ -332,18 +297,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,104 +337,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`.
@@ -474,32 +434,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -512,9 +473,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
@@ -533,11 +494,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.asset.v1p7beta1.RelationshipAttributes result = new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -562,39 +520,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelationshipAttribut
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -602,8 +559,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_;
         bitField0_ |= 0x00000001;
@@ -650,37 +606,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                sourceResourceType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                targetResourceType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                action_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 34:
-              {
-                type_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              sourceResourceType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              targetResourceType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              action_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 34: {
+              type_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -690,26 +641,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     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; @@ -718,22 +666,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 { @@ -741,37 +688,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000001; 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() { @@ -781,22 +721,18 @@ public Builder clearType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; @@ -806,20 +742,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; @@ -828,21 +762,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 { @@ -850,35 +783,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceResourceType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceResourceType_ = value; bitField0_ |= 0x00000002; 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() { @@ -888,21 +814,17 @@ public Builder clearSourceResourceType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceResourceTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceResourceType_ = value; bitField0_ |= 0x00000002; @@ -912,20 +834,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; @@ -934,21 +854,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 { @@ -956,35 +875,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetResourceType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } targetResourceType_ = value; bitField0_ |= 0x00000004; 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() { @@ -994,21 +906,17 @@ public Builder clearTargetResourceType() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetResourceTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetResourceType_ = value; bitField0_ |= 0x00000004; @@ -1018,20 +926,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; @@ -1040,21 +946,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 { @@ -1062,35 +967,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -1100,30 +998,26 @@ public Builder clearAction() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1133,12 +1027,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(); } @@ -1147,27 +1041,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,4 +1076,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java similarity index 66% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java index 8df443f22816..1f2a45eb68e5 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java similarity index 75% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java index 47ba019d73b5..88446e3eae4e 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java +++ b/owl-bot-staging/java-asset/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,43 +30,38 @@ 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; } - - 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; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -93,29 +70,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 { @@ -124,12 +101,9 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -139,7 +113,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -148,15 +121,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:
@@ -166,15 +138,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 { @@ -183,12 +156,9 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object discoveryName_ = ""; /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -197,7 +167,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -206,15 +175,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`
@@ -223,15 +191,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 { @@ -240,12 +209,9 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") 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:
@@ -254,7 +220,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -263,15 +228,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:
@@ -280,15 +244,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 { @@ -297,12 +262,9 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } public static final int PARENT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -326,15 +287,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
@@ -349,15 +309,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 { @@ -368,15 +329,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 @@ -384,15 +342,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 @@ -400,8 +355,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.
@@ -415,19 +368,15 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   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 @@ -436,30 +385,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 { @@ -468,7 +417,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -480,7 +428,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -527,7 +476,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_); @@ -540,24 +490,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -590,136 +546,130 @@ 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() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -739,9 +689,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 @@ -760,11 +710,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.asset.v1p7beta1.Resource result = new com.google.cloud.asset.v1p7beta1.Resource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -787,7 +734,9 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); + result.data_ = dataBuilder_ == null + ? data_ + : dataBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.location_ = location_; @@ -798,39 +747,38 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Resource result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -898,55 +846,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 66: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getDataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -956,25 +898,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -983,21 +922,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 { @@ -1005,35 +943,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1043,21 +974,17 @@ public Builder clearVersion() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1067,8 +994,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:
@@ -1078,13 +1003,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; @@ -1093,8 +1018,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1104,14 +1027,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 { @@ -1119,8 +1043,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1130,22 +1052,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1155,7 +1073,6 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1165,8 +1082,6 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1176,14 +1091,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1193,8 +1106,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`
@@ -1203,13 +1114,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; @@ -1218,8 +1129,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1228,14 +1137,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 { @@ -1243,8 +1153,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1253,22 +1161,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1277,7 +1181,6 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1287,8 +1190,6 @@ public Builder clearDiscoveryName() { return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1297,14 +1198,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1314,8 +1213,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:
@@ -1324,13 +1221,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; @@ -1339,8 +1236,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:
@@ -1349,14 +1244,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 { @@ -1364,8 +1260,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:
@@ -1374,22 +1268,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1398,7 +1288,6 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1408,8 +1297,6 @@ public Builder clearResourceUrl() { return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1418,14 +1305,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1435,8 +1320,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
@@ -1451,13 +1334,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; @@ -1466,8 +1349,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1482,14 +1363,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 { @@ -1497,8 +1379,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1513,22 +1393,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1543,7 +1419,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1553,8 +1428,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1569,14 +1442,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1586,35 +1457,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 ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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() { @@ -1625,8 +1487,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1648,8 +1508,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.
@@ -1657,7 +1515,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();
       } else {
@@ -1668,8 +1527,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.
@@ -1679,9 +1536,9 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && data_ != null
-            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          data_ != null &&
+          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1694,8 +1551,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.
@@ -1714,8 +1569,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1729,8 +1582,6 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1742,12 +1593,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.
@@ -1756,16 +1606,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_;
@@ -1773,21 +1621,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; @@ -1796,22 +1642,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 { @@ -1819,37 +1664,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; 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() { @@ -1859,31 +1697,27 @@ public Builder clearLocation() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1893,12 +1727,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(); } @@ -1907,27 +1741,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1942,4 +1776,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java similarity index 82% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java index 698c2d7a74ac..6c78907e77e5 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java +++ b/owl-bot-staging/java-asset/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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto similarity index 100% rename from java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto rename to owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java b/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java similarity index 100% rename from java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java rename to owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java From c605199ddd3b5bbf35df49f7ca0ac11de029e036 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 1 Apr 2023 00:06: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 | 0 .../cloud/asset/v1/AssetServiceSettings.java | 1 - .../google/cloud/asset/v1/gapic_metadata.json | 0 .../google/cloud/asset/v1/package-info.java | 0 .../cloud/asset/v1/stub/AssetServiceStub.java | 0 .../v1/stub/AssetServiceStubSettings.java | 0 .../stub/GrpcAssetServiceCallableFactory.java | 0 .../asset/v1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../v1/stub/HttpJsonAssetServiceStub.java | 1 - .../asset/v1p1beta1/AssetServiceClient.java | 0 .../asset/v1p1beta1/AssetServiceSettings.java | 1 - .../cloud/asset/v1p1beta1/gapic_metadata.json | 0 .../cloud/asset/v1p1beta1/package-info.java | 0 .../v1p1beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p1beta1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../asset/v1p2beta1/AssetServiceClient.java | 0 .../asset/v1p2beta1/AssetServiceSettings.java | 1 - .../cloud/asset/v1p2beta1/gapic_metadata.json | 0 .../cloud/asset/v1p2beta1/package-info.java | 0 .../v1p2beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p2beta1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../asset/v1p5beta1/AssetServiceClient.java | 0 .../asset/v1p5beta1/AssetServiceSettings.java | 1 - .../cloud/asset/v1p5beta1/gapic_metadata.json | 0 .../cloud/asset/v1p5beta1/package-info.java | 0 .../v1p5beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p5beta1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../asset/v1p7beta1/AssetServiceClient.java | 0 .../asset/v1p7beta1/AssetServiceSettings.java | 1 - .../cloud/asset/v1p7beta1/gapic_metadata.json | 0 .../cloud/asset/v1p7beta1/package-info.java | 0 .../v1p7beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 0 .../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 .../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 | 3201 ++++++++++++ .../asset/v1p1beta1/AssetServiceGrpc.java | 328 +- .../asset/v1p2beta1/AssetServiceGrpc.java | 814 +++ .../asset/v1p5beta1/AssetServiceGrpc.java | 211 +- .../asset/v1p7beta1/AssetServiceGrpc.java | 203 +- .../AnalyzeIamPolicyLongrunningMetadata.java | 407 +- ...IamPolicyLongrunningMetadataOrBuilder.java | 35 +- .../AnalyzeIamPolicyLongrunningRequest.java | 641 ++- ...eIamPolicyLongrunningRequestOrBuilder.java | 67 +- .../AnalyzeIamPolicyLongrunningResponse.java | 265 +- ...IamPolicyLongrunningResponseOrBuilder.java | 24 + .../asset/v1/AnalyzeIamPolicyRequest.java | 616 ++- .../v1/AnalyzeIamPolicyRequestOrBuilder.java | 67 +- .../asset/v1/AnalyzeIamPolicyResponse.java | 1549 ++++-- .../v1/AnalyzeIamPolicyResponseOrBuilder.java | 83 +- .../cloud/asset/v1/AnalyzeMoveRequest.java | 522 +- .../asset/v1/AnalyzeMoveRequestOrBuilder.java | 42 +- .../cloud/asset/v1/AnalyzeMoveResponse.java | 407 +- .../v1/AnalyzeMoveResponseOrBuilder.java | 36 +- .../asset/v1/AnalyzeOrgPoliciesRequest.java | 580 ++- .../AnalyzeOrgPoliciesRequestOrBuilder.java | 60 +- .../asset/v1/AnalyzeOrgPoliciesResponse.java | 1269 +++-- .../AnalyzeOrgPoliciesResponseOrBuilder.java | 77 +- ...AnalyzeOrgPolicyGovernedAssetsRequest.java | 610 ++- ...gPolicyGovernedAssetsRequestOrBuilder.java | 60 +- ...nalyzeOrgPolicyGovernedAssetsResponse.java | 3548 ++++++++----- ...PolicyGovernedAssetsResponseOrBuilder.java | 79 +- ...yzeOrgPolicyGovernedContainersRequest.java | 622 ++- ...icyGovernedContainersRequestOrBuilder.java | 60 +- ...zeOrgPolicyGovernedContainersResponse.java | 1609 ++++-- ...cyGovernedContainersResponseOrBuilder.java | 80 +- .../cloud/asset/v1/AnalyzerOrgPolicy.java | 1807 ++++--- .../asset/v1/AnalyzerOrgPolicyConstraint.java | 4039 ++++++++++----- .../AnalyzerOrgPolicyConstraintOrBuilder.java | 112 + .../asset/v1/AnalyzerOrgPolicyOrBuilder.java | 60 +- .../java/com/google/cloud/asset/v1/Asset.java | 1619 ++++-- .../google/cloud/asset/v1/AssetOrBuilder.java | 164 +- .../com/google/cloud/asset/v1/AssetProto.java | 620 +++ .../cloud/asset/v1/AssetServiceProto.java | 1670 ++++++ .../cloud/asset/v1/AttachedResource.java | 455 +- .../asset/v1/AttachedResourceOrBuilder.java | 45 +- .../v1/BatchGetAssetsHistoryRequest.java | 818 +-- ...BatchGetAssetsHistoryRequestOrBuilder.java | 105 +- .../v1/BatchGetAssetsHistoryResponse.java | 416 +- ...atchGetAssetsHistoryResponseOrBuilder.java | 36 +- .../BatchGetEffectiveIamPoliciesRequest.java | 526 +- ...tEffectiveIamPoliciesRequestOrBuilder.java | 69 +- .../BatchGetEffectiveIamPoliciesResponse.java | 1991 +++++--- ...EffectiveIamPoliciesResponseOrBuilder.java | 62 +- .../cloud/asset/v1/BigQueryDestination.java | 557 +- .../v1/BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1/ConditionEvaluation.java | 386 +- .../v1/ConditionEvaluationOrBuilder.java | 24 +- .../google/cloud/asset/v1/ContentType.java | 110 +- .../cloud/asset/v1/CreateFeedRequest.java | 473 +- .../asset/v1/CreateFeedRequestOrBuilder.java | 44 +- .../asset/v1/CreateSavedQueryRequest.java | 570 ++- .../v1/CreateSavedQueryRequestOrBuilder.java | 64 +- .../cloud/asset/v1/DeleteFeedRequest.java | 350 +- .../asset/v1/DeleteFeedRequestOrBuilder.java | 60 + .../asset/v1/DeleteSavedQueryRequest.java | 353 +- .../v1/DeleteSavedQueryRequestOrBuilder.java | 35 +- .../cloud/asset/v1/ExportAssetsRequest.java | 833 +-- .../v1/ExportAssetsRequestOrBuilder.java | 105 +- .../cloud/asset/v1/ExportAssetsResponse.java | 528 +- .../v1/ExportAssetsResponseOrBuilder.java | 42 +- .../java/com/google/cloud/asset/v1/Feed.java | 886 ++-- .../com/google/cloud/asset/v1/FeedName.java | 0 .../google/cloud/asset/v1/FeedOrBuilder.java | 115 +- .../cloud/asset/v1/FeedOutputConfig.java | 377 +- .../asset/v1/FeedOutputConfigOrBuilder.java | 26 +- .../com/google/cloud/asset/v1/FolderName.java | 0 .../google/cloud/asset/v1/GcsDestination.java | 468 +- .../asset/v1/GcsDestinationOrBuilder.java | 42 +- .../cloud/asset/v1/GcsOutputResult.java | 347 +- .../asset/v1/GcsOutputResultOrBuilder.java | 36 +- .../google/cloud/asset/v1/GetFeedRequest.java | 343 +- .../asset/v1/GetFeedRequestOrBuilder.java | 60 + .../cloud/asset/v1/GetSavedQueryRequest.java | 346 +- .../v1/GetSavedQueryRequestOrBuilder.java | 60 + .../v1/IamPolicyAnalysisOutputConfig.java | 1843 ++++--- ...amPolicyAnalysisOutputConfigOrBuilder.java | 67 +- .../asset/v1/IamPolicyAnalysisQuery.java | 3260 +++++++----- .../v1/IamPolicyAnalysisQueryOrBuilder.java | 139 +- .../asset/v1/IamPolicyAnalysisResult.java | 4473 +++++++++++------ .../v1/IamPolicyAnalysisResultOrBuilder.java | 91 +- .../asset/v1/IamPolicyAnalysisState.java | 369 +- .../v1/IamPolicyAnalysisStateOrBuilder.java | 33 +- .../cloud/asset/v1/IamPolicySearchResult.java | 1959 +++++--- .../v1/IamPolicySearchResultOrBuilder.java | 88 +- .../cloud/asset/v1/ListAssetsRequest.java | 792 +-- .../asset/v1/ListAssetsRequestOrBuilder.java | 97 +- .../cloud/asset/v1/ListAssetsResponse.java | 563 ++- .../asset/v1/ListAssetsResponseOrBuilder.java | 54 +- .../cloud/asset/v1/ListFeedsRequest.java | 318 +- .../asset/v1/ListFeedsRequestOrBuilder.java | 27 +- .../cloud/asset/v1/ListFeedsResponse.java | 412 +- .../asset/v1/ListFeedsResponseOrBuilder.java | 37 +- .../asset/v1/ListSavedQueriesRequest.java | 532 +- .../v1/ListSavedQueriesRequestOrBuilder.java | 56 +- .../asset/v1/ListSavedQueriesResponse.java | 489 +- .../v1/ListSavedQueriesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/MoveAnalysis.java | 534 +- .../cloud/asset/v1/MoveAnalysisOrBuilder.java | 43 +- .../cloud/asset/v1/MoveAnalysisResult.java | 560 ++- .../asset/v1/MoveAnalysisResultOrBuilder.java | 54 +- .../com/google/cloud/asset/v1/MoveImpact.java | 311 +- .../cloud/asset/v1/MoveImpactOrBuilder.java | 50 + .../cloud/asset/v1/OrganizationName.java | 0 .../google/cloud/asset/v1/OutputConfig.java | 468 +- .../cloud/asset/v1/OutputConfigOrBuilder.java | 34 +- .../google/cloud/asset/v1/OutputResult.java | 372 +- .../cloud/asset/v1/OutputResultOrBuilder.java | 26 +- .../google/cloud/asset/v1/PartitionSpec.java | 373 +- .../asset/v1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1/PubsubDestination.java | 318 +- .../asset/v1/PubsubDestinationOrBuilder.java | 27 +- .../asset/v1/QueryAssetsOutputConfig.java | 963 ++-- .../v1/QueryAssetsOutputConfigOrBuilder.java | 67 + .../cloud/asset/v1/QueryAssetsRequest.java | 1217 +++-- .../asset/v1/QueryAssetsRequestOrBuilder.java | 136 +- .../cloud/asset/v1/QueryAssetsResponse.java | 676 ++- .../v1/QueryAssetsResponseOrBuilder.java | 54 +- .../google/cloud/asset/v1/QueryResult.java | 604 ++- .../cloud/asset/v1/QueryResultOrBuilder.java | 57 +- .../google/cloud/asset/v1/RelatedAsset.java | 556 +- .../cloud/asset/v1/RelatedAssetOrBuilder.java | 63 +- .../google/cloud/asset/v1/RelatedAssets.java | 516 +- .../asset/v1/RelatedAssetsOrBuilder.java | 45 +- .../cloud/asset/v1/RelatedResource.java | 390 +- .../asset/v1/RelatedResourceOrBuilder.java | 36 +- .../cloud/asset/v1/RelatedResources.java | 393 +- .../asset/v1/RelatedResourcesOrBuilder.java | 36 +- .../asset/v1/RelationshipAttributes.java | 544 +- .../v1/RelationshipAttributesOrBuilder.java | 55 +- .../com/google/cloud/asset/v1/Resource.java | 753 +-- .../cloud/asset/v1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1/ResourceSearchResult.java | 2707 ++++++---- .../v1/ResourceSearchResultOrBuilder.java | 357 +- .../com/google/cloud/asset/v1/SavedQuery.java | 1541 +++--- .../google/cloud/asset/v1/SavedQueryName.java | 0 .../cloud/asset/v1/SavedQueryOrBuilder.java | 129 +- .../asset/v1/SearchAllIamPoliciesRequest.java | 683 ++- .../SearchAllIamPoliciesRequestOrBuilder.java | 75 +- .../v1/SearchAllIamPoliciesResponse.java | 490 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../asset/v1/SearchAllResourcesRequest.java | 799 +-- .../SearchAllResourcesRequestOrBuilder.java | 92 +- .../asset/v1/SearchAllResourcesResponse.java | 486 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../cloud/asset/v1/TableFieldSchema.java | 620 ++- .../asset/v1/TableFieldSchemaOrBuilder.java | 63 +- .../google/cloud/asset/v1/TableSchema.java | 400 +- .../cloud/asset/v1/TableSchemaOrBuilder.java | 36 +- .../google/cloud/asset/v1/TemporalAsset.java | 685 ++- .../asset/v1/TemporalAssetOrBuilder.java | 51 +- .../com/google/cloud/asset/v1/TimeWindow.java | 408 +- .../cloud/asset/v1/TimeWindowOrBuilder.java | 34 +- .../cloud/asset/v1/UpdateFeedRequest.java | 457 +- .../asset/v1/UpdateFeedRequestOrBuilder.java | 43 +- .../asset/v1/UpdateSavedQueryRequest.java | 526 +- .../v1/UpdateSavedQueryRequestOrBuilder.java | 55 +- .../cloud/asset/v1/VersionedResource.java | 401 +- .../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 | 163 + .../asset/v1p1beta1/AssetServiceProto.java | 150 + .../v1p1beta1/IamPolicySearchResult.java | 1196 +++-- .../IamPolicySearchResultOrBuilder.java | 55 +- .../cloud/asset/v1p1beta1/Permissions.java | 347 +- .../asset/v1p1beta1/PermissionsOrBuilder.java | 36 +- .../SearchAllIamPoliciesRequest.java | 517 +- .../SearchAllIamPoliciesRequestOrBuilder.java | 48 +- .../SearchAllIamPoliciesResponse.java | 487 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../v1p1beta1/SearchAllResourcesRequest.java | 683 ++- .../SearchAllResourcesRequestOrBuilder.java | 75 +- .../v1p1beta1/SearchAllResourcesResponse.java | 493 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/StandardResourceMetadata.java | 1147 +++-- .../StandardResourceMetadataOrBuilder.java | 138 +- .../cloud/asset/v1p1beta1/asset_service.proto | 0 .../google/cloud/asset/v1p1beta1/assets.proto | 0 .../google/cloud/asset/v1p2beta1/Asset.java | 664 ++- .../cloud/asset/v1p2beta1/AssetOrBuilder.java | 70 +- .../cloud/asset/v1p2beta1/AssetProto.java | 126 + .../asset/v1p2beta1/AssetServiceProto.java | 270 + .../cloud/asset/v1p2beta1/ContentType.java | 82 +- .../asset/v1p2beta1/CreateFeedRequest.java | 516 +- .../v1p2beta1/CreateFeedRequestOrBuilder.java | 53 +- .../asset/v1p2beta1/DeleteFeedRequest.java | 357 +- .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 60 + .../google/cloud/asset/v1p2beta1/Feed.java | 720 ++- .../cloud/asset/v1p2beta1/FeedName.java | 0 .../cloud/asset/v1p2beta1/FeedOrBuilder.java | 89 +- .../asset/v1p2beta1/FeedOutputConfig.java | 397 +- .../v1p2beta1/FeedOutputConfigOrBuilder.java | 26 +- .../cloud/asset/v1p2beta1/GcsDestination.java | 379 +- .../v1p2beta1/GcsDestinationOrBuilder.java | 30 +- .../cloud/asset/v1p2beta1/GetFeedRequest.java | 349 +- .../v1p2beta1/GetFeedRequestOrBuilder.java | 60 + .../asset/v1p2beta1/ListFeedsRequest.java | 325 +- .../v1p2beta1/ListFeedsRequestOrBuilder.java | 27 +- .../asset/v1p2beta1/ListFeedsResponse.java | 417 +- .../v1p2beta1/ListFeedsResponseOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/OutputConfig.java | 377 +- .../v1p2beta1/OutputConfigOrBuilder.java | 26 +- .../asset/v1p2beta1/PubsubDestination.java | 325 +- .../v1p2beta1/PubsubDestinationOrBuilder.java | 27 +- .../cloud/asset/v1p2beta1/Resource.java | 690 ++- .../asset/v1p2beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p2beta1/TemporalAsset.java | 471 +- .../v1p2beta1/TemporalAssetOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/TimeWindow.java | 415 +- .../asset/v1p2beta1/TimeWindowOrBuilder.java | 34 +- .../asset/v1p2beta1/UpdateFeedRequest.java | 500 +- .../v1p2beta1/UpdateFeedRequestOrBuilder.java | 52 +- .../cloud/asset/v1p2beta1/asset_service.proto | 0 .../google/cloud/asset/v1p2beta1/assets.proto | 0 .../google/cloud/asset/v1p5beta1/Asset.java | 1204 +++-- .../cloud/asset/v1p5beta1/AssetOrBuilder.java | 118 +- .../cloud/asset/v1p5beta1/AssetProto.java | 132 + .../asset/v1p5beta1/AssetServiceProto.java | 125 + .../cloud/asset/v1p5beta1/ContentType.java | 96 +- .../asset/v1p5beta1/ListAssetsRequest.java | 701 ++- .../v1p5beta1/ListAssetsRequestOrBuilder.java | 79 +- .../asset/v1p5beta1/ListAssetsResponse.java | 568 ++- .../ListAssetsResponseOrBuilder.java | 53 +- .../cloud/asset/v1p5beta1/Resource.java | 690 ++- .../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 | 1389 +++-- .../cloud/asset/v1p7beta1/AssetOrBuilder.java | 134 +- .../cloud/asset/v1p7beta1/AssetProto.java | 193 + .../asset/v1p7beta1/AssetServiceProto.java | 226 + .../asset/v1p7beta1/BigQueryDestination.java | 565 ++- .../BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1p7beta1/ContentType.java | 103 +- .../asset/v1p7beta1/ExportAssetsRequest.java | 841 ++-- .../ExportAssetsRequestOrBuilder.java | 105 +- .../asset/v1p7beta1/ExportAssetsResponse.java | 534 +- .../ExportAssetsResponseOrBuilder.java | 42 +- .../cloud/asset/v1p7beta1/GcsDestination.java | 474 +- .../v1p7beta1/GcsDestinationOrBuilder.java | 42 +- .../asset/v1p7beta1/GcsOutputResult.java | 357 +- .../v1p7beta1/GcsOutputResultOrBuilder.java | 36 +- .../cloud/asset/v1p7beta1/OutputConfig.java | 489 +- .../v1p7beta1/OutputConfigOrBuilder.java | 34 +- .../cloud/asset/v1p7beta1/OutputResult.java | 376 +- .../v1p7beta1/OutputResultOrBuilder.java | 26 +- .../cloud/asset/v1p7beta1/PartitionSpec.java | 379 +- .../v1p7beta1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1p7beta1/RelatedAsset.java | 493 +- .../v1p7beta1/RelatedAssetOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/RelatedAssets.java | 543 +- .../v1p7beta1/RelatedAssetsOrBuilder.java | 47 +- .../v1p7beta1/RelationshipAttributes.java | 546 +- .../RelationshipAttributesOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/Resource.java | 762 +-- .../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 .../AsyncAnalyzeOrgPolicies.java | 0 .../AsyncAnalyzeOrgPoliciesPaged.java | 0 .../SyncAnalyzeOrgPolicies.java | 0 ...cAnalyzeOrgPoliciesStringStringString.java | 0 .../AsyncAnalyzeOrgPolicyGovernedAssets.java | 0 ...ncAnalyzeOrgPolicyGovernedAssetsPaged.java | 0 .../SyncAnalyzeOrgPolicyGovernedAssets.java | 0 ...olicyGovernedAssetsStringStringString.java | 0 ...yncAnalyzeOrgPolicyGovernedContainers.java | 0 ...alyzeOrgPolicyGovernedContainersPaged.java | 0 ...yncAnalyzeOrgPolicyGovernedContainers.java | 0 ...yGovernedContainersStringStringString.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 .../v1/assetservice/getfeed/AsyncGetFeed.java | 0 .../v1/assetservice/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 .../assetservice/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 .../queryassets/AsyncQueryAssets.java | 0 .../queryassets/SyncQueryAssets.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 .../assetservice/getfeed/AsyncGetFeed.java | 0 .../assetservice/getfeed/SyncGetFeed.java | 0 .../getfeed/SyncGetFeedFeedname.java | 0 .../getfeed/SyncGetFeedString.java | 0 .../listfeeds/AsyncListFeeds.java | 0 .../assetservice/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 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../SyncListAssetsResourcename.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssets.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../exportassets/AsyncExportAssets.java | 0 .../exportassets/AsyncExportAssetsLRO.java | 0 .../exportassets/SyncExportAssets.java | 0 .../exportassets/SyncExportAssets.java | 0 .../exportassets/SyncExportAssets.java | 0 .../cloud/asset/v1/AssetServiceGrpc.java | 2475 --------- ...IamPolicyLongrunningResponseOrBuilder.java | 9 - .../AnalyzerOrgPolicyConstraintOrBuilder.java | 65 - .../com/google/cloud/asset/v1/AssetProto.java | 505 -- .../cloud/asset/v1/AssetServiceProto.java | 1474 ------ .../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 - .../v1/QueryAssetsOutputConfigOrBuilder.java | 36 - .../cloud/asset/v1p1beta1/AssetProto.java | 129 - .../asset/v1p1beta1/AssetServiceProto.java | 132 - .../asset/v1p2beta1/AssetServiceGrpc.java | 671 --- .../cloud/asset/v1p2beta1/AssetProto.java | 108 - .../asset/v1p2beta1/AssetServiceProto.java | 245 - .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 35 - .../v1p2beta1/GetFeedRequestOrBuilder.java | 35 - .../cloud/asset/v1p5beta1/AssetProto.java | 107 - .../asset/v1p5beta1/AssetServiceProto.java | 109 - .../cloud/asset/v1p7beta1/AssetProto.java | 157 - .../asset/v1p7beta1/AssetServiceProto.java | 199 - 492 files changed, 69730 insertions(+), 41531 deletions(-) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java (99%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java (99%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java (99%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java (99%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java (99%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java (99%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java (100%) create mode 100644 java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java (54%) create mode 100644 java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java (55%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java (63%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java (60%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java (53%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java (65%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java (60%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java (58%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java (77%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java (79%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java (69%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java (59%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java (80%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java (56%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java (76%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java (63%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java (77%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java (89%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java (76%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java (76%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java (62%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java (68%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java (64%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java (90%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java (55%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java (79%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java (62%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java (64%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java (50%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java (79%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java (87%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java (89%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java (68%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java (61%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java (84%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java (62%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java (63%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java (64%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java (66%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java (50%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java (58%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java (89%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java (89%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java (69%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java (59%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java (69%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java (77%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java (79%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java (64%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java (67%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java (60%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java (68%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java (55%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java (65%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java (50%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java (68%) create mode 100644 java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java (79%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java (76%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java (80%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java (68%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java (60%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java (64%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java (65%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java (83%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java (91%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java (69%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java (84%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java (92%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java (86%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java (93%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java (74%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java (76%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java (61%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java (80%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java (70%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java (72%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java (76%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java (66%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java (65%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java (75%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java (80%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto (100%) create mode 100644 java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java create mode 100644 java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java (69%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java (67%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java (61%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java (73%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java (78%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java (73%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java (75%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java (71%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java (72%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java (73%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java (81%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java (75%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java (83%) create mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java create mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java (66%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java (72%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java (76%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java (62%) create mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java (75%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java (83%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java (67%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java (63%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java (69%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java (68%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java (63%) create mode 100644 java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java (67%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java (68%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java (59%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java (68%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java (62%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java (65%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java (51%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java (75%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java (81%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java (68%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java (70%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java (69%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java (70%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java (70%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java (73%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java (78%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java (90%) create mode 100644 java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java create mode 100644 java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java (69%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java (78%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java (86%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java (72%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java (72%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java (75%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java (78%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java (90%) create mode 100644 java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java create mode 100644 java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java (81%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java (89%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java (69%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java (78%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java (86%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java (72%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java (81%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java (74%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java (67%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java (62%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java (70%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java (75%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java (67%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java (61%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java (68%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java (56%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java (75%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java (80%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java (69%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java (72%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java (70%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java (66%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java (75%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java (82%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/java-asset/v1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java (100%) delete mode 100644 owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java delete mode 100644 owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java delete mode 100644 owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java delete mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java delete mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java delete mode 100644 owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java delete mode 100644 owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java similarity index 99% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java index b0e3e7128cfd..0e6361c7f7bb 100644 --- a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java @@ -35,7 +35,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; diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java index b3ce44b09e74..90b9a09eca2c 100644 --- a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java @@ -79,7 +79,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java similarity index 99% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java index 97fe68ec0b59..09000bcbadaa 100644 --- a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java @@ -37,7 +37,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java similarity index 99% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java index 5140e5fc5ef1..528963638f8b 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java +++ b/java-asset/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; diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java index 0f2e0b071dec..09ac21b20398 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java +++ b/java-asset/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/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java similarity index 99% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java index ec4ddf032ea2..8ae6849f46bf 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java +++ b/java-asset/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; diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java index 4c74edb92139..55c2f122f030 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java +++ b/java-asset/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/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java similarity index 99% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java index 8d4c195587d2..7d1e820e1c62 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java +++ b/java-asset/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; diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java index 9be0edcf03da..52ebbf4ba4b8 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java +++ b/java-asset/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/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java similarity index 99% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java index 041b65b170db..b2fe0f933f32 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java +++ b/java-asset/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; diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java rename to java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java index 38f973b48370..7afbf3f79796 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java +++ b/java-asset/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/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java diff --git a/owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java b/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java rename to java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java diff --git a/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java new file mode 100644 index 000000000000..e767cdd1692e --- /dev/null +++ b/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java @@ -0,0 +1,3201 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.QueryAssetsRequest, + com.google.cloud.asset.v1.QueryAssetsResponse> + getQueryAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryAssets", + requestType = com.google.cloud.asset.v1.QueryAssetsRequest.class, + responseType = com.google.cloud.asset.v1.QueryAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.QueryAssetsRequest, + com.google.cloud.asset.v1.QueryAssetsResponse> + getQueryAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.QueryAssetsRequest, + com.google.cloud.asset.v1.QueryAssetsResponse> + getQueryAssetsMethod; + if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { + AssetServiceGrpc.getQueryAssetsMethod = + getQueryAssetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.QueryAssetsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.QueryAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("QueryAssets")) + .build(); + } + } + } + return getQueryAssetsMethod; + } + + 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; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> + getAnalyzeOrgPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicies", + requestType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> + getAnalyzeOrgPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> + getAnalyzeOrgPoliciesMethod; + if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { + AssetServiceGrpc.getAnalyzeOrgPoliciesMethod = + getAnalyzeOrgPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicies")) + .build(); + } + } + } + return getAnalyzeOrgPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> + getAnalyzeOrgPolicyGovernedContainersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedContainers", + requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> + getAnalyzeOrgPolicyGovernedContainersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> + getAnalyzeOrgPolicyGovernedContainersMethod; + if ((getAnalyzeOrgPolicyGovernedContainersMethod = + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) + == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeOrgPolicyGovernedContainersMethod = + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) + == null) { + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod = + getAnalyzeOrgPolicyGovernedContainersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "AnalyzeOrgPolicyGovernedContainers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier( + "AnalyzeOrgPolicyGovernedContainers")) + .build(); + } + } + } + return getAnalyzeOrgPolicyGovernedContainersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> + getAnalyzeOrgPolicyGovernedAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedAssets", + requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> + getAnalyzeOrgPolicyGovernedAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> + getAnalyzeOrgPolicyGovernedAssetsMethod; + if ((getAnalyzeOrgPolicyGovernedAssetsMethod = + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) + == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeOrgPolicyGovernedAssetsMethod = + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) + == null) { + AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod = + getAnalyzeOrgPolicyGovernedAssetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicyGovernedAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier( + "AnalyzeOrgPolicyGovernedAssets")) + .build(); + } + } + } + return getAnalyzeOrgPolicyGovernedAssetsMethod; + } + + /** 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 interface AsyncService { + + /** + * + * + *
+     * 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void deleteFeed( + com.google.cloud.asset.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches all Google 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void analyzeMove( + com.google.cloud.asset.v1.AnalyzeMoveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeMoveMethod(), responseObserver); + } + + /** + * + * + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + default void queryAssets( + com.google.cloud.asset.v1.QueryAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryAssetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void batchGetEffectiveIamPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetEffectiveIamPoliciesMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + default void analyzeOrgPolicies( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeOrgPoliciesMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + default void analyzeOrgPolicyGovernedContainers( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeOrgPolicyGovernedContainersMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + default void analyzeOrgPolicyGovernedAssets( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeOrgPolicyGovernedAssetsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AssetService. + * + *
+   * Asset service definition.
+   * 
+ */ + public abstract static class AssetServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AssetServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AssetService. + * + *
+   * 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 Google 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); + } + + /** + * + * + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + public void queryAssets( + com.google.cloud.asset.v1.QueryAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryAssetsMethod(), 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); + } + + /** + * + * + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + public void analyzeOrgPolicies( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + public void analyzeOrgPolicyGovernedContainers( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + public void analyzeOrgPolicyGovernedAssets( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AssetService. + * + *
+   * 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 Google 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); + } + + /** + * + * + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + public com.google.cloud.asset.v1.QueryAssetsResponse queryAssets( + com.google.cloud.asset.v1.QueryAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryAssetsMethod(), 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); + } + + /** + * + * + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse analyzeOrgPolicies( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeOrgPoliciesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + analyzeOrgPolicyGovernedContainers( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + analyzeOrgPolicyGovernedAssets( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + * + *
+   * 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 Google 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); + } + + /** + * + * + *
+     * Issue a job that queries assets using a SQL statement compatible with
+     * [BigQuery Standard
+     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
+     * If the query execution finishes within timeout and there's no pagination,
+     * the full query results will be returned in the `QueryAssetsResponse`.
+     * Otherwise, full query results can be obtained by issuing extra requests
+     * with the `job_reference` from the a previous `QueryAssets` call.
+     * Note, the query result has approximately 10 GB limitation enforced by
+     * BigQuery
+     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
+     * queries return larger results will result in errors.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.QueryAssetsResponse> + queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryAssetsMethod(), 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); + } + + /** + * + * + *
+     * Analyzes organization policies under a scope.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse> + analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Analyzes organization policies governed containers (projects, folders or
+     * organization) under a scope.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse> + analyzeOrgPolicyGovernedContainers( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Analyzes organization policies governed assets (Google Cloud resources or
+     * policies) under a scope. This RPC supports custom constraints and the
+     * following 10 canned constraints:
+     * * storage.uniformBucketLevelAccess
+     * * iam.disableServiceAccountKeyCreation
+     * * iam.allowedPolicyMemberDomains
+     * * compute.vmExternalIpAccess
+     * * appengine.enforceServiceAccountActAsCheck
+     * * gcp.resourceLocations
+     * * compute.trustedImageProjects
+     * * compute.skipDefaultNetworkCreation
+     * * compute.requireOsLogin
+     * * compute.disableNestedVirtualization
+     * This RPC only returns either resources of types supported by [searchable
+     * asset
+     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
+     * or IAM policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse> + analyzeOrgPolicyGovernedAssets( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), 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_QUERY_ASSETS = 13; + private static final int METHODID_CREATE_SAVED_QUERY = 14; + private static final int METHODID_GET_SAVED_QUERY = 15; + private static final int METHODID_LIST_SAVED_QUERIES = 16; + private static final int METHODID_UPDATE_SAVED_QUERY = 17; + private static final int METHODID_DELETE_SAVED_QUERY = 18; + private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 19; + private static final int METHODID_ANALYZE_ORG_POLICIES = 20; + private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS = 21; + private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS = 22; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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_QUERY_ASSETS: + serviceImpl.queryAssets( + (com.google.cloud.asset.v1.QueryAssetsRequest) 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; + case METHODID_ANALYZE_ORG_POLICIES: + serviceImpl.analyzeOrgPolicies( + (com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS: + serviceImpl.analyzeOrgPolicyGovernedContainers( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse>) + responseObserver); + break; + case METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS: + serviceImpl.analyzeOrgPolicyGovernedAssets( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ExportAssetsRequest, + com.google.longrunning.Operation>(service, METHODID_EXPORT_ASSETS))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListAssetsRequest, + com.google.cloud.asset.v1.ListAssetsResponse>(service, METHODID_LIST_ASSETS))) + .addMethod( + getBatchGetAssetsHistoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( + service, 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>( + service, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed>( + service, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListFeedsRequest, + com.google.cloud.asset.v1.ListFeedsResponse>(service, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed>( + service, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_FEED))) + .addMethod( + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse>( + service, 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>( + service, 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>( + service, METHODID_ANALYZE_IAM_POLICY))) + .addMethod( + getAnalyzeIamPolicyLongrunningMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation>( + service, 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>(service, METHODID_ANALYZE_MOVE))) + .addMethod( + getQueryAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.QueryAssetsRequest, + com.google.cloud.asset.v1.QueryAssetsResponse>(service, METHODID_QUERY_ASSETS))) + .addMethod( + getCreateSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.CreateSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>(service, 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>(service, 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>( + service, 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>(service, METHODID_UPDATE_SAVED_QUERY))) + .addMethod( + getDeleteSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty>( + service, 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>( + service, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) + .addMethod( + getAnalyzeOrgPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse>( + service, METHODID_ANALYZE_ORG_POLICIES))) + .addMethod( + getAnalyzeOrgPolicyGovernedContainersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse>( + service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS))) + .addMethod( + getAnalyzeOrgPolicyGovernedAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse>( + service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS))) + .build(); + } + + 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(getQueryAssetsMethod()) + .addMethod(getCreateSavedQueryMethod()) + .addMethod(getGetSavedQueryMethod()) + .addMethod(getListSavedQueriesMethod()) + .addMethod(getUpdateSavedQueryMethod()) + .addMethod(getDeleteSavedQueryMethod()) + .addMethod(getBatchGetEffectiveIamPoliciesMethod()) + .addMethod(getAnalyzeOrgPoliciesMethod()) + .addMethod(getAnalyzeOrgPolicyGovernedContainersMethod()) + .addMethod(getAnalyzeOrgPolicyGovernedAssetsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-asset/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java similarity index 54% rename from owl-bot-staging/java-asset/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java rename to java-asset/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java index 094caa2f3954..a03593beba71 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java +++ b/java-asset/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,113 +35,146 @@ 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.
    * 
@@ -132,6 +182,8 @@ public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio public interface AsyncService { /** + * + * *
      * Searches all the resources within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -141,12 +193,17 @@ public interface AsyncService {
      * otherwise the request will be rejected.
      * 
*/ - default void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllResourcesMethod(), responseObserver); + default 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -156,46 +213,52 @@ default void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResour
      * requested scope, otherwise the request will be rejected.
      * 
*/ - default void searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllIamPoliciesMethod(), responseObserver); + default void searchAllIamPolicies( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchAllIamPoliciesMethod(), responseObserver); } } /** * Base class for the server implementation of the service AssetService. + * *
    * Asset service definition.
    * 
*/ - public static abstract class AssetServiceImplBase + public abstract static class AssetServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return AssetServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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 within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -205,13 +268,19 @@ protected AssetServiceStub build(
      * otherwise the request 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -221,23 +290,27 @@ public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourc
      * requested scope, otherwise the request 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); } } /** * A stub to allow clients to do synchronous rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -248,6 +321,8 @@ protected AssetServiceBlockingStub build( } /** + * + * *
      * Searches all the resources within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -257,12 +332,15 @@ protected AssetServiceBlockingStub build(
      * otherwise the request 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -272,7 +350,8 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllReso
      * requested scope, otherwise the request 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); } @@ -280,14 +359,14 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse searchAllIa /** * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -298,6 +377,8 @@ protected AssetServiceFutureStub build( } /** + * + * *
      * Searches all the resources within a given accessible Resource Manager scope
      * (project/folder/organization). This RPC gives callers especially
@@ -307,13 +388,16 @@ protected AssetServiceFutureStub build(
      * otherwise the request 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 within a given accessible Resource Manager
      * scope (project/folder/organization). This RPC gives callers especially
@@ -323,8 +407,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);
     }
@@ -333,11 +418,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final AsyncService serviceImpl;
     private final int methodId;
 
@@ -351,12 +436,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();
@@ -377,24 +468,25 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     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>(
-                service, METHODID_SEARCH_ALL_RESOURCES)))
+            getSearchAllResourcesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest,
+                    com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>(
+                    service, 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>(
-                service, 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>(
+                    service, METHODID_SEARCH_ALL_IAM_POLICIES)))
         .build();
   }
 
-  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
@@ -436,11 +528,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/java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java
new file mode 100644
index 000000000000..f345060c57ec
--- /dev/null
+++ b/java-asset/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java
@@ -0,0 +1,814 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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 interface AsyncService { + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void deleteFeed( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AssetService. + * + *
+   * Asset service definition.
+   * 
+ */ + public abstract static class AssetServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AssetServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AssetService. + * + *
+   * 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); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AssetService. + * + *
+   * 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); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + * + *
+   * 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + 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>(service, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>(service, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( + service, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>(service, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_FEED))) + .build(); + } + + 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/owl-bot-staging/java-asset/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java similarity index 55% rename from owl-bot-staging/java-asset/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java rename to java-asset/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java index 1df944be9fd7..881b2302c141 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java +++ b/java-asset/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,82 +35,96 @@ 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.
    * 
@@ -101,58 +132,67 @@ public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio public interface AsyncService { /** + * + * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - default void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void listAssets( + com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); } } /** * Base class for the server implementation of the service AssetService. + * *
    * Asset service definition.
    * 
*/ - public static abstract class AssetServiceImplBase + public abstract static class AssetServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return AssetServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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); } @@ -160,14 +200,14 @@ public void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest reques /** * A stub to allow clients to do synchronous rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -178,12 +218,15 @@ 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); } @@ -191,14 +234,14 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsResponse listAssets(com.google /** * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -209,13 +252,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); } @@ -223,11 +269,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -241,8 +287,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(); @@ -263,17 +311,18 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { 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>( - service, METHODID_LIST_ASSETS))) + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse>( + service, METHODID_LIST_ASSETS))) .build(); } - 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 @@ -315,10 +364,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/java-asset/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java b/java-asset/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java similarity index 63% rename from owl-bot-staging/java-asset/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java rename to java-asset/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java index 577e8600dc71..eb4e44e628be 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java +++ b/java-asset/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,82 +35,92 @@ 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.
    * 
@@ -101,6 +128,8 @@ public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio public interface AsyncService { /** + * + * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -115,46 +144,51 @@ public interface AsyncService {
      * 5 minutes.
      * 
*/ - default void exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, + default 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); } } /** * Base class for the server implementation of the service AssetService. + * *
    * Asset service definition.
    * 
*/ - public static abstract class AssetServiceImplBase + public abstract static class AssetServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return AssetServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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
@@ -169,23 +203,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); } } /** * A stub to allow clients to do synchronous rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -196,6 +233,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
@@ -210,7 +249,8 @@ 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); } @@ -218,14 +258,14 @@ public com.google.longrunning.Operation exportAssets(com.google.cloud.asset.v1p7 /** * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. + * *
    * Asset service definition.
    * 
*/ public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -236,6 +276,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
@@ -250,8 +292,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); } @@ -259,11 +301,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -277,7 +319,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: @@ -299,17 +342,17 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { 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>( - service, METHODID_EXPORT_ASSETS))) + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, + com.google.longrunning.Operation>(service, METHODID_EXPORT_ASSETS))) .build(); } - 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 @@ -351,10 +394,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java similarity index 60% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java index 37a2aedd1ebd..ee14b873a2f7 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java +++ b/java-asset/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,51 +28,58 @@
  *
  * 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;
   }
-  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 @@ -63,11 +87,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 @@ -75,11 +103,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() { @@ -87,6 +118,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +130,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()); } @@ -113,8 +144,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +154,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -157,96 +187,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.
@@ -254,33 +292,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,13 +331,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();
     }
 
@@ -315,18 +353,20 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
     }
 
@@ -334,38 +374,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunning
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -373,7 +414,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());
       }
@@ -403,19 +446,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,43 +468,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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) { @@ -477,14 +540,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(); } else { @@ -495,17 +561,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 (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -518,11 +588,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -535,11 +609,15 @@ 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() { bitField0_ |= 0x00000001; @@ -547,43 +625,55 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { 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); } @@ -593,12 +683,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(); } @@ -607,27 +698,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,6 +733,4 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java similarity index 53% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java index a603612929d5..5b3153957535 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java similarity index 65% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java index 510b7e2c50aa..3e5896ea09b4 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java +++ b/java-asset/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,52 +28,60 @@
  *
  * 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;
   }
-  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 @@ -64,33 +89,49 @@ 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() { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -108,6 +149,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 @@ -116,14 +158,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
@@ -141,16 +184,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 { @@ -161,12 +203,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 @@ -174,32 +221,47 @@ 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() { - return outputConfig_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { + return outputConfig_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,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 { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -232,12 +293,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_); @@ -250,24 +309,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -296,96 +353,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].
@@ -393,33 +458,32 @@ 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()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,13 +503,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();
     }
 
@@ -460,26 +525,28 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.analysisQuery_ = analysisQueryBuilder_ == null
-            ? analysisQuery_
-            : analysisQueryBuilder_.build();
+        result.analysisQuery_ =
+            analysisQueryBuilder_ == null ? analysisQuery_ : analysisQueryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.savedAnalysisQuery_ = savedAnalysisQuery_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.outputConfig_ = outputConfigBuilder_ == null
-            ? outputConfig_
-            : outputConfigBuilder_.build();
+        result.outputConfig_ =
+            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
       }
     }
 
@@ -487,38 +554,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunning
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -526,7 +594,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());
       }
@@ -564,31 +634,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getAnalysisQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOutputConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              savedAnalysisQuery_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                savedAnalysisQuery_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -598,43 +668,63 @@ public Builder mergeFrom(
       } // finally
       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_;
     /**
+     *
+     *
      * 
      * 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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) { @@ -650,11 +740,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) { @@ -668,17 +762,22 @@ 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 (((bitField0_ & 0x00000001) != 0) && - analysisQuery_ != null && - analysisQuery_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && analysisQuery_ != null + && analysisQuery_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { getAnalysisQueryBuilder().mergeFrom(value); } else { analysisQuery_ = value; @@ -691,11 +790,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -708,11 +811,15 @@ 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() { bitField0_ |= 0x00000001; @@ -720,36 +827,48 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery 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_; @@ -757,6 +876,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
@@ -774,13 +895,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; @@ -789,6 +910,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
@@ -806,15 +929,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 { @@ -822,6 +944,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
@@ -839,18 +963,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSavedAnalysisQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -868,6 +996,7 @@ public Builder setSavedAnalysisQuery(
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { @@ -877,6 +1006,8 @@ public Builder clearSavedAnalysisQuery() { return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -894,12 +1025,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; @@ -909,42 +1042,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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) { @@ -960,12 +1112,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) { @@ -979,18 +1135,24 @@ 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 (((bitField0_ & 0x00000004) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && outputConfig_ != null + && outputConfig_ + != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -1003,12 +1165,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1021,58 +1187,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() { bitField0_ |= 0x00000004; 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); } @@ -1082,12 +1266,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(); } @@ -1096,27 +1281,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,6 +1316,4 @@ public com.google.protobuf.Parser getParserF public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java index 06cba9c7f30a..37d5b61146f4 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java similarity index 60% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java index 0176db6b2e9c..8265b9f5296d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java +++ b/java-asset/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,44 +28,48 @@
  *
  * 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;
   }
-  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;
@@ -60,8 +81,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 {
     getUnknownFields().writeTo(output);
   }
 
@@ -79,12 +99,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -103,96 +124,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].
@@ -200,33 +229,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -234,13 +262,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();
     }
 
@@ -255,7 +284,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;
     }
@@ -264,38 +294,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;
@@ -303,7 +334,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.getUnknownFields());
       onChanged();
       return this;
@@ -330,12 +363,13 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -345,9 +379,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -357,12 +391,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();
   }
@@ -371,27 +406,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AnalyzeIamPolicyLongrunningResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -406,6 +441,4 @@ public com.google.protobuf.Parser getParser
   public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java
new file mode 100644
index 000000000000..6d3510e8230e
--- /dev/null
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
index a2aa007ab37e..b2c6b5f4fe96 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
+++ b/java-asset/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,52 +28,59 @@
  *
  * 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;
   }
-  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 @@ -64,33 +88,49 @@ 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() { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -108,6 +148,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 @@ -116,14 +157,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
@@ -141,16 +183,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 { @@ -161,6 +202,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
@@ -173,7 +216,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 @@ -181,6 +227,8 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -193,14 +241,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
@@ -213,14 +268,19 @@ 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() { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +292,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()); } @@ -253,12 +312,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_); @@ -271,24 +328,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -317,96 +372,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].
@@ -414,33 +476,32 @@ 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()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -460,9 +521,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
@@ -481,8 +542,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -490,17 +554,15 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.analysisQuery_ = analysisQueryBuilder_ == null
-            ? analysisQuery_
-            : analysisQueryBuilder_.build();
+        result.analysisQuery_ =
+            analysisQueryBuilder_ == null ? analysisQuery_ : analysisQueryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.savedAnalysisQuery_ = savedAnalysisQuery_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.executionTimeout_ = executionTimeoutBuilder_ == null
-            ? executionTimeout_
-            : executionTimeoutBuilder_.build();
+        result.executionTimeout_ =
+            executionTimeoutBuilder_ == null ? executionTimeout_ : executionTimeoutBuilder_.build();
       }
     }
 
@@ -508,38 +570,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -547,7 +610,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());
       }
@@ -585,31 +649,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getAnalysisQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getExecutionTimeoutFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              savedAnalysisQuery_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getExecutionTimeoutFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                savedAnalysisQuery_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -619,43 +684,63 @@ public Builder mergeFrom(
       } // finally
       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_;
     /**
+     *
+     *
      * 
      * 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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) { @@ -671,11 +756,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) { @@ -689,17 +778,22 @@ 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 (((bitField0_ & 0x00000001) != 0) && - analysisQuery_ != null && - analysisQuery_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && analysisQuery_ != null + && analysisQuery_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { getAnalysisQueryBuilder().mergeFrom(value); } else { analysisQuery_ = value; @@ -712,11 +806,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -729,11 +827,15 @@ 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() { bitField0_ |= 0x00000001; @@ -741,36 +843,48 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery 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_; @@ -778,6 +892,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
@@ -795,13 +911,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; @@ -810,6 +926,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
@@ -827,15 +945,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 { @@ -843,6 +960,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
@@ -860,18 +979,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSavedAnalysisQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -889,6 +1012,7 @@ public Builder setSavedAnalysisQuery(
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { @@ -898,6 +1022,8 @@ public Builder clearSavedAnalysisQuery() { return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -915,12 +1041,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); savedAnalysisQuery_ = value; bitField0_ |= 0x00000002; @@ -930,8 +1058,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
@@ -944,13 +1077,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -963,17 +1101,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
@@ -986,7 +1131,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) { @@ -1002,6 +1149,8 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1014,10 +1163,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(); } else { @@ -1028,6 +1178,8 @@ public Builder setExecutionTimeout( return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1040,13 +1192,15 @@ 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 (((bitField0_ & 0x00000004) != 0) && - executionTimeout_ != null && - executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && executionTimeout_ != null + && executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { getExecutionTimeoutBuilder().mergeFrom(value); } else { executionTimeout_ = value; @@ -1059,6 +1213,8 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1071,7 +1227,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1084,6 +1242,8 @@ public Builder clearExecutionTimeout() { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1096,7 +1256,9 @@ 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() { bitField0_ |= 0x00000004; @@ -1104,6 +1266,8 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { return getExecutionTimeoutFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1116,17 +1280,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
@@ -1139,24 +1308,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); } @@ -1166,12 +1340,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(); } @@ -1180,27 +1354,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1215,6 +1389,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java index 7a590165eced..6c1c7d4abc83 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java index 636e05f4d05d..720887c64701 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java +++ b/java-asset/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,67 +28,78 @@
  *
  * 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;
   }
-  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.
      * 
@@ -81,6 +109,8 @@ public interface IamPolicyAnalysisOrBuilder extends com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** + * + * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -89,9 +119,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]
@@ -102,6 +133,8 @@ public interface IamPolicyAnalysisOrBuilder extends
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int index);
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -112,6 +145,8 @@ public interface IamPolicyAnalysisOrBuilder extends
      */
     int getAnalysisResultsCount();
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -120,9 +155,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]
@@ -135,6 +172,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]
@@ -142,20 +181,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.
      * 
@@ -164,6 +207,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.
      * 
@@ -172,15 +217,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.
      * 
@@ -191,21 +240,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(); @@ -213,37 +265,41 @@ 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; } - 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 @@ -251,18 +307,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.
      * 
@@ -271,13 +334,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } public static final int ANALYSIS_RESULTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List analysisResults_; /** + * + * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -287,10 +355,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]
@@ -300,11 +371,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]
@@ -318,6 +391,8 @@ public int getAnalysisResultsCount() {
       return analysisResults_.size();
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -331,6 +406,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
       return analysisResults_.get(index);
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -348,6 +425,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
     public static final int FULLY_EXPLORED_FIELD_NUMBER = 3;
     private boolean fullyExplored_ = false;
     /**
+     *
+     *
      * 
      * Represents whether all entries in the
      * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -355,6 +434,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -363,9 +443,12 @@ public boolean getFullyExplored() { } public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List nonCriticalErrors_; /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -373,10 +456,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.
      * 
@@ -384,11 +470,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.
      * 
@@ -400,6 +488,8 @@ public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -411,6 +501,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.
      * 
@@ -424,6 +516,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalE } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,8 +528,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()); } @@ -459,20 +551,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -482,24 +572,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -520,8 +607,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(); @@ -532,87 +618,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 @@ -622,39 +716,42 @@ 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() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -683,19 +780,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); } @@ -704,14 +804,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { if (analysisResultsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { analysisResults_ = java.util.Collections.unmodifiableList(analysisResults_); @@ -732,12 +836,12 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeIamPoli } } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.analysisQuery_ = analysisQueryBuilder_ == null - ? analysisQuery_ - : analysisQueryBuilder_.build(); + result.analysisQuery_ = + analysisQueryBuilder_ == null ? analysisQuery_ : analysisQueryBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.fullyExplored_ = fullyExplored_; @@ -748,46 +852,53 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Ia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -809,9 +920,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamP analysisResultsBuilder_ = null; analysisResults_ = other.analysisResults_; bitField0_ = (bitField0_ & ~0x00000002); - analysisResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAnalysisResultsFieldBuilder() : null; + analysisResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAnalysisResultsFieldBuilder() + : null; } else { analysisResultsBuilder_.addAllMessages(other.analysisResults_); } @@ -838,9 +950,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamP nonCriticalErrorsBuilder_ = null; nonCriticalErrors_ = other.nonCriticalErrors_; bitField0_ = (bitField0_ & ~0x00000008); - nonCriticalErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNonCriticalErrorsFieldBuilder() : null; + nonCriticalErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNonCriticalErrorsFieldBuilder() + : null; } else { nonCriticalErrorsBuilder_.addAllMessages(other.nonCriticalErrors_); } @@ -872,50 +985,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAnalysisQueryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1.IamPolicyAnalysisResult m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), - extensionRegistry); - if (analysisResultsBuilder_ == null) { - ensureAnalysisResultsIsMutable(); - analysisResults_.add(m); - } else { - analysisResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: { - fullyExplored_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 42: { - com.google.cloud.asset.v1.IamPolicyAnalysisState m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), - extensionRegistry); - if (nonCriticalErrorsBuilder_ == null) { - ensureNonCriticalErrorsIsMutable(); - nonCriticalErrors_.add(m); - } else { - nonCriticalErrorsBuilder_.addMessage(m); - } - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1.IamPolicyAnalysisResult m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), + extensionRegistry); + if (analysisResultsBuilder_ == null) { + ensureAnalysisResultsIsMutable(); + analysisResults_.add(m); + } else { + analysisResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: + { + fullyExplored_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 42: + { + com.google.cloud.asset.v1.IamPolicyAnalysisState m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), + extensionRegistry); + if (nonCriticalErrorsBuilder_ == null) { + ensureNonCriticalErrorsIsMutable(); + nonCriticalErrors_.add(m); + } else { + nonCriticalErrorsBuilder_.addMessage(m); + } + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -925,38 +1041,52 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * 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.
        * 
@@ -977,6 +1107,8 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** + * + * *
        * The analysis query.
        * 
@@ -995,6 +1127,8 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1003,9 +1137,10 @@ public Builder setAnalysisQuery( */ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - analysisQuery_ != null && - analysisQuery_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && analysisQuery_ != null + && analysisQuery_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) { getAnalysisQueryBuilder().mergeFrom(value); } else { analysisQuery_ = value; @@ -1018,6 +1153,8 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1035,6 +1172,8 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1047,6 +1186,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis query.
        * 
@@ -1057,11 +1198,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.
        * 
@@ -1069,32 +1213,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_ & 0x00000002) != 0)) { - analysisResults_ = new java.util.ArrayList(analysisResults_); + analysisResults_ = + new java.util.ArrayList( + analysisResults_); bitField0_ |= 0x00000002; - } + } } 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]
@@ -1103,7 +1258,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 {
@@ -1111,6 +1267,8 @@ public java.util.List getAnal
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1127,6 +1285,8 @@ public int getAnalysisResultsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1143,6 +1303,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1166,6 +1328,8 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1186,6 +1350,8 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1208,6 +1374,8 @@ public Builder addAnalysisResults(com.google.cloud.asset.v1.IamPolicyAnalysisRes
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1231,6 +1399,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1251,6 +1421,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1271,6 +1443,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1283,8 +1457,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);
@@ -1292,6 +1465,8 @@ public Builder addAllAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1311,6 +1486,8 @@ public Builder clearAnalysisResults() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1330,6 +1507,8 @@ public Builder removeAnalysisResults(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1343,6 +1522,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
         return getAnalysisResultsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1354,11 +1535,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]
@@ -1367,8 +1551,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 {
@@ -1376,6 +1560,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1385,10 +1571,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]
@@ -1399,10 +1587,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]
@@ -1411,16 +1602,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_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -1430,8 +1627,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]
@@ -1439,6 +1638,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1446,6 +1646,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1453,17 +1655,20 @@ 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1471,6 +1676,7 @@ public Builder setFullyExplored(boolean value) {
        * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -1481,25 +1687,35 @@ public Builder clearFullyExplored() { } private java.util.List nonCriticalErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNonCriticalErrorsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - nonCriticalErrors_ = new java.util.ArrayList(nonCriticalErrors_); + nonCriticalErrors_ = + new java.util.ArrayList( + nonCriticalErrors_); bitField0_ |= 0x00000008; - } + } } 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 { @@ -1507,11 +1723,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) { @@ -1521,11 +1740,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) { @@ -1535,11 +1757,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) { @@ -1556,11 +1781,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) { @@ -1574,11 +1802,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) { @@ -1594,11 +1825,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) { @@ -1615,11 +1849,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) { @@ -1633,11 +1870,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) { @@ -1651,18 +1891,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); @@ -1670,11 +1912,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) { @@ -1687,11 +1932,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) { @@ -1704,39 +1952,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 { @@ -1744,45 +2002,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_ & 0x00000008) != 0), getParentForChildren(), @@ -1791,6 +2066,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) { @@ -1803,41 +2079,44 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1849,20 +2128,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 @@ -1870,103 +2153,142 @@ 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() { - return mainAnalysis_ == null ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder() { + return mainAnalysis_ == null + ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() + : mainAnalysis_; } public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - 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_ = false; /** + * + * *
    * Represents whether all entries in the
    * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -1976,6 +2298,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBui
    * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1984,6 +2307,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1995,8 +2319,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()); } @@ -2016,16 +2339,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2035,22 +2357,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2071,104 +2392,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) + getUnknownFields().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].
@@ -2176,33 +2503,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2224,9 +2550,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
@@ -2245,31 +2571,36 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result) {
       if (serviceAccountImpersonationAnalysisBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
-          serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
+          serviceAccountImpersonationAnalysis_ =
+              java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
           bitField0_ = (bitField0_ & ~0x00000002);
         }
         result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysis_;
       } else {
-        result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysisBuilder_.build();
+        result.serviceAccountImpersonationAnalysis_ =
+            serviceAccountImpersonationAnalysisBuilder_.build();
       }
     }
 
     private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.mainAnalysis_ = mainAnalysisBuilder_ == null
-            ? mainAnalysis_
-            : mainAnalysisBuilder_.build();
+        result.mainAnalysis_ =
+            mainAnalysisBuilder_ == null ? mainAnalysis_ : mainAnalysisBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.fullyExplored_ = fullyExplored_;
@@ -2280,38 +2611,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -2319,7 +2651,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());
       }
@@ -2341,11 +2674,13 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse othe
             serviceAccountImpersonationAnalysisBuilder_ = null;
             serviceAccountImpersonationAnalysis_ = other.serviceAccountImpersonationAnalysis_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            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_);
           }
         }
       }
@@ -2378,37 +2713,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMainAnalysisFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(),
-                      extensionRegistry);
-              if (serviceAccountImpersonationAnalysisBuilder_ == null) {
-                ensureServiceAccountImpersonationAnalysisIsMutable();
-                serviceAccountImpersonationAnalysis_.add(m);
-              } else {
-                serviceAccountImpersonationAnalysisBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              fullyExplored_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getMainAnalysisFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis
+                            .parser(),
+                        extensionRegistry);
+                if (serviceAccountImpersonationAnalysisBuilder_ == null) {
+                  ensureServiceAccountImpersonationAnalysisIsMutable();
+                  serviceAccountImpersonationAnalysis_.add(m);
+                } else {
+                  serviceAccountImpersonationAnalysisBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                fullyExplored_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2418,45 +2756,64 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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(); @@ -2470,14 +2827,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(); } else { @@ -2488,17 +2849,23 @@ 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 (((bitField0_ & 0x00000001) != 0) && - mainAnalysis_ != null && - mainAnalysis_ != com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && mainAnalysis_ != null + && mainAnalysis_ + != com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()) { getMainAnalysisBuilder().mergeFrom(value); } else { mainAnalysis_ = value; @@ -2511,11 +2878,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2528,75 +2898,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() { bitField0_ |= 0x00000001; 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_ & 0x00000002) != 0)) { - serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>( + serviceAccountImpersonationAnalysis_); bitField0_ |= 0x00000002; - } + } } 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 { @@ -2604,13 +3002,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) { @@ -2620,15 +3022,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 { @@ -2636,13 +3043,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) { @@ -2659,16 +3070,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()); @@ -2679,15 +3096,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(); @@ -2701,13 +3123,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) { @@ -2724,16 +3150,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()); @@ -2744,16 +3175,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()); @@ -2764,16 +3201,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( @@ -2785,13 +3228,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) { @@ -2804,13 +3251,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) { @@ -2823,45 +3274,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 { @@ -2869,51 +3334,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_ & 0x00000002) != 0), getParentForChildren(), @@ -2923,8 +3413,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]
@@ -2934,6 +3426,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Buil
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -2941,6 +3434,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2950,17 +3445,20 @@ 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2970,6 +3468,7 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -2978,9 +3477,9 @@ public Builder clearFullyExplored() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2990,12 +3489,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(); } @@ -3004,27 +3503,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3039,6 +3538,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java similarity index 58% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java index 4eef1b0c3453..6b26559c67e1 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java index 4ad349bac1c1..70a4b9e639f0 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java +++ b/java-asset/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,39 +45,43 @@ 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; } - 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.
@@ -69,6 +91,8 @@ public enum AnalysisView
      */
     ANALYSIS_VIEW_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Full analysis including all level of impacts of the specified resource
      * move.
@@ -78,6 +102,8 @@ public enum AnalysisView
      */
     FULL(1),
     /**
+     *
+     *
      * 
      * Basic analysis only including blockers which will prevent the specified
      * resource move at runtime.
@@ -90,6 +116,8 @@ public enum AnalysisView
     ;
 
     /**
+     *
+     *
      * 
      * The default/unset value.
      * The API will default to the FULL view.
@@ -99,6 +127,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.
@@ -108,6 +138,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.
@@ -117,7 +149,6 @@ public enum AnalysisView
      */
     public static final int BASIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -142,49 +173,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;
@@ -202,9 +233,12 @@ private AnalysisView(int value) {
   }
 
   public static final int RESOURCE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object resource_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the resource to perform the analysis against.
    * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -213,6 +247,7 @@ private AnalysisView(int value) {
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resource. */ @java.lang.Override @@ -221,14 +256,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 Google Cloud projects are supported as of today. Hence, this can only
@@ -237,16 +273,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 { @@ -255,9 +290,12 @@ public java.lang.String getResource() { } public static final int DESTINATION_PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object destinationParent_ = ""; /** + * + * *
    * Required. Name of the Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -267,6 +305,7 @@ public java.lang.String getResource() {
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationParent. */ @java.lang.Override @@ -275,14 +314,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 Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -292,16 +332,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 { @@ -312,32 +351,44 @@ public java.lang.String getDestinationParent() { public static final int VIEW_FIELD_NUMBER = 3; 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; + * * @return The view. */ - @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.forNumber(view_); - return result == null ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.forNumber(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; @@ -349,15 +400,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_); } getUnknownFields().writeTo(output); @@ -375,9 +427,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -387,17 +440,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -421,130 +473,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +614,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 @@ -577,8 +635,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.AnalyzeMoveRequest result = + new com.google.cloud.asset.v1.AnalyzeMoveRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -600,38 +661,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeMoveRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -679,27 +741,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - destinationParent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - view_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + destinationParent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -709,10 +775,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -721,13 +790,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; @@ -736,6 +805,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -744,15 +815,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 { @@ -760,6 +830,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -768,18 +840,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -788,6 +864,7 @@ public Builder setResource(
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -797,6 +874,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only Google Cloud projects are supported as of today. Hence, this can only
@@ -805,12 +884,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -820,6 +901,8 @@ public Builder setResourceBytes( private java.lang.Object destinationParent_ = ""; /** + * + * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -829,13 +912,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; @@ -844,6 +927,8 @@ public java.lang.String getDestinationParent() { } } /** + * + * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -853,15 +938,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 { @@ -869,6 +953,8 @@ public java.lang.String getDestinationParent() { } } /** + * + * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -878,18 +964,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationParent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -899,6 +989,7 @@ public Builder setDestinationParent(
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDestinationParent() { @@ -908,6 +999,8 @@ public Builder clearDestinationParent() { return this; } /** + * + * *
      * Required. Name of the Google Cloud folder or organization to reparent the
      * target resource. The analysis will be performed against hypothetically
@@ -917,12 +1010,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationParent_ = value; bitField0_ |= 0x00000002; @@ -932,24 +1027,31 @@ 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. */ @@ -960,26 +1062,35 @@ public Builder setViewValue(int value) { 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() { - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.forNumber(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.forNumber(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. */ @@ -993,12 +1104,15 @@ public Builder setView(com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView 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() { @@ -1007,9 +1121,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1019,12 +1133,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(); } @@ -1033,27 +1147,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeMoveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1182,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeMoveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java index b4d75e8726ee..65189dbde14c 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java +++ b/java-asset/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 Google Cloud projects are supported as of today. Hence, this can only
@@ -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 Google Cloud projects are supported as of today. Hence, this can only
@@ -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 Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -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 Google Cloud folder or organization to reparent the
    * target resource. The analysis will be performed against hypothetically
@@ -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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java index 890a1f053c01..b24cb8fc2f4a 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") private java.util.List moveAnalysis_; /** + * + * *
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Google Cloud services.
@@ -64,6 +86,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 Google Cloud services.
@@ -72,11 +96,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 Google Cloud services.
@@ -89,6 +115,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 Google Cloud services.
@@ -101,6 +129,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 Google Cloud services.
@@ -109,12 +139,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;
@@ -126,8 +156,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));
     }
@@ -141,8 +170,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -181,130 +209,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +354,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 @@ -341,9 +375,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -368,38 +405,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeMoveResponse result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -426,9 +464,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_); } @@ -460,25 +499,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.MoveAnalysis m = - input.readMessage( - com.google.cloud.asset.v1.MoveAnalysis.parser(), - extensionRegistry); - if (moveAnalysisBuilder_ == null) { - ensureMoveAnalysisIsMutable(); - moveAnalysis_.add(m); - } else { - moveAnalysisBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.MoveAnalysis m = + input.readMessage( + com.google.cloud.asset.v1.MoveAnalysis.parser(), extensionRegistry); + if (moveAnalysisBuilder_ == null) { + ensureMoveAnalysisIsMutable(); + moveAnalysis_.add(m); + } else { + moveAnalysisBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -488,21 +528,29 @@ public Builder mergeFrom( } // finally 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 Google Cloud services.
@@ -518,6 +566,8 @@ public java.util.List getMoveAnalysisLis
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -533,6 +583,8 @@ public int getMoveAnalysisCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -548,6 +600,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 Google Cloud services.
@@ -555,8 +609,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();
@@ -570,6 +623,8 @@ public Builder setMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -589,6 +644,8 @@ public Builder setMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -610,6 +667,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 Google Cloud services.
@@ -617,8 +676,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();
@@ -632,6 +690,8 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -639,8 +699,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());
@@ -651,6 +710,8 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -670,6 +731,8 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -681,8 +744,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);
@@ -690,6 +752,8 @@ public Builder addAllMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -708,6 +772,8 @@ public Builder clearMoveAnalysis() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Google Cloud services.
@@ -726,6 +792,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 Google Cloud services.
@@ -733,11 +801,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 Google Cloud services.
@@ -745,14 +814,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 Google Cloud services.
@@ -760,8 +831,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 {
@@ -769,6 +840,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 Google Cloud services.
@@ -777,10 +850,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 Google Cloud services.
@@ -788,12 +863,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 Google Cloud services.
@@ -801,27 +877,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);
     }
 
@@ -831,12 +910,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();
   }
@@ -845,27 +924,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AnalyzeMoveResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -880,6 +959,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AnalyzeMoveResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
index 760a8640d6a8..c39b026d7cc8 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
+++ b/java-asset/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 Google 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 Google 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 Google 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 Google 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 Google 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
similarity index 75%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
index deeb23de41f3..519bd2558826 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequest.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.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesRequest}
  */
-public final class AnalyzeOrgPoliciesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeOrgPoliciesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest)
     AnalyzeOrgPoliciesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPoliciesRequest.newBuilder() to construct.
   private AnalyzeOrgPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeOrgPoliciesRequest() {
     scope_ = "";
     constraint_ = "";
@@ -29,34 +47,38 @@ private AnalyzeOrgPoliciesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPoliciesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class,
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SCOPE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object scope_ = "";
   /**
+   *
+   *
    * 
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -64,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -72,14 +95,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 organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -87,16 +111,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 { @@ -105,9 +128,12 @@ public java.lang.String getScope() { } public static final int CONSTRAINT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object constraint_ = ""; /** + * + * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -115,6 +141,7 @@ public java.lang.String getScope() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ @java.lang.Override @@ -123,14 +150,15 @@ public java.lang.String getConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; } } /** + * + * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -138,16 +166,15 @@ public java.lang.String getConstraint() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ @java.lang.Override - public com.google.protobuf.ByteString - getConstraintBytes() { + public com.google.protobuf.ByteString getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); constraint_ = b; return b; } else { @@ -156,9 +183,12 @@ public java.lang.String getConstraint() { } public static final int FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -170,6 +200,7 @@ public java.lang.String getConstraint() {
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -178,14 +209,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; } } /** + * + * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -197,16 +229,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -217,6 +248,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -224,6 +257,7 @@ public java.lang.String getFilter() {
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -231,6 +265,8 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -238,6 +274,7 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -246,14 +283,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -262,29 +303,29 @@ 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 pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @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 { @@ -293,6 +334,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -340,8 +381,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (((bitField0_ & 0x00000001) != 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_); @@ -354,26 +394,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.AnalyzeOrgPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest other = (com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) obj; + com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest other = + (com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) obj; - if (!getScope() - .equals(other.getScope())) return false; - if (!getConstraint() - .equals(other.getConstraint())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getConstraint().equals(other.getConstraint())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() - != other.getPageSize()) return false; + if (getPageSize() != other.getPageSize()) return false; } - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,96 +439,103 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPoliciesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( com.google.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.AnalyzeOrgPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzeOrgPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -500,33 +543,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesRequest}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzeOrgPoliciesRequest)
       com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class,
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -540,9 +582,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_AnalyzeOrgPoliciesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -561,8 +603,11 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest result = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest result =
+          new com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -593,38 +638,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -632,7 +678,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.getDefaultInstance())
+        return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         bitField0_ |= 0x00000001;
@@ -682,37 +729,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              scope_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              constraint_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              filter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                scope_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                constraint_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -722,10 +775,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
+     *
+     *
      * 
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -733,13 +789,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; @@ -748,6 +804,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -755,15 +813,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 { @@ -771,6 +828,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -778,18 +837,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -797,6 +860,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -806,6 +870,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -813,12 +879,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -828,6 +896,8 @@ public Builder setScopeBytes( private java.lang.Object constraint_ = ""; /** + * + * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -835,13 +905,13 @@ public Builder setScopeBytes(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ public java.lang.String getConstraint() { java.lang.Object ref = constraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; @@ -850,6 +920,8 @@ public java.lang.String getConstraint() { } } /** + * + * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -857,15 +929,14 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ - public com.google.protobuf.ByteString - getConstraintBytes() { + public com.google.protobuf.ByteString getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); constraint_ = b; return b; } else { @@ -873,6 +944,8 @@ public java.lang.String getConstraint() { } } /** + * + * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -880,18 +953,22 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The constraint to set. * @return This builder for chaining. */ - public Builder setConstraint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConstraint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } constraint_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -899,6 +976,7 @@ public Builder setConstraint(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -908,6 +986,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * Required. The name of the constraint to analyze organization policies for.
      * The response only contains analyzed organization policies for the provided
@@ -915,12 +995,14 @@ public Builder clearConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for constraint to set. * @return This builder for chaining. */ - public Builder setConstraintBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConstraintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); constraint_ = value; bitField0_ |= 0x00000002; @@ -930,6 +1012,8 @@ public Builder setConstraintBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -941,13 +1025,13 @@ public Builder setConstraintBytes(
      * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -956,6 +1040,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -967,15 +1053,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -983,6 +1068,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -994,18 +1081,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1017,6 +1108,7 @@ public Builder setFilter(
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1026,6 +1118,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1037,12 +1131,14 @@ public Builder clearFilter() {
      * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1050,8 +1146,10 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1059,6 +1157,7 @@ public Builder setFilterBytes(
      * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1066,6 +1165,8 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1073,6 +1174,7 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1080,6 +1182,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1087,17 +1191,20 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -1105,6 +1212,7 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1116,18 +1224,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @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; @@ -1136,20 +1246,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @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 { @@ -1157,28 +1268,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1188,26 +1306,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest(); } @@ -1231,27 +1353,27 @@ public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1388,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java index cbeb18fb9b99..85ed845c95d6 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesRequestOrBuilder.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 AnalyzeOrgPoliciesRequestOrBuilder extends +public interface AnalyzeOrgPoliciesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -15,10 +33,13 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed.
@@ -26,12 +47,14 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -39,10 +62,13 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ java.lang.String getConstraint(); /** + * + * *
    * Required. The name of the constraint to analyze organization policies for.
    * The response only contains analyzed organization policies for the provided
@@ -50,12 +76,14 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ - com.google.protobuf.ByteString - getConstraintBytes(); + com.google.protobuf.ByteString getConstraintBytes(); /** + * + * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -67,10 +95,13 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The expression to filter
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -82,12 +113,14 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -95,10 +128,13 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
@@ -106,27 +142,33 @@ public interface AnalyzeOrgPoliciesRequestOrBuilder extends
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java index 493e1efb5527..a458e399911f 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.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 response message for
  * [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse}
  */
-public final class AnalyzeOrgPoliciesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeOrgPoliciesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse)
     AnalyzeOrgPoliciesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPoliciesResponse.newBuilder() to construct.
   private AnalyzeOrgPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeOrgPoliciesResponse() {
     orgPolicyResults_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,34 +45,38 @@ private AnalyzeOrgPoliciesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPoliciesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class,
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
   }
 
-  public interface OrgPolicyResultOrBuilder extends
+  public interface OrgPolicyResultOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -64,10 +86,13 @@ public interface OrgPolicyResultOrBuilder extends
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return Whether the consolidatedPolicy field is set. */ boolean hasConsolidatedPolicy(); /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -77,10 +102,13 @@ public interface OrgPolicyResultOrBuilder extends
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return The consolidatedPolicy. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy(); /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -94,6 +122,8 @@ public interface OrgPolicyResultOrBuilder extends
     com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder();
 
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -104,9 +134,10 @@ public interface OrgPolicyResultOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
-    java.util.List 
-        getPolicyBundleList();
+    java.util.List getPolicyBundleList();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -119,6 +150,8 @@ public interface OrgPolicyResultOrBuilder extends
      */
     com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index);
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -131,6 +164,8 @@ public interface OrgPolicyResultOrBuilder extends
      */
     int getPolicyBundleCount();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -141,9 +176,11 @@ public interface OrgPolicyResultOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
-    java.util.List 
+    java.util.List
         getPolicyBundleOrBuilderList();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -154,57 +191,62 @@ public interface OrgPolicyResultOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
-    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
-        int index);
+    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * The organization policy result to the query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult} */ - public static final class OrgPolicyResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class OrgPolicyResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) OrgPolicyResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OrgPolicyResult.newBuilder() to construct. private OrgPolicyResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OrgPolicyResult() { policyBundle_ = 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 OrgPolicyResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); } public static final int CONSOLIDATED_POLICY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -214,6 +256,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -221,6 +264,8 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -230,13 +275,18 @@ public boolean hasConsolidatedPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return The consolidatedPolicy. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { - return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; + return consolidatedPolicy_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() + : consolidatedPolicy_; } /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -249,13 +299,18 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() {
      */
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder() {
-      return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
+      return consolidatedPolicy_ == null
+          ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
+          : consolidatedPolicy_;
     }
 
     public static final int POLICY_BUNDLE_FIELD_NUMBER = 2;
+
     @SuppressWarnings("serial")
     private java.util.List policyBundle_;
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -271,6 +326,8 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -282,11 +339,13 @@ public java.util.List getPolicyBund
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getPolicyBundleOrBuilderList() {
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -302,6 +361,8 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -317,6 +378,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
       return policyBundle_.get(index);
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -334,6 +397,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -345,8 +409,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 (consolidatedPolicy_ != null) {
         output.writeMessage(1, getConsolidatedPolicy());
       }
@@ -363,12 +426,11 @@ public int getSerializedSize() {
 
       size = 0;
       if (consolidatedPolicy_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getConsolidatedPolicy());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConsolidatedPolicy());
       }
       for (int i = 0; i < policyBundle_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, policyBundle_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, policyBundle_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -378,20 +440,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.AnalyzeOrgPoliciesResponse.OrgPolicyResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other = (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) obj;
+      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other =
+          (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) obj;
 
       if (hasConsolidatedPolicy() != other.hasConsolidatedPolicy()) return false;
       if (hasConsolidatedPolicy()) {
-        if (!getConsolidatedPolicy()
-            .equals(other.getConsolidatedPolicy())) return false;
+        if (!getConsolidatedPolicy().equals(other.getConsolidatedPolicy())) return false;
       }
-      if (!getPolicyBundleList()
-          .equals(other.getPolicyBundleList())) return false;
+      if (!getPolicyBundleList().equals(other.getPolicyBundleList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -417,87 +478,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.nio.ByteBuffer 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
         com.google.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseDelimitedFrom(
-        java.io.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+        parseDelimitedFrom(
+            java.io.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder 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.AnalyzeOrgPoliciesResponse.OrgPolicyResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -507,39 +576,42 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * The organization policy result to the query.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult} */ - public static final class Builder extends - com.google.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult) com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.class, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -560,19 +632,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_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult build() { - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = buildPartial(); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -581,14 +656,18 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult buil @java.lang.Override public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult(this); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result = + new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { if (policyBundleBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { policyBundle_ = java.util.Collections.unmodifiableList(policyBundle_); @@ -600,12 +679,14 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli } } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.consolidatedPolicy_ = consolidatedPolicyBuilder_ == null - ? consolidatedPolicy_ - : consolidatedPolicyBuilder_.build(); + result.consolidatedPolicy_ = + consolidatedPolicyBuilder_ == null + ? consolidatedPolicy_ + : consolidatedPolicyBuilder_.build(); } } @@ -613,46 +694,53 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzeOrgPoliciesResponse.OrgPolicyResult) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)other); + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other) { - if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult other) { + if (other + == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult + .getDefaultInstance()) return this; if (other.hasConsolidatedPolicy()) { mergeConsolidatedPolicy(other.getConsolidatedPolicy()); } @@ -674,9 +762,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Or policyBundleBuilder_ = null; policyBundle_ = other.policyBundle_; bitField0_ = (bitField0_ & ~0x00000002); - policyBundleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPolicyBundleFieldBuilder() : null; + policyBundleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPolicyBundleFieldBuilder() + : null; } else { policyBundleBuilder_.addAllMessages(other.policyBundle_); } @@ -708,32 +797,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getConsolidatedPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1.AnalyzerOrgPolicy m = - input.readMessage( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), - extensionRegistry); - if (policyBundleBuilder_ == null) { - ensurePolicyBundleIsMutable(); - policyBundle_.add(m); - } else { - policyBundleBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getConsolidatedPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1.AnalyzerOrgPolicy m = + input.readMessage( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), extensionRegistry); + if (policyBundleBuilder_ == null) { + ensurePolicyBundleIsMutable(); + policyBundle_.add(m); + } else { + policyBundleBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -743,12 +833,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> consolidatedPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> + consolidatedPolicyBuilder_; /** + * + * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -758,12 +854,15 @@ public Builder mergeFrom(
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return Whether the consolidatedPolicy field is set. */ public boolean hasConsolidatedPolicy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -773,16 +872,21 @@ public boolean hasConsolidatedPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return The consolidatedPolicy. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { if (consolidatedPolicyBuilder_ == null) { - return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; + return consolidatedPolicy_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() + : consolidatedPolicy_; } else { return consolidatedPolicyBuilder_.getMessage(); } } /** + * + * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -807,6 +911,8 @@ public Builder setConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -829,6 +935,8 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -841,9 +949,10 @@ public Builder setConsolidatedPolicy(
        */
       public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (consolidatedPolicyBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            consolidatedPolicy_ != null &&
-            consolidatedPolicy_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && consolidatedPolicy_ != null
+              && consolidatedPolicy_
+                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
             getConsolidatedPolicyBuilder().mergeFrom(value);
           } else {
             consolidatedPolicy_ = value;
@@ -856,6 +965,8 @@ public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPoli
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -877,6 +988,8 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -893,6 +1006,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getConsolidatedPolicy
         return getConsolidatedPolicyFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -907,11 +1022,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
         if (consolidatedPolicyBuilder_ != null) {
           return consolidatedPolicyBuilder_.getMessageOrBuilder();
         } else {
-          return consolidatedPolicy_ == null ?
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
+          return consolidatedPolicy_ == null
+              ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
+              : consolidatedPolicy_;
         }
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -923,32 +1041,42 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
        * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
           getConsolidatedPolicyFieldBuilder() {
         if (consolidatedPolicyBuilder_ == null) {
-          consolidatedPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
-                  getConsolidatedPolicy(),
-                  getParentForChildren(),
-                  isClean());
+          consolidatedPolicyBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+                  getConsolidatedPolicy(), getParentForChildren(), isClean());
           consolidatedPolicy_ = null;
         }
         return consolidatedPolicyBuilder_;
       }
 
       private java.util.List policyBundle_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensurePolicyBundleIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
-          policyBundle_ = new java.util.ArrayList(policyBundle_);
+          policyBundle_ =
+              new java.util.ArrayList(policyBundle_);
           bitField0_ |= 0x00000002;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> policyBundleBuilder_;
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          policyBundleBuilder_;
 
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -967,6 +1095,8 @@ public java.util.List getPolicyBund
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -985,6 +1115,8 @@ public int getPolicyBundleCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1003,6 +1135,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1013,8 +1147,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public Builder setPolicyBundle(
-          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1028,6 +1161,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1050,6 +1185,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1074,6 +1211,8 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1084,8 +1223,7 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public Builder addPolicyBundle(
-          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1099,6 +1237,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1121,6 +1261,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1143,6 +1285,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1157,8 +1301,7 @@ public Builder addAllPolicyBundle(
           java.lang.Iterable values) {
         if (policyBundleBuilder_ == null) {
           ensurePolicyBundleIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, policyBundle_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBundle_);
           onChanged();
         } else {
           policyBundleBuilder_.addAllMessages(values);
@@ -1166,6 +1309,8 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1187,6 +1332,8 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1208,6 +1355,8 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1218,11 +1367,12 @@ public Builder removePolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(
-          int index) {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index) {
         return getPolicyBundleFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1236,11 +1386,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilde
       public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
           int index) {
         if (policyBundleBuilder_ == null) {
-          return policyBundle_.get(index);  } else {
+          return policyBundle_.get(index);
+        } else {
           return policyBundleBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1251,8 +1404,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public java.util.List 
-           getPolicyBundleOrBuilderList() {
+      public java.util.List
+          getPolicyBundleOrBuilderList() {
         if (policyBundleBuilder_ != null) {
           return policyBundleBuilder_.getMessageOrBuilderList();
         } else {
@@ -1260,6 +1413,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1271,10 +1426,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
       public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder() {
-        return getPolicyBundleFieldBuilder().addBuilder(
-            com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+        return getPolicyBundleFieldBuilder()
+            .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1285,12 +1442,13 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(
-          int index) {
-        return getPolicyBundleFieldBuilder().addBuilder(
-            index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index) {
+        return getPolicyBundleFieldBuilder()
+            .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1301,16 +1459,22 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
        */
-      public java.util.List 
-           getPolicyBundleBuilderList() {
+      public java.util.List
+          getPolicyBundleBuilderList() {
         return getPolicyBundleFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
           getPolicyBundleFieldBuilder() {
         if (policyBundleBuilder_ == null) {
-          policyBundleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+          policyBundleBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
                   policyBundle_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -1319,6 +1483,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
         }
         return policyBundleBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1331,41 +1496,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult)
-    private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult DEFAULT_INSTANCE;
+    private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult();
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstance() {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public OrgPolicyResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public OrgPolicyResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1377,16 +1545,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ORG_POLICY_RESULTS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
-  private java.util.List orgPolicyResults_;
+  private java.util.List
+      orgPolicyResults_;
   /**
+   *
+   *
    * 
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1394,13 +1566,18 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getD
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ @java.lang.Override - public java.util.List getOrgPolicyResultsList() { + public java.util.List + getOrgPolicyResultsList() { return orgPolicyResults_; } /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1408,14 +1585,19 @@ public java.util.List
    *
-   * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+   * 
+   * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>
       getOrgPolicyResultsOrBuilderList() {
     return orgPolicyResults_;
   }
   /**
+   *
+   *
    * 
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1423,13 +1605,17 @@ public java.util.List
    *
-   * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+   * 
+   * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+   * 
    */
   @java.lang.Override
   public int getOrgPolicyResultsCount() {
     return orgPolicyResults_.size();
   }
   /**
+   *
+   *
    * 
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1437,13 +1623,18 @@ public int getOrgPolicyResultsCount() {
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults( + int index) { return orgPolicyResults_.get(index); } /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -1451,22 +1642,27 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder + getOrgPolicyResultsOrBuilder(int index) { return orgPolicyResults_.get(index); } public static final int CONSTRAINT_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ @java.lang.Override @@ -1474,18 +1670,25 @@ public boolean hasConstraint() { return constraint_ != null; } /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } /** + * + * *
    * The definition of the constraint in the request.
    * 
@@ -1494,19 +1697,25 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder() { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -1515,30 +1724,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; } } /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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 { @@ -1547,6 +1756,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1558,8 +1768,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 < orgPolicyResults_.size(); i++) { output.writeMessage(1, orgPolicyResults_.get(i)); } @@ -1579,12 +1788,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < orgPolicyResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, orgPolicyResults_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, orgPolicyResults_.get(i)); } if (constraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConstraint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -1597,22 +1804,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.AnalyzeOrgPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse other = (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) obj; + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse other = + (com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) obj; - if (!getOrgPolicyResultsList() - .equals(other.getOrgPolicyResultsList())) return false; + if (!getOrgPolicyResultsList().equals(other.getOrgPolicyResultsList())) return false; if (hasConstraint() != other.hasConstraint()) return false; if (hasConstraint()) { - if (!getConstraint() - .equals(other.getConstraint())) return false; + if (!getConstraint().equals(other.getConstraint())) return false; } - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1640,96 +1845,103 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPoliciesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( com.google.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.AnalyzeOrgPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzeOrgPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].
@@ -1737,33 +1949,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPoliciesResponse}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzeOrgPoliciesResponse)
       com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class,
+              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1785,9 +1996,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_AnalyzeOrgPoliciesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -1806,14 +2017,18 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse(this);
+      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result =
+          new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result) {
       if (orgPolicyResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           orgPolicyResults_ = java.util.Collections.unmodifiableList(orgPolicyResults_);
@@ -1828,9 +2043,7 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli
     private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.constraint_ = constraintBuilder_ == null
-            ? constraint_
-            : constraintBuilder_.build();
+        result.constraint_ = constraintBuilder_ == null ? constraint_ : constraintBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -1841,38 +2054,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzeOrgPoliciesResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1880,7 +2094,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.getDefaultInstance())
+        return this;
       if (orgPolicyResultsBuilder_ == null) {
         if (!other.orgPolicyResults_.isEmpty()) {
           if (orgPolicyResults_.isEmpty()) {
@@ -1899,9 +2114,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse ot
             orgPolicyResultsBuilder_ = null;
             orgPolicyResults_ = other.orgPolicyResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyResultsFieldBuilder() : null;
+            orgPolicyResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyResultsFieldBuilder()
+                    : null;
           } else {
             orgPolicyResultsBuilder_.addAllMessages(other.orgPolicyResults_);
           }
@@ -1941,37 +2157,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.parser(),
-                      extensionRegistry);
-              if (orgPolicyResultsBuilder_ == null) {
-                ensureOrgPolicyResultsIsMutable();
-                orgPolicyResults_.add(m);
-              } else {
-                orgPolicyResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getConstraintFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+                            .parser(),
+                        extensionRegistry);
+                if (orgPolicyResultsBuilder_ == null) {
+                  ensureOrgPolicyResultsIsMutable();
+                  orgPolicyResults_.add(m);
+                } else {
+                  orgPolicyResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getConstraintFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1981,21 +2200,31 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List orgPolicyResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        orgPolicyResults_ = java.util.Collections.emptyList();
+
     private void ensureOrgPolicyResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        orgPolicyResults_ = new java.util.ArrayList(orgPolicyResults_);
+        orgPolicyResults_ =
+            new java.util.ArrayList<
+                com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult>(
+                orgPolicyResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> orgPolicyResultsBuilder_;
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult,
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder,
+            com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>
+        orgPolicyResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2003,9 +2232,12 @@ private void ensureOrgPolicyResultsIsMutable() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public java.util.List getOrgPolicyResultsList() { + public java.util.List + getOrgPolicyResultsList() { if (orgPolicyResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(orgPolicyResults_); } else { @@ -2013,6 +2245,8 @@ public java.util.List * The organization policies under the * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope] @@ -2020,7 +2254,9 @@ public java.util.List * - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public int getOrgPolicyResultsCount() { if (orgPolicyResultsBuilder_ == null) { @@ -2030,6 +2266,8 @@ public int getOrgPolicyResultsCount() { } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2037,9 +2275,12 @@ public int getOrgPolicyResultsCount() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults( + int index) { if (orgPolicyResultsBuilder_ == null) { return orgPolicyResults_.get(index); } else { @@ -2047,6 +2288,8 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2054,7 +2297,9 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder setOrgPolicyResults( int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { @@ -2071,6 +2316,8 @@ public Builder setOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2078,10 +2325,14 @@ public Builder setOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder setOrgPolicyResults( - int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder + builderForValue) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); orgPolicyResults_.set(index, builderForValue.build()); @@ -2092,6 +2343,8 @@ public Builder setOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2099,9 +2352,12 @@ public Builder setOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public Builder addOrgPolicyResults(com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { + public Builder addOrgPolicyResults( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { if (orgPolicyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2115,6 +2371,8 @@ public Builder addOrgPolicyResults(com.google.cloud.asset.v1.AnalyzeOrgPoliciesR return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2122,7 +2380,9 @@ public Builder addOrgPolicyResults(com.google.cloud.asset.v1.AnalyzeOrgPoliciesR
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder addOrgPolicyResults( int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult value) { @@ -2139,6 +2399,8 @@ public Builder addOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2146,10 +2408,13 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder addOrgPolicyResults( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder + builderForValue) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); orgPolicyResults_.add(builderForValue.build()); @@ -2160,6 +2425,8 @@ public Builder addOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2167,10 +2434,14 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder addOrgPolicyResults( - int index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder + builderForValue) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); orgPolicyResults_.add(index, builderForValue.build()); @@ -2181,6 +2452,8 @@ public Builder addOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2188,14 +2461,17 @@ public Builder addOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder addAllOrgPolicyResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult> + values) { if (orgPolicyResultsBuilder_ == null) { ensureOrgPolicyResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, orgPolicyResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicyResults_); onChanged(); } else { orgPolicyResultsBuilder_.addAllMessages(values); @@ -2203,6 +2479,8 @@ public Builder addAllOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2210,7 +2488,9 @@ public Builder addAllOrgPolicyResults(
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder clearOrgPolicyResults() { if (orgPolicyResultsBuilder_ == null) { @@ -2223,6 +2503,8 @@ public Builder clearOrgPolicyResults() { return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2230,7 +2512,9 @@ public Builder clearOrgPolicyResults() {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ public Builder removeOrgPolicyResults(int index) { if (orgPolicyResultsBuilder_ == null) { @@ -2243,6 +2527,8 @@ public Builder removeOrgPolicyResults(int index) { return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2250,13 +2536,17 @@ public Builder removeOrgPolicyResults(int index) {
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder getOrgPolicyResultsBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder + getOrgPolicyResultsBuilder(int index) { return getOrgPolicyResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2264,16 +2554,21 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Buil
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder + getOrgPolicyResultsOrBuilder(int index) { if (orgPolicyResultsBuilder_ == null) { - return orgPolicyResults_.get(index); } else { + return orgPolicyResults_.get(index); + } else { return orgPolicyResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2281,10 +2576,13 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBui
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public java.util.List - getOrgPolicyResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> + getOrgPolicyResultsOrBuilderList() { if (orgPolicyResultsBuilder_ != null) { return orgPolicyResultsBuilder_.getMessageOrBuilderList(); } else { @@ -2292,6 +2590,8 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBui } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2299,13 +2599,20 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBui
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addOrgPolicyResultsBuilder() { - return getOrgPolicyResultsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder + addOrgPolicyResultsBuilder() { + return getOrgPolicyResultsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult + .getDefaultInstance()); } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2313,14 +2620,21 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Buil
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addOrgPolicyResultsBuilder( - int index) { - return getOrgPolicyResultsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder + addOrgPolicyResultsBuilder(int index) { + return getOrgPolicyResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult + .getDefaultInstance()); } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2328,18 +2642,27 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Buil
      * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - public java.util.List - getOrgPolicyResultsBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder> + getOrgPolicyResultsBuilderList() { return getOrgPolicyResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> getOrgPolicyResultsFieldBuilder() { if (orgPolicyResultsBuilder_ == null) { - orgPolicyResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>( + orgPolicyResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder, + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder>( orgPolicyResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2351,34 +2674,47 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Buil private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> constraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + constraintBuilder_; /** + * + * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ public boolean hasConstraint() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { if (constraintBuilder_ == null) { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } else { return constraintBuilder_.getMessage(); } } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2399,6 +2735,8 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2417,6 +2755,8 @@ public Builder setConstraint( return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2425,9 +2765,10 @@ public Builder setConstraint( */ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint value) { if (constraintBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - constraint_ != null && - constraint_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && constraint_ != null + && constraint_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { getConstraintBuilder().mergeFrom(value); } else { constraint_ = value; @@ -2440,6 +2781,8 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2457,6 +2800,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2469,6 +2814,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2479,11 +2826,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilder(); } else { - return constraint_ == null ? - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2491,14 +2841,17 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { - constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( - getConstraint(), - getParentForChildren(), - isClean()); + constraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( + getConstraint(), getParentForChildren(), isClean()); constraint_ = null; } return constraintBuilder_; @@ -2506,19 +2859,21 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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; @@ -2527,21 +2882,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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 { @@ -2549,30 +2905,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -2582,27 +2945,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2612,12 +2979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) private static final com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse(); } @@ -2626,27 +2993,27 @@ public static com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2661,6 +3028,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java index 51f2a4fff80d..545f2682f8f3 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponseOrBuilder.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 AnalyzeOrgPoliciesResponseOrBuilder extends +public interface AnalyzeOrgPoliciesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -15,11 +33,15 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder extends
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - java.util.List + java.util.List getOrgPolicyResultsList(); /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -27,10 +49,15 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder extends
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults( + int index); /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -38,10 +65,14 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder extends
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ int getOrgPolicyResultsCount(); /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -49,11 +80,16 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder extends
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> getOrgPolicyResultsOrBuilderList(); /** + * + * *
    * The organization policies under the
    * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -61,30 +97,40 @@ public interface AnalyzeOrgPoliciesResponseOrBuilder extends
    * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder( - int index); + com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder + getOrgPolicyResultsOrBuilder(int index); /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ boolean hasConstraint(); /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint(); /** + * + * *
    * The definition of the constraint in the request.
    * 
@@ -94,24 +140,29 @@ com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder ge com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder(); /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java index da3917b7a95f..3432ccf6e0ae 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequest.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.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest}
  */
-public final class AnalyzeOrgPolicyGovernedAssetsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeOrgPolicyGovernedAssetsRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest)
     AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedAssetsRequest.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedAssetsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeOrgPolicyGovernedAssetsRequest() {
     scope_ = "";
     constraint_ = "";
@@ -29,34 +49,38 @@ private AnalyzeOrgPolicyGovernedAssetsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedAssetsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SCOPE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object scope_ = "";
   /**
+   *
+   *
    * 
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -66,6 +90,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -74,14 +99,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 organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -91,16 +117,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 { @@ -109,9 +134,12 @@ public java.lang.String getScope() { } public static final int CONSTRAINT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object constraint_ = ""; /** + * + * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -119,6 +147,7 @@ public java.lang.String getScope() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ @java.lang.Override @@ -127,14 +156,15 @@ public java.lang.String getConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; } } /** + * + * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -142,16 +172,15 @@ public java.lang.String getConstraint() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ @java.lang.Override - public com.google.protobuf.ByteString - getConstraintBytes() { + public com.google.protobuf.ByteString getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); constraint_ = b; return b; } else { @@ -160,9 +189,12 @@ public java.lang.String getConstraint() { } public static final int FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -177,6 +209,7 @@ public java.lang.String getConstraint() {
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -185,14 +218,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; } } /** + * + * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -207,16 +241,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -227,6 +260,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -234,6 +269,7 @@ public java.lang.String getFilter() {
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -241,6 +277,8 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -248,6 +286,7 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -256,14 +295,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -272,29 +315,29 @@ 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 pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @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 { @@ -303,6 +346,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +358,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_); } @@ -350,8 +393,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (((bitField0_ & 0x00000001) != 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_); @@ -364,26 +406,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.AnalyzeOrgPolicyGovernedAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other = + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) obj; - if (!getScope() - .equals(other.getScope())) return false; - if (!getConstraint() - .equals(other.getConstraint())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getConstraint().equals(other.getConstraint())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() - != other.getPageSize()) return false; + if (getPageSize() != other.getPageSize()) return false; } - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,96 +451,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( com.google.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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedAssetsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -510,33 +556,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzeOrgPolicyGovernedAssetsRequest)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class,
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -550,13 +595,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_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance();
     }
 
@@ -571,13 +617,17 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result =
+          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.scope_ = scope_;
@@ -603,46 +653,50 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAss
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzeOrgPolicyGovernedAssetsRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest other) {
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance())
+        return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         bitField0_ |= 0x00000001;
@@ -692,37 +746,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              scope_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              constraint_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              filter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                scope_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                constraint_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -732,10 +792,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
+     *
+     *
      * 
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -745,13 +808,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; @@ -760,6 +823,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -769,15 +834,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 { @@ -785,6 +849,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -794,18 +860,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -815,6 +885,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -824,6 +895,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output assets will
@@ -833,12 +906,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -848,6 +923,8 @@ public Builder setScopeBytes( private java.lang.Object constraint_ = ""; /** + * + * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -855,13 +932,13 @@ public Builder setScopeBytes(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ public java.lang.String getConstraint() { java.lang.Object ref = constraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; @@ -870,6 +947,8 @@ public java.lang.String getConstraint() { } } /** + * + * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -877,15 +956,14 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ - public com.google.protobuf.ByteString - getConstraintBytes() { + public com.google.protobuf.ByteString getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); constraint_ = b; return b; } else { @@ -893,6 +971,8 @@ public java.lang.String getConstraint() { } } /** + * + * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -900,18 +980,22 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The constraint to set. * @return This builder for chaining. */ - public Builder setConstraint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConstraint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } constraint_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -919,6 +1003,7 @@ public Builder setConstraint(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -928,6 +1013,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * Required. The name of the constraint to analyze governed assets for. The
      * analysis only contains analyzed organization policies for the provided
@@ -935,12 +1022,14 @@ public Builder clearConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for constraint to set. * @return This builder for chaining. */ - public Builder setConstraintBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConstraintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); constraint_ = value; bitField0_ |= 0x00000002; @@ -950,6 +1039,8 @@ public Builder setConstraintBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -964,13 +1055,13 @@ public Builder setConstraintBytes(
      * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -979,6 +1070,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -993,15 +1086,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1009,6 +1101,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1023,18 +1117,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1049,6 +1147,7 @@ public Builder setFilter(
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1058,6 +1157,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The expression to filter the governed assets in result. The only supported
      * fields for governed resources are `governed_resource.project` and
@@ -1072,12 +1173,14 @@ public Builder clearFilter() {
      * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1085,8 +1188,10 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1094,6 +1199,7 @@ public Builder setFilterBytes(
      * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1101,6 +1207,8 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1108,6 +1216,7 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1115,6 +1224,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1122,17 +1233,20 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1140,6 +1254,7 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1151,18 +1266,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @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; @@ -1171,20 +1288,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @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 { @@ -1192,28 +1310,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1223,26 +1348,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1252,41 +1381,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1298,9 +1429,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java index cfc5a1f78da9..dcdb5ba0f434 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.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 AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends +public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -17,10 +35,13 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output assets will
@@ -30,12 +51,14 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -43,10 +66,13 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ java.lang.String getConstraint(); /** + * + * *
    * Required. The name of the constraint to analyze governed assets for. The
    * analysis only contains analyzed organization policies for the provided
@@ -54,12 +80,14 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ - com.google.protobuf.ByteString - getConstraintBytes(); + com.google.protobuf.ByteString getConstraintBytes(); /** + * + * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -74,10 +102,13 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The expression to filter the governed assets in result. The only supported
    * fields for governed resources are `governed_resource.project` and
@@ -92,12 +123,14 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -105,10 +138,13 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -116,27 +152,33 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java similarity index 69% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java index 3c3a4febc13e..4dad0832cf1f 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponse.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 response message for
  * [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse}
  */
-public final class AnalyzeOrgPolicyGovernedAssetsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeOrgPolicyGovernedAssetsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse)
     AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedAssetsResponse.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedAssetsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeOrgPolicyGovernedAssetsResponse() {
     governedAssets_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,34 +47,38 @@ private AnalyzeOrgPolicyGovernedAssetsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedAssetsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
   }
 
-  public interface GovernedResourceOrBuilder extends
+  public interface GovernedResourceOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -62,10 +86,13 @@ public interface GovernedResourceOrBuilder 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) of
@@ -73,12 +100,14 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -87,10 +116,13 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string parent = 2; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -99,12 +131,14 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string parent = 2; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -112,10 +146,13 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string project = 5; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
      * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -123,12 +160,14 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string project = 5; + * * @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 format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -136,11 +175,13 @@ public interface GovernedResourceOrBuilder extends
      * 
* * repeated string folders = 6; + * * @return A list containing the folders. */ - java.util.List - getFoldersList(); + java.util.List getFoldersList(); /** + * + * *
      * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -148,10 +189,13 @@ public interface GovernedResourceOrBuilder extends
      * 
* * repeated string folders = 6; + * * @return The count of folders. */ int getFoldersCount(); /** + * + * *
      * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -159,11 +203,14 @@ public interface GovernedResourceOrBuilder 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 this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -171,13 +218,15 @@ public interface GovernedResourceOrBuilder 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 this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -185,10 +234,13 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string organization = 7; + * * @return The organization. */ java.lang.String getOrganization(); /** + * + * *
      * The organization that this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -196,28 +248,32 @@ public interface GovernedResourceOrBuilder extends
      * 
* * string organization = 7; + * * @return The bytes for organization. */ - com.google.protobuf.ByteString - getOrganizationBytes(); + com.google.protobuf.ByteString getOrganizationBytes(); } /** + * + * *
    * The Google Cloud resources governed by the organization policies of the
    * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
    * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} */ - public static final class GovernedResource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GovernedResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) GovernedResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedResource.newBuilder() to construct. private GovernedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GovernedResource() { fullResourceName_ = ""; parent_ = ""; @@ -228,33 +284,39 @@ private GovernedResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernedResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fullResourceName_ = ""; /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -262,6 +324,7 @@ protected java.lang.Object newInstance(
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -270,14 +333,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) of
@@ -285,16 +349,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 { @@ -303,9 +366,12 @@ public java.lang.String getFullResourceName() { } public static final int PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -314,6 +380,7 @@ public java.lang.String getFullResourceName() {
      * 
* * string parent = 2; + * * @return The parent. */ @java.lang.Override @@ -322,14 +389,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 resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -338,16 +406,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 2; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -356,9 +423,12 @@ public java.lang.String getParent() { } public static final int PROJECT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
      * The project that this resource belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -366,6 +436,7 @@ public java.lang.String getParent() {
      * 
* * string project = 5; + * * @return The project. */ @java.lang.Override @@ -374,14 +445,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 format of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -389,16 +461,15 @@ public java.lang.String getProject() {
      * 
* * string project = 5; + * * @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 { @@ -407,9 +478,12 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList folders_; /** + * + * *
      * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -417,13 +491,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 this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -431,12 +507,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 this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -444,6 +523,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -451,6 +531,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
      * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -458,18 +540,21 @@ 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; + @SuppressWarnings("serial") private volatile java.lang.Object organization_ = ""; /** + * + * *
      * The organization that this resource belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -477,6 +562,7 @@ public java.lang.String getFolders(int index) {
      * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -485,14 +571,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 format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -500,16 +587,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 { @@ -518,6 +604,7 @@ public java.lang.String getOrganization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,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(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -583,23 +669,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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)) { + if (!(obj + instanceof + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) obj; - - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; - if (!getParent() - .equals(other.getParent())) 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other = + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) obj; + + if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getFoldersList().equals(other.getFoldersList())) return false; + if (!getOrganization().equals(other.getOrganization())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -628,88 +712,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseFrom( + com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -719,40 +817,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The Google Cloud resources governed by the organization policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource} */ - public static final class Builder extends - com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -767,19 +871,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_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -787,15 +895,22 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource(this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result = + new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + result) { if (((bitField0_ & 0x00000008) != 0)) { folders_ = folders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -803,7 +918,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli result.folders_ = folders_; } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; @@ -823,46 +940,56 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAss public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)other); + if (other + instanceof + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other) { - if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource other) { + if (other + == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; bitField0_ |= 0x00000001; @@ -919,38 +1046,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 42: { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 50 - case 58: { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 42: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 50 + case 58: + { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -960,10 +1093,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -971,13 +1107,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; @@ -986,6 +1122,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -993,15 +1131,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 { @@ -1009,6 +1146,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1016,18 +1155,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1035,6 +1178,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1044,6 +1188,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1051,12 +1197,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -1066,6 +1214,8 @@ public Builder setFullResourceNameBytes( private java.lang.Object parent_ = ""; /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1074,13 +1224,13 @@ public Builder setFullResourceNameBytes(
        * 
* * string parent = 2; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1089,6 +1239,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1097,15 +1249,14 @@ public java.lang.String getParent() {
        * 
* * string parent = 2; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1113,6 +1264,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1121,18 +1274,22 @@ public java.lang.String getParent() {
        * 
* * string parent = 2; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1141,6 +1298,7 @@ public Builder setParent(
        * 
* * string parent = 2; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1150,6 +1308,8 @@ public Builder clearParent() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1158,12 +1318,14 @@ public Builder clearParent() {
        * 
* * string parent = 2; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -1173,6 +1335,8 @@ public Builder setParentBytes( private java.lang.Object project_ = ""; /** + * + * *
        * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -1180,13 +1344,13 @@ public Builder setParentBytes(
        * 
* * string project = 5; + * * @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; @@ -1195,6 +1359,8 @@ public java.lang.String getProject() { } } /** + * + * *
        * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -1202,15 +1368,14 @@ public java.lang.String getProject() {
        * 
* * string project = 5; + * * @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 { @@ -1218,6 +1383,8 @@ public java.lang.String getProject() { } } /** + * + * *
        * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -1225,18 +1392,22 @@ public java.lang.String getProject() {
        * 
* * string project = 5; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -1244,6 +1415,7 @@ public Builder setProject(
        * 
* * string project = 5; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1253,6 +1425,8 @@ public Builder clearProject() { return this; } /** + * + * *
        * The project that this resource belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -1260,12 +1434,14 @@ public Builder clearProject() {
        * 
* * string project = 5; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -1273,14 +1449,18 @@ public Builder setProjectBytes( 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1288,13 +1468,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 this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1302,12 +1484,15 @@ private void ensureFoldersIsMutable() {
        * 
* * repeated string folders = 6; + * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1315,6 +1500,7 @@ public int getFoldersCount() {
        * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1322,6 +1508,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1329,14 +1517,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 this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1344,19 +1534,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFolders(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1364,18 +1558,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFolders(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1383,18 +1581,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 this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1402,6 +1601,7 @@ public Builder addAllFolders(
        * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { @@ -1411,6 +1611,8 @@ public Builder clearFolders() { return this; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1418,12 +1620,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFoldersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -1433,6 +1637,8 @@ public Builder addFoldersBytes( private java.lang.Object organization_ = ""; /** + * + * *
        * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1440,13 +1646,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; @@ -1455,6 +1661,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
        * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1462,15 +1670,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 { @@ -1478,6 +1685,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
        * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1485,18 +1694,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganization(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1504,6 +1717,7 @@ public Builder setOrganization(
        * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -1513,6 +1727,8 @@ public Builder clearOrganization() { return this; } /** + * + * *
        * The organization that this resource belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1520,18 +1736,21 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1544,41 +1763,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource(); - } + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResource + DEFAULT_INSTANCE; - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstance() { - return DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource(); } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GovernedResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GovernedResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1590,17 +1814,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GovernedIamPolicyOrBuilder extends + public interface GovernedIamPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -1611,10 +1838,13 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string attached_resource = 1; + * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -1625,30 +1855,38 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string attached_resource = 1; + * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString - getAttachedResourceBytes(); + com.google.protobuf.ByteString getAttachedResourceBytes(); /** + * + * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; + * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** + * + * *
      * The IAM policy directly set on the given resource.
      * 
@@ -1658,6 +1896,8 @@ public interface GovernedIamPolicyOrBuilder extends com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder(); /** + * + * *
      * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -1665,10 +1905,13 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string project = 5; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
      * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -1676,12 +1919,14 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string project = 5; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
      * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1689,11 +1934,13 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * repeated string folders = 6; + * * @return A list containing the folders. */ - java.util.List - getFoldersList(); + java.util.List getFoldersList(); /** + * + * *
      * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1701,10 +1948,13 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * repeated string folders = 6; + * * @return The count of folders. */ int getFoldersCount(); /** + * + * *
      * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1712,11 +1962,14 @@ public interface GovernedIamPolicyOrBuilder 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 this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1724,13 +1977,15 @@ public interface GovernedIamPolicyOrBuilder 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 this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1738,10 +1993,13 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string organization = 7; + * * @return The organization. */ java.lang.String getOrganization(); /** + * + * *
      * The organization that this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -1749,28 +2007,32 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string organization = 7; + * * @return The bytes for organization. */ - com.google.protobuf.ByteString - getOrganizationBytes(); + com.google.protobuf.ByteString getOrganizationBytes(); } /** + * + * *
    * The IAM policies governed by the organization policies of the
    * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
    * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} */ - public static final class GovernedIamPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GovernedIamPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) GovernedIamPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedIamPolicy.newBuilder() to construct. private GovernedIamPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GovernedIamPolicy() { attachedResource_ = ""; project_ = ""; @@ -1780,33 +2042,39 @@ private GovernedIamPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernedIamPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .Builder.class); } public static final int ATTACHED_RESOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object attachedResource_ = ""; /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -1817,6 +2085,7 @@ protected java.lang.Object newInstance(
      * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -1825,14 +2094,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 of the resource associated with this IAM policy.
      * Example:
@@ -1843,16 +2113,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 { @@ -1863,11 +2132,14 @@ public java.lang.String getAttachedResource() { public static final int POLICY_FIELD_NUMBER = 2; private com.google.iam.v1.Policy policy_; /** + * + * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -1875,11 +2147,14 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
      * The IAM policy directly set on the given resource.
      * 
* * .google.iam.v1.Policy policy = 2; + * * @return The policy. */ @java.lang.Override @@ -1887,6 +2162,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.
      * 
@@ -1899,9 +2176,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { } public static final int PROJECT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
      * The project that this IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -1909,6 +2189,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * 
* * string project = 5; + * * @return The project. */ @java.lang.Override @@ -1917,14 +2198,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 IAM policy belongs to, in the format of
      * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -1932,16 +2214,15 @@ public java.lang.String getProject() {
      * 
* * string project = 5; + * * @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 { @@ -1950,9 +2231,12 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList folders_; /** + * + * *
      * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1960,13 +2244,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 this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1974,12 +2260,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 this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1987,6 +2276,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1994,6 +2284,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
      * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2001,18 +2293,21 @@ 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; + @SuppressWarnings("serial") private volatile java.lang.Object organization_ = ""; /** + * + * *
      * The organization that this IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -2020,6 +2315,7 @@ public java.lang.String getFolders(int index) {
      * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -2028,14 +2324,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 IAM policy belongs to, in the format of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -2043,16 +2340,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 { @@ -2061,6 +2357,7 @@ public java.lang.String getOrganization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2072,8 +2369,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_); } @@ -2102,8 +2398,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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, project_); @@ -2127,26 +2422,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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)) { + if (!(obj + instanceof + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other = + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) 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 (!getProject() - .equals(other.getProject())) return false; - if (!getFoldersList() - .equals(other.getFoldersList())) return false; - if (!getOrganization() - .equals(other.getOrganization())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getFoldersList().equals(other.getFoldersList())) return false; + if (!getOrganization().equals(other.getOrganization())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2177,88 +2470,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseFrom( + com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2268,40 +2575,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The IAM policies governed by the organization policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy} */ - public static final class Builder extends - com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2320,19 +2634,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_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2340,15 +2658,22 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy(this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result = + new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + result) { if (((bitField0_ & 0x00000008) != 0)) { folders_ = folders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -2356,15 +2681,15 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli result.folders_ = folders_; } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attachedResource_ = attachedResource_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.policy_ = policyBuilder_ == null - ? policy_ - : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.project_ = project_; @@ -2378,46 +2703,57 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAss public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)other); + if (other + instanceof + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other) { - if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + other) { + if (other + == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance()) return this; if (!other.getAttachedResource().isEmpty()) { attachedResource_ = other.attachedResource_; bitField0_ |= 0x00000001; @@ -2472,40 +2808,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - attachedResource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 42: { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 50 - case 58: { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + attachedResource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 42: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 50 + case 58: + { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2515,10 +2855,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object attachedResource_ = ""; /** + * + * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2529,13 +2872,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; @@ -2544,6 +2887,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2554,15 +2899,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 { @@ -2570,6 +2914,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2580,18 +2926,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2602,6 +2952,7 @@ public Builder setAttachedResource(
        * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -2611,6 +2962,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
        * The full resource name of the resource associated with this IAM policy.
        * Example:
@@ -2621,12 +2974,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedResource_ = value; bitField0_ |= 0x00000001; @@ -2636,24 +2991,33 @@ 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 directly set on the given resource.
        * 
* * .google.iam.v1.Policy policy = 2; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
* * .google.iam.v1.Policy policy = 2; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -2664,6 +3028,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2684,14 +3050,15 @@ public Builder setPolicy(com.google.iam.v1.Policy value) { return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
* * .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(); } else { @@ -2702,6 +3069,8 @@ public Builder setPolicy( return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2710,9 +3079,9 @@ public Builder setPolicy( */ public Builder mergePolicy(com.google.iam.v1.Policy value) { if (policyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - policy_ != null && - policy_ != com.google.iam.v1.Policy.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && policy_ != null + && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) { getPolicyBuilder().mergeFrom(value); } else { policy_ = value; @@ -2725,6 +3094,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) { return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2742,6 +3113,8 @@ public Builder clearPolicy() { return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2754,6 +3127,8 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() { return getPolicyFieldBuilder().getBuilder(); } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2764,11 +3139,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.
        * 
@@ -2776,14 +3152,17 @@ 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_; @@ -2791,6 +3170,8 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { private java.lang.Object project_ = ""; /** + * + * *
        * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -2798,13 +3179,13 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
        * 
* * string project = 5; + * * @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; @@ -2813,6 +3194,8 @@ public java.lang.String getProject() { } } /** + * + * *
        * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -2820,15 +3203,14 @@ public java.lang.String getProject() {
        * 
* * string project = 5; + * * @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 { @@ -2836,6 +3218,8 @@ public java.lang.String getProject() { } } /** + * + * *
        * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -2843,18 +3227,22 @@ public java.lang.String getProject() {
        * 
* * string project = 5; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -2862,6 +3250,7 @@ public Builder setProject(
        * 
* * string project = 5; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -2871,6 +3260,8 @@ public Builder clearProject() { return this; } /** + * + * *
        * The project that this IAM policy belongs to, in the format of
        * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
@@ -2878,12 +3269,14 @@ public Builder clearProject() {
        * 
* * string project = 5; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -2891,14 +3284,18 @@ public Builder setProjectBytes( 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2906,13 +3303,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 this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2920,12 +3319,15 @@ private void ensureFoldersIsMutable() {
        * 
* * repeated string folders = 6; + * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** + * + * *
        * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2933,6 +3335,7 @@ public int getFoldersCount() {
        * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2940,6 +3343,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
        * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2947,14 +3352,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 this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2962,19 +3369,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFolders(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** + * + * *
        * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2982,18 +3393,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFolders(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** + * + * *
        * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3001,18 +3416,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 this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3020,6 +3436,7 @@ public Builder addAllFolders(
        * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3029,6 +3446,8 @@ public Builder clearFolders() { return this; } /** + * + * *
        * The folder(s) that this IAM policy belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3036,12 +3455,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFoldersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -3051,6 +3472,8 @@ public Builder addFoldersBytes( private java.lang.Object organization_ = ""; /** + * + * *
        * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3058,13 +3481,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; @@ -3073,6 +3496,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
        * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3080,15 +3505,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 { @@ -3096,6 +3520,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
        * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3103,18 +3529,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganization(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3122,6 +3552,7 @@ public Builder setOrganization(
        * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3131,6 +3562,8 @@ public Builder clearOrganization() { return this; } /** + * + * *
        * The organization that this IAM policy belongs to, in the format of
        * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3138,18 +3571,21 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3162,41 +3598,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GovernedIamPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GovernedIamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3208,83 +3649,118 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GovernedAssetOrBuilder extends + public interface GovernedAssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * * @return Whether the governedResource field is set. */ boolean hasGovernedResource(); /** + * + * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * * @return The governedResource. */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + getGovernedResource(); /** + * + * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder + getGovernedResourceOrBuilder(); /** + * + * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * * @return Whether the governedIamPolicy field is set. */ boolean hasGovernedIamPolicy(); /** + * + * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * * @return The governedIamPolicy. */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + getGovernedIamPolicy(); /** + * + * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder(); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder + getGovernedIamPolicyOrBuilder(); /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3294,10 +3770,13 @@ public interface GovernedAssetOrBuilder extends
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ boolean hasConsolidatedPolicy(); /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3307,10 +3786,13 @@ public interface GovernedAssetOrBuilder extends
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return The consolidatedPolicy. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy(); /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3324,6 +3806,8 @@ public interface GovernedAssetOrBuilder extends
     com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder();
 
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3334,9 +3818,10 @@ public interface GovernedAssetOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List 
-        getPolicyBundleList();
+    java.util.List getPolicyBundleList();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3349,6 +3834,8 @@ public interface GovernedAssetOrBuilder extends
      */
     com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index);
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3361,6 +3848,8 @@ public interface GovernedAssetOrBuilder extends
      */
     int getPolicyBundleCount();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3371,9 +3860,11 @@ public interface GovernedAssetOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List 
+    java.util.List
         getPolicyBundleOrBuilderList();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3384,67 +3875,77 @@ public interface GovernedAssetOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
-        int index);
+    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index);
 
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase getGovernedAssetCase();
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+            .GovernedAssetCase
+        getGovernedAssetCase();
   }
   /**
+   *
+   *
    * 
    * Represents a Google Cloud asset(resource or IAM policy) governed by the
    * organization policies of the
    * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
    * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} */ - public static final class GovernedAsset extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GovernedAsset extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) GovernedAssetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedAsset.newBuilder() to construct. private GovernedAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GovernedAsset() { policyBundle_ = 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 GovernedAsset(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + .class); } private int governedAssetCase_ = 0; private java.lang.Object governedAsset_; + public enum GovernedAssetCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GOVERNED_RESOURCE(1), GOVERNED_IAM_POLICY(2), GOVERNEDASSET_NOT_SET(0); private final int value; + private GovernedAssetCase(int value) { this.value = value; } @@ -3460,32 +3961,40 @@ public static GovernedAssetCase valueOf(int value) { public static GovernedAssetCase forNumber(int value) { switch (value) { - case 1: return GOVERNED_RESOURCE; - case 2: return GOVERNED_IAM_POLICY; - case 0: return GOVERNEDASSET_NOT_SET; - default: return null; + case 1: + return GOVERNED_RESOURCE; + case 2: + return GOVERNED_IAM_POLICY; + case 0: + return GOVERNEDASSET_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public GovernedAssetCase - getGovernedAssetCase() { - return GovernedAssetCase.forNumber( - governedAssetCase_); + public GovernedAssetCase getGovernedAssetCase() { + return GovernedAssetCase.forNumber(governedAssetCase_); } public static final int GOVERNED_RESOURCE_FIELD_NUMBER = 1; /** + * + * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * * @return Whether the governedResource field is set. */ @java.lang.Override @@ -3493,48 +4002,69 @@ public boolean hasGovernedResource() { return governedAssetCase_ == 1; } /** + * + * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * * @return The governedResource. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + getGovernedResource() { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } /** + * + * *
      * A Google Cloud resource governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResourceOrBuilder + getGovernedResourceOrBuilder() { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } public static final int GOVERNED_IAM_POLICY_FIELD_NUMBER = 2; /** + * + * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * * @return Whether the governedIamPolicy field is set. */ @java.lang.Override @@ -3542,42 +4072,60 @@ public boolean hasGovernedIamPolicy() { return governedAssetCase_ == 2; } /** + * + * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * * @return The governedIamPolicy. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + getGovernedIamPolicy() { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } /** + * + * *
      * An IAM policy governed by the organization
      * policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicyOrBuilder + getGovernedIamPolicyOrBuilder() { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } public static final int CONSOLIDATED_POLICY_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3587,6 +4135,7 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -3594,6 +4143,8 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3603,13 +4154,18 @@ public boolean hasConsolidatedPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return The consolidatedPolicy. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { - return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; + return consolidatedPolicy_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() + : consolidatedPolicy_; } /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3622,13 +4178,18 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() {
      */
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder() {
-      return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
+      return consolidatedPolicy_ == null
+          ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
+          : consolidatedPolicy_;
     }
 
     public static final int POLICY_BUNDLE_FIELD_NUMBER = 4;
+
     @SuppressWarnings("serial")
     private java.util.List policyBundle_;
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3644,6 +4205,8 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3655,11 +4218,13 @@ public java.util.List getPolicyBund
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getPolicyBundleOrBuilderList() {
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3675,6 +4240,8 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3690,6 +4257,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
       return policyBundle_.get(index);
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3707,6 +4276,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3718,13 +4288,18 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (governedAssetCase_ == 1) {
-        output.writeMessage(1, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_);
+        output.writeMessage(
+            1,
+            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)
+                governedAsset_);
       }
       if (governedAssetCase_ == 2) {
-        output.writeMessage(2, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_);
+        output.writeMessage(
+            2,
+            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)
+                governedAsset_);
       }
       if (consolidatedPolicy_ != null) {
         output.writeMessage(3, getConsolidatedPolicy());
@@ -3742,20 +4317,25 @@ public int getSerializedSize() {
 
       size = 0;
       if (governedAssetCase_ == 1) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                1,
+                (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource)
+                    governedAsset_);
       }
       if (governedAssetCase_ == 2) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                2,
+                (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy)
+                    governedAsset_);
       }
       if (consolidatedPolicy_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getConsolidatedPolicy());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConsolidatedPolicy());
       }
       for (int i = 0; i < policyBundle_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, policyBundle_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, policyBundle_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3765,29 +4345,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)) {
+      if (!(obj
+          instanceof
+          com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) obj;
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other =
+          (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) obj;
 
       if (hasConsolidatedPolicy() != other.hasConsolidatedPolicy()) return false;
       if (hasConsolidatedPolicy()) {
-        if (!getConsolidatedPolicy()
-            .equals(other.getConsolidatedPolicy())) return false;
+        if (!getConsolidatedPolicy().equals(other.getConsolidatedPolicy())) return false;
       }
-      if (!getPolicyBundleList()
-          .equals(other.getPolicyBundleList())) return false;
+      if (!getPolicyBundleList().equals(other.getPolicyBundleList())) return false;
       if (!getGovernedAssetCase().equals(other.getGovernedAssetCase())) return false;
       switch (governedAssetCase_) {
         case 1:
-          if (!getGovernedResource()
-              .equals(other.getGovernedResource())) return false;
+          if (!getGovernedResource().equals(other.getGovernedResource())) return false;
           break;
         case 2:
-          if (!getGovernedIamPolicy()
-              .equals(other.getGovernedIamPolicy())) return false;
+          if (!getGovernedIamPolicy().equals(other.getGovernedIamPolicy())) return false;
           break;
         case 0:
         default:
@@ -3828,88 +4407,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseFrom(
+            com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset parseDelimitedFrom(
-        java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        parseDelimitedFrom(
+            java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset 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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3919,41 +4511,47 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents a Google Cloud asset(resource or IAM policy) governed by the
      * organization policies of the
      * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
      * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset} */ - public static final class Builder extends - com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3982,19 +4580,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_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4002,16 +4604,22 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset(this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result = + new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { if (policyBundleBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { policyBundle_ = java.util.Collections.unmodifiableList(policyBundle_); @@ -4023,24 +4631,25 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli } } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.consolidatedPolicy_ = consolidatedPolicyBuilder_ == null - ? consolidatedPolicy_ - : consolidatedPolicyBuilder_.build(); + result.consolidatedPolicy_ = + consolidatedPolicyBuilder_ == null + ? consolidatedPolicy_ + : consolidatedPolicyBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { + private void buildPartialOneofs( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset result) { result.governedAssetCase_ = governedAssetCase_; result.governedAsset_ = this.governedAsset_; - if (governedAssetCase_ == 1 && - governedResourceBuilder_ != null) { + if (governedAssetCase_ == 1 && governedResourceBuilder_ != null) { result.governedAsset_ = governedResourceBuilder_.build(); } - if (governedAssetCase_ == 2 && - governedIamPolicyBuilder_ != null) { + if (governedAssetCase_ == 2 && governedIamPolicyBuilder_ != null) { result.governedAsset_ = governedIamPolicyBuilder_.build(); } } @@ -4049,46 +4658,56 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovern public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)other); + if (other + instanceof + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other) { - if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other) { + if (other + == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .getDefaultInstance()) return this; if (other.hasConsolidatedPolicy()) { mergeConsolidatedPolicy(other.getConsolidatedPolicy()); } @@ -4110,26 +4729,30 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAsset policyBundleBuilder_ = null; policyBundle_ = other.policyBundle_; bitField0_ = (bitField0_ & ~0x00000008); - policyBundleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPolicyBundleFieldBuilder() : null; + policyBundleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPolicyBundleFieldBuilder() + : null; } else { policyBundleBuilder_.addAllMessages(other.policyBundle_); } } } switch (other.getGovernedAssetCase()) { - case GOVERNED_RESOURCE: { - mergeGovernedResource(other.getGovernedResource()); - break; - } - case GOVERNED_IAM_POLICY: { - mergeGovernedIamPolicy(other.getGovernedIamPolicy()); - break; - } - case GOVERNEDASSET_NOT_SET: { - break; - } + case GOVERNED_RESOURCE: + { + mergeGovernedResource(other.getGovernedResource()); + break; + } + case GOVERNED_IAM_POLICY: + { + mergeGovernedIamPolicy(other.getGovernedIamPolicy()); + break; + } + case GOVERNEDASSET_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4157,46 +4780,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGovernedResourceFieldBuilder().getBuilder(), - extensionRegistry); - governedAssetCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getGovernedIamPolicyFieldBuilder().getBuilder(), - extensionRegistry); - governedAssetCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getConsolidatedPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.cloud.asset.v1.AnalyzerOrgPolicy m = - input.readMessage( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), - extensionRegistry); - if (policyBundleBuilder_ == null) { - ensurePolicyBundleIsMutable(); - policyBundle_.add(m); - } else { - policyBundleBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getGovernedResourceFieldBuilder().getBuilder(), extensionRegistry); + governedAssetCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getGovernedIamPolicyFieldBuilder().getBuilder(), extensionRegistry); + governedAssetCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getConsolidatedPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.cloud.asset.v1.AnalyzerOrgPolicy m = + input.readMessage( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), extensionRegistry); + if (policyBundleBuilder_ == null) { + ensurePolicyBundleIsMutable(); + policyBundle_.add(m); + } else { + policyBundleBuilder_.addMessage(m); + } + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4206,12 +4830,12 @@ public Builder mergeFrom( } // finally return this; } + private int governedAssetCase_ = 0; private java.lang.Object governedAsset_; - public GovernedAssetCase - getGovernedAssetCase() { - return GovernedAssetCase.forNumber( - governedAssetCase_); + + public GovernedAssetCase getGovernedAssetCase() { + return GovernedAssetCase.forNumber(governedAssetCase_); } public Builder clearGovernedAsset() { @@ -4224,15 +4848,25 @@ public Builder clearGovernedAsset() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder> governedResourceBuilder_; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResourceOrBuilder> + governedResourceBuilder_; /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * * @return Whether the governedResource field is set. */ @java.lang.Override @@ -4240,39 +4874,54 @@ public boolean hasGovernedResource() { return governedAssetCase_ == 1; } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * * @return The governedResource. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + getGovernedResource() { if (governedResourceBuilder_ == null) { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResource) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } else { if (governedAssetCase_ == 1) { return governedResourceBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ - public Builder setGovernedResource(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { + public Builder setGovernedResource( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { if (governedResourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4286,16 +4935,21 @@ public Builder setGovernedResource(com.google.cloud.asset.v1.AnalyzeOrgPolicyGov return this; } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ public Builder setGovernedResource( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder + builderForValue) { if (governedResourceBuilder_ == null) { governedAsset_ = builderForValue.build(); onChanged(); @@ -4306,20 +4960,33 @@ public Builder setGovernedResource( return this; } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ - public Builder mergeGovernedResource(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { + public Builder mergeGovernedResource( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value) { if (governedResourceBuilder_ == null) { - if (governedAssetCase_ == 1 && - governedAsset_ != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance()) { - governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.newBuilder((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_) - .mergeFrom(value).buildPartial(); + if (governedAssetCase_ == 1 + && governedAsset_ + != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResource.getDefaultInstance()) { + governedAsset_ = + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .newBuilder( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResource) + governedAsset_) + .mergeFrom(value) + .buildPartial(); } else { governedAsset_ = value; } @@ -4335,13 +5002,17 @@ public Builder mergeGovernedResource(com.google.cloud.asset.v1.AnalyzeOrgPolicyG return this; } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ public Builder clearGovernedResource() { if (governedResourceBuilder_ == null) { @@ -4360,56 +5031,88 @@ public Builder clearGovernedResource() { return this; } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder getGovernedResourceBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .Builder + getGovernedResourceBuilder() { return getGovernedResourceFieldBuilder().getBuilder(); } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResourceOrBuilder + getGovernedResourceOrBuilder() { if ((governedAssetCase_ == 1) && (governedResourceBuilder_ != null)) { return governedResourceBuilder_.getMessageOrBuilder(); } else { if (governedAssetCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResource) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } } /** + * + * *
        * A Google Cloud resource governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResourceOrBuilder> getGovernedResourceFieldBuilder() { if (governedResourceBuilder_ == null) { if (!(governedAssetCase_ == 1)) { - governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.getDefaultInstance(); + governedAsset_ = + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .getDefaultInstance(); } - governedResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder>( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource) governedAsset_, + governedResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResourceOrBuilder>( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedResource) + governedAsset_, getParentForChildren(), isClean()); governedAsset_ = null; @@ -4420,15 +5123,25 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder> governedIamPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicyOrBuilder> + governedIamPolicyBuilder_; /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * * @return Whether the governedIamPolicy field is set. */ @java.lang.Override @@ -4436,39 +5149,55 @@ public boolean hasGovernedIamPolicy() { return governedAssetCase_ == 2; } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * * @return The governedIamPolicy. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + getGovernedIamPolicy() { if (governedIamPolicyBuilder_ == null) { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } else { if (governedAssetCase_ == 2) { return governedIamPolicyBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ - public Builder setGovernedIamPolicy(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value) { + public Builder setGovernedIamPolicy( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + value) { if (governedIamPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4482,16 +5211,21 @@ public Builder setGovernedIamPolicy(com.google.cloud.asset.v1.AnalyzeOrgPolicyGo return this; } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ public Builder setGovernedIamPolicy( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder + builderForValue) { if (governedIamPolicyBuilder_ == null) { governedAsset_ = builderForValue.build(); onChanged(); @@ -4502,20 +5236,34 @@ public Builder setGovernedIamPolicy( return this; } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ - public Builder mergeGovernedIamPolicy(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value) { + public Builder mergeGovernedIamPolicy( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + value) { if (governedIamPolicyBuilder_ == null) { - if (governedAssetCase_ == 2 && - governedAsset_ != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance()) { - governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.newBuilder((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_) - .mergeFrom(value).buildPartial(); + if (governedAssetCase_ == 2 + && governedAsset_ + != com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy.getDefaultInstance()) { + governedAsset_ = + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .newBuilder( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy) + governedAsset_) + .mergeFrom(value) + .buildPartial(); } else { governedAsset_ = value; } @@ -4531,13 +5279,17 @@ public Builder mergeGovernedIamPolicy(com.google.cloud.asset.v1.AnalyzeOrgPolicy return this; } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ public Builder clearGovernedIamPolicy() { if (governedIamPolicyBuilder_ == null) { @@ -4556,56 +5308,89 @@ public Builder clearGovernedIamPolicy() { return this; } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder getGovernedIamPolicyBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .Builder + getGovernedIamPolicyBuilder() { return getGovernedIamPolicyFieldBuilder().getBuilder(); } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicyOrBuilder + getGovernedIamPolicyOrBuilder() { if ((governedAssetCase_ == 2) && (governedIamPolicyBuilder_ != null)) { return governedIamPolicyBuilder_.getMessageOrBuilder(); } else { if (governedAssetCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_; + return (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy) + governedAsset_; } - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } } /** + * + * *
        * An IAM policy governed by the organization
        * policies of the
        * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
        * 
* - * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * + * .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicyOrBuilder> getGovernedIamPolicyFieldBuilder() { if (governedIamPolicyBuilder_ == null) { if (!(governedAssetCase_ == 2)) { - governedAsset_ = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.getDefaultInstance(); + governedAsset_ = + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .getDefaultInstance(); } - governedIamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder>( - (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy) governedAsset_, + governedIamPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicyOrBuilder>( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedIamPolicy) + governedAsset_, getParentForChildren(), isClean()); governedAsset_ = null; @@ -4617,8 +5402,13 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> consolidatedPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> + consolidatedPolicyBuilder_; /** + * + * *
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4628,12 +5418,15 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ public boolean hasConsolidatedPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4643,16 +5436,21 @@ public boolean hasConsolidatedPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return The consolidatedPolicy. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { if (consolidatedPolicyBuilder_ == null) { - return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; + return consolidatedPolicy_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() + : consolidatedPolicy_; } else { return consolidatedPolicyBuilder_.getMessage(); } } /** + * + * *
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4677,6 +5475,8 @@ public Builder setConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4699,6 +5499,8 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4711,9 +5513,10 @@ public Builder setConsolidatedPolicy(
        */
       public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (consolidatedPolicyBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            consolidatedPolicy_ != null &&
-            consolidatedPolicy_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && consolidatedPolicy_ != null
+              && consolidatedPolicy_
+                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
             getConsolidatedPolicyBuilder().mergeFrom(value);
           } else {
             consolidatedPolicy_ = value;
@@ -4726,6 +5529,8 @@ public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPoli
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4747,6 +5552,8 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4763,6 +5570,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getConsolidatedPolicy
         return getConsolidatedPolicyFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4777,11 +5586,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
         if (consolidatedPolicyBuilder_ != null) {
           return consolidatedPolicyBuilder_.getMessageOrBuilder();
         } else {
-          return consolidatedPolicy_ == null ?
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
+          return consolidatedPolicy_ == null
+              ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
+              : consolidatedPolicy_;
         }
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4793,32 +5605,42 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
        * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
           getConsolidatedPolicyFieldBuilder() {
         if (consolidatedPolicyBuilder_ == null) {
-          consolidatedPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
-                  getConsolidatedPolicy(),
-                  getParentForChildren(),
-                  isClean());
+          consolidatedPolicyBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+                  getConsolidatedPolicy(), getParentForChildren(), isClean());
           consolidatedPolicy_ = null;
         }
         return consolidatedPolicyBuilder_;
       }
 
       private java.util.List policyBundle_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensurePolicyBundleIsMutable() {
         if (!((bitField0_ & 0x00000008) != 0)) {
-          policyBundle_ = new java.util.ArrayList(policyBundle_);
+          policyBundle_ =
+              new java.util.ArrayList(policyBundle_);
           bitField0_ |= 0x00000008;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> policyBundleBuilder_;
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          policyBundleBuilder_;
 
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4837,6 +5659,8 @@ public java.util.List getPolicyBund
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4855,6 +5679,8 @@ public int getPolicyBundleCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4873,6 +5699,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4883,8 +5711,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder setPolicyBundle(
-          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -4898,6 +5725,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4920,6 +5749,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4944,6 +5775,8 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4954,8 +5787,7 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder addPolicyBundle(
-          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -4969,6 +5801,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4991,6 +5825,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5013,6 +5849,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5027,8 +5865,7 @@ public Builder addAllPolicyBundle(
           java.lang.Iterable values) {
         if (policyBundleBuilder_ == null) {
           ensurePolicyBundleIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, policyBundle_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBundle_);
           onChanged();
         } else {
           policyBundleBuilder_.addAllMessages(values);
@@ -5036,6 +5873,8 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5057,6 +5896,8 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5078,6 +5919,8 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5088,11 +5931,12 @@ public Builder removePolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(
-          int index) {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index) {
         return getPolicyBundleFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5106,11 +5950,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilde
       public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
           int index) {
         if (policyBundleBuilder_ == null) {
-          return policyBundle_.get(index);  } else {
+          return policyBundle_.get(index);
+        } else {
           return policyBundleBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5121,8 +5968,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List 
-           getPolicyBundleOrBuilderList() {
+      public java.util.List
+          getPolicyBundleOrBuilderList() {
         if (policyBundleBuilder_ != null) {
           return policyBundleBuilder_.getMessageOrBuilderList();
         } else {
@@ -5130,6 +5977,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5141,10 +5990,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
       public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder() {
-        return getPolicyBundleFieldBuilder().addBuilder(
-            com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+        return getPolicyBundleFieldBuilder()
+            .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5155,12 +6006,13 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(
-          int index) {
-        return getPolicyBundleFieldBuilder().addBuilder(
-            index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index) {
+        return getPolicyBundleFieldBuilder()
+            .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5171,16 +6023,22 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List 
-           getPolicyBundleBuilderList() {
+      public java.util.List
+          getPolicyBundleBuilderList() {
         return getPolicyBundleFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
           getPolicyBundleFieldBuilder() {
         if (policyBundleBuilder_ == null) {
-          policyBundleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+          policyBundleBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
                   policyBundle_,
                   ((bitField0_ & 0x00000008) != 0),
                   getParentForChildren(),
@@ -5189,6 +6047,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
         }
         return policyBundleBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5201,41 +6060,46 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset)
-    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset DEFAULT_INSTANCE;
+    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
+            .GovernedAsset
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset();
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstance() {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public GovernedAsset parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public GovernedAsset parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -5247,81 +6111,113 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int GOVERNED_ASSETS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
-  private java.util.List governedAssets_;
+  private java.util.List<
+          com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>
+      governedAssets_;
   /**
+   *
+   *
    * 
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ @java.lang.Override - public java.util.List getGovernedAssetsList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> + getGovernedAssetsList() { return governedAssets_; } /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedAssetOrBuilder> getGovernedAssetsOrBuilderList() { return governedAssets_; } /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ @java.lang.Override public int getGovernedAssetsCount() { return governedAssets_.size(); } /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + getGovernedAssets(int index) { return governedAssets_.get(index); } /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder + getGovernedAssetsOrBuilder(int index) { return governedAssets_.get(index); } public static final int CONSTRAINT_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ @java.lang.Override @@ -5329,18 +6225,25 @@ public boolean hasConstraint() { return constraint_ != null; } /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } /** + * + * *
    * The definition of the constraint in the request.
    * 
@@ -5349,19 +6252,25 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder() { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -5370,30 +6279,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; } } /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * 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 { @@ -5402,6 +6311,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5413,8 +6323,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 < governedAssets_.size(); i++) { output.writeMessage(1, governedAssets_.get(i)); } @@ -5434,12 +6343,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < governedAssets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, governedAssets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, governedAssets_.get(i)); } if (constraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConstraint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -5452,22 +6359,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.AnalyzeOrgPolicyGovernedAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other = + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) obj; - if (!getGovernedAssetsList() - .equals(other.getGovernedAssetsList())) return false; + if (!getGovernedAssetsList().equals(other.getGovernedAssetsList())) return false; if (hasConstraint() != other.hasConstraint()) return false; if (hasConstraint()) { - if (!getConstraint() - .equals(other.getConstraint())) return false; + if (!getConstraint().equals(other.getConstraint())) return false; } - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5495,96 +6400,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedAssetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedAssetsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].
@@ -5592,33 +6505,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzeOrgPolicyGovernedAssetsResponse)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class,
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5640,13 +6552,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_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance();
     }
 
@@ -5661,14 +6574,18 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse build()
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse(this);
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result =
+          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
       if (governedAssetsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           governedAssets_ = java.util.Collections.unmodifiableList(governedAssets_);
@@ -5680,12 +6597,11 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli
       }
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.constraint_ = constraintBuilder_ == null
-            ? constraint_
-            : constraintBuilder_.build();
+        result.constraint_ = constraintBuilder_ == null ? constraint_ : constraintBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -5696,46 +6612,50 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAss
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzeOrgPolicyGovernedAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse other) {
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance())
+        return this;
       if (governedAssetsBuilder_ == null) {
         if (!other.governedAssets_.isEmpty()) {
           if (governedAssets_.isEmpty()) {
@@ -5754,9 +6674,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAsset
             governedAssetsBuilder_ = null;
             governedAssets_ = other.governedAssets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            governedAssetsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getGovernedAssetsFieldBuilder() : null;
+            governedAssetsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getGovernedAssetsFieldBuilder()
+                    : null;
           } else {
             governedAssetsBuilder_.addAllMessages(other.governedAssets_);
           }
@@ -5796,37 +6717,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.parser(),
-                      extensionRegistry);
-              if (governedAssetsBuilder_ == null) {
-                ensureGovernedAssetsIsMutable();
-                governedAssets_.add(m);
-              } else {
-                governedAssetsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getConstraintFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
+                            .GovernedAsset.parser(),
+                        extensionRegistry);
+                if (governedAssetsBuilder_ == null) {
+                  ensureGovernedAssetsIsMutable();
+                  governedAssets_.add(m);
+                } else {
+                  governedAssetsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getConstraintFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5836,28 +6760,43 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List governedAssets_ =
-      java.util.Collections.emptyList();
+    private java.util.List<
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>
+        governedAssets_ = java.util.Collections.emptyList();
+
     private void ensureGovernedAssetsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        governedAssets_ = new java.util.ArrayList(governedAssets_);
+        governedAssets_ =
+            new java.util.ArrayList<
+                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>(
+                governedAssets_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> governedAssetsBuilder_;
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder>
+        governedAssetsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public java.util.List getGovernedAssetsList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> + getGovernedAssetsList() { if (governedAssetsBuilder_ == null) { return java.util.Collections.unmodifiableList(governedAssets_); } else { @@ -5865,11 +6804,15 @@ public java.util.List * The list of the analyzed governed assets. *
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public int getGovernedAssetsCount() { if (governedAssetsBuilder_ == null) { @@ -5879,13 +6822,18 @@ public int getGovernedAssetsCount() { } } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + getGovernedAssets(int index) { if (governedAssetsBuilder_ == null) { return governedAssets_.get(index); } else { @@ -5893,14 +6841,19 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed } } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder setGovernedAssets( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { if (governedAssetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5914,14 +6867,20 @@ public Builder setGovernedAssets( return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder setGovernedAssets( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + builderForValue) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); governedAssets_.set(index, builderForValue.build()); @@ -5932,13 +6891,18 @@ public Builder setGovernedAssets( return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public Builder addGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { + public Builder addGovernedAssets( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { if (governedAssetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5952,14 +6916,19 @@ public Builder addGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGover return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder addGovernedAssets( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) { if (governedAssetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5973,14 +6942,19 @@ public Builder addGovernedAssets( return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder addGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + builderForValue) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); governedAssets_.add(builderForValue.build()); @@ -5991,14 +6965,20 @@ public Builder addGovernedAssets( return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder addGovernedAssets( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + builderForValue) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); governedAssets_.add(index, builderForValue.build()); @@ -6009,18 +6989,24 @@ public Builder addGovernedAssets( return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder addAllGovernedAssets( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> + values) { if (governedAssetsBuilder_ == null) { ensureGovernedAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, governedAssets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, governedAssets_); onChanged(); } else { governedAssetsBuilder_.addAllMessages(values); @@ -6028,11 +7014,15 @@ public Builder addAllGovernedAssets( return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder clearGovernedAssets() { if (governedAssetsBuilder_ == null) { @@ -6045,11 +7035,15 @@ public Builder clearGovernedAssets() { return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ public Builder removeGovernedAssets(int index) { if (governedAssetsBuilder_ == null) { @@ -6062,39 +7056,55 @@ public Builder removeGovernedAssets(int index) { return this; } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder getGovernedAssetsBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + getGovernedAssetsBuilder(int index) { return getGovernedAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder + getGovernedAssetsOrBuilder(int index) { if (governedAssetsBuilder_ == null) { - return governedAssets_.get(index); } else { + return governedAssets_.get(index); + } else { return governedAssetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public java.util.List - getGovernedAssetsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedAssetOrBuilder> + getGovernedAssetsOrBuilderList() { if (governedAssetsBuilder_ != null) { return governedAssetsBuilder_.getMessageOrBuilderList(); } else { @@ -6102,45 +7112,72 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed } } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder() { - return getGovernedAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + addGovernedAssetsBuilder() { + return getGovernedAssetsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .getDefaultInstance()); } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder( - int index) { - return getGovernedAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder + addGovernedAssetsBuilder(int index) { + return getGovernedAssetsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .getDefaultInstance()); } /** + * + * *
      * The list of the analyzed governed assets.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - public java.util.List - getGovernedAssetsBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder> + getGovernedAssetsBuilderList() { return getGovernedAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> getGovernedAssetsFieldBuilder() { if (governedAssetsBuilder_ == null) { - governedAssetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder>( + governedAssetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedAssetOrBuilder>( governedAssets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6152,34 +7189,47 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Governed private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> constraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + constraintBuilder_; /** + * + * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ public boolean hasConstraint() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { if (constraintBuilder_ == null) { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } else { return constraintBuilder_.getMessage(); } } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6200,6 +7250,8 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6218,6 +7270,8 @@ public Builder setConstraint( return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6226,9 +7280,10 @@ public Builder setConstraint( */ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint value) { if (constraintBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - constraint_ != null && - constraint_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && constraint_ != null + && constraint_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { getConstraintBuilder().mergeFrom(value); } else { constraint_ = value; @@ -6241,6 +7296,8 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6258,6 +7315,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6270,6 +7329,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6280,11 +7341,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilder(); } else { - return constraint_ == null ? - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6292,14 +7356,17 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { - constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( - getConstraint(), - getParentForChildren(), - isClean()); + constraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( + getConstraint(), getParentForChildren(), isClean()); constraint_ = null; } return constraintBuilder_; @@ -6307,19 +7374,21 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * 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; @@ -6328,21 +7397,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * 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 { @@ -6350,30 +7420,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -6383,27 +7460,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6413,41 +7494,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6459,9 +7542,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java index dcc5cc0358a1..a464c4d4edf4 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder.java @@ -1,75 +1,123 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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 AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder extends +public interface AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - java.util.List + java.util.List getGovernedAssetsList(); /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets( + int index); /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ int getGovernedAssetsCount(); /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse + .GovernedAssetOrBuilder> getGovernedAssetsOrBuilderList(); /** + * + * *
    * The list of the analyzed governed assets.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder( - int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder + getGovernedAssetsOrBuilder(int index); /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ boolean hasConstraint(); /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint(); /** + * + * *
    * The definition of the constraint in the request.
    * 
@@ -79,24 +127,29 @@ com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOr com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder(); /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
    * 
* * 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java index 08f1d35feae2..4de1af7c3743 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequest.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.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest}
  */
-public final class AnalyzeOrgPolicyGovernedContainersRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeOrgPolicyGovernedContainersRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest)
     AnalyzeOrgPolicyGovernedContainersRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedContainersRequest.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedContainersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedContainersRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeOrgPolicyGovernedContainersRequest() {
     scope_ = "";
     constraint_ = "";
@@ -29,34 +49,38 @@ private AnalyzeOrgPolicyGovernedContainersRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedContainersRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SCOPE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object scope_ = "";
   /**
+   *
+   *
    * 
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -66,6 +90,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -74,14 +99,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 organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -91,16 +117,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 { @@ -109,9 +134,12 @@ public java.lang.String getScope() { } public static final int CONSTRAINT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object constraint_ = ""; /** + * + * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -119,6 +147,7 @@ public java.lang.String getScope() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ @java.lang.Override @@ -127,14 +156,15 @@ public java.lang.String getConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; } } /** + * + * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -142,16 +172,15 @@ public java.lang.String getConstraint() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ @java.lang.Override - public com.google.protobuf.ByteString - getConstraintBytes() { + public com.google.protobuf.ByteString getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); constraint_ = b; return b; } else { @@ -160,9 +189,12 @@ public java.lang.String getConstraint() { } public static final int FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -173,6 +205,7 @@ public java.lang.String getConstraint() {
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -181,14 +214,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; } } /** + * + * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -199,16 +233,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -219,6 +252,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -226,6 +261,7 @@ public java.lang.String getFilter() {
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -233,6 +269,8 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -240,6 +278,7 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -248,14 +287,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -264,29 +307,29 @@ 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 pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @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 { @@ -295,6 +338,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,8 +350,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_); } @@ -342,8 +385,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (((bitField0_ & 0x00000001) != 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_); @@ -356,26 +398,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.AnalyzeOrgPolicyGovernedContainersRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other = + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) obj; - if (!getScope() - .equals(other.getScope())) return false; - if (!getConstraint() - .equals(other.getConstraint())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getConstraint().equals(other.getConstraint())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() - != other.getPageSize()) return false; + if (getPageSize() != other.getPageSize()) return false; } - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -405,96 +443,105 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( com.google.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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedContainersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedContainersRequest + parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedContainersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedContainersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -502,33 +549,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzeOrgPolicyGovernedContainersRequest)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class,
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -542,14 +589,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_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest getDefaultInstanceForType() {
-      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.getDefaultInstance();
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -563,13 +612,17 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest build
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result =
+          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.scope_ = scope_;
@@ -595,46 +648,51 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedCon
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzeOrgPolicyGovernedContainersRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest)other);
+        return mergeFrom(
+            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest other) {
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
+              .getDefaultInstance()) return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         bitField0_ |= 0x00000001;
@@ -684,37 +742,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              scope_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              constraint_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              filter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                scope_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                constraint_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -724,10 +788,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
+     *
+     *
      * 
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -737,13 +804,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; @@ -752,6 +819,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -761,15 +830,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 { @@ -777,6 +845,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -786,18 +856,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -807,6 +881,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -816,6 +891,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed. The output containers will
@@ -825,12 +902,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -840,6 +919,8 @@ public Builder setScopeBytes( private java.lang.Object constraint_ = ""; /** + * + * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -847,13 +928,13 @@ public Builder setScopeBytes(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ public java.lang.String getConstraint() { java.lang.Object ref = constraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constraint_ = s; return s; @@ -862,6 +943,8 @@ public java.lang.String getConstraint() { } } /** + * + * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -869,15 +952,14 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ - public com.google.protobuf.ByteString - getConstraintBytes() { + public com.google.protobuf.ByteString getConstraintBytes() { java.lang.Object ref = constraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); constraint_ = b; return b; } else { @@ -885,6 +967,8 @@ public java.lang.String getConstraint() { } } /** + * + * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -892,18 +976,22 @@ public java.lang.String getConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The constraint to set. * @return This builder for chaining. */ - public Builder setConstraint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConstraint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } constraint_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -911,6 +999,7 @@ public Builder setConstraint(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -920,6 +1009,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * Required. The name of the constraint to analyze governed containers for.
      * The analysis only contains organization policies for the provided
@@ -927,12 +1018,14 @@ public Builder clearConstraint() {
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for constraint to set. * @return This builder for chaining. */ - public Builder setConstraintBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConstraintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); constraint_ = value; bitField0_ |= 0x00000002; @@ -942,6 +1035,8 @@ public Builder setConstraintBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -952,13 +1047,13 @@ public Builder setConstraintBytes(
      * 
* * string filter = 3; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -967,6 +1062,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -977,15 +1074,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -993,6 +1089,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1003,18 +1101,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1025,6 +1127,7 @@ public Builder setFilter(
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1034,6 +1137,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The expression to filter the governed containers in result.
      * The only supported field is `parent`, and the only supported operator is
@@ -1044,12 +1149,14 @@ public Builder clearFilter() {
      * 
* * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1057,8 +1164,10 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1066,6 +1175,7 @@ public Builder setFilterBytes(
      * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1073,6 +1183,8 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1080,6 +1192,7 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1087,6 +1200,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1094,17 +1209,20 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1112,6 +1230,7 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1123,18 +1242,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @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; @@ -1143,20 +1264,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @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 { @@ -1164,28 +1286,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1195,26 +1324,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The pagination token to retrieve the next page.
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1224,41 +1357,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedContainersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedContainersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1270,9 +1407,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java index 2a86c56127de..d155c2a72e46 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.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 AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends +public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -17,10 +35,13 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. The organization to scope the request. Only organization
    * policies within the scope will be analyzed. The output containers will
@@ -30,12 +51,14 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -43,10 +66,13 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ java.lang.String getConstraint(); /** + * + * *
    * Required. The name of the constraint to analyze governed containers for.
    * The analysis only contains organization policies for the provided
@@ -54,12 +80,14 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for constraint. */ - com.google.protobuf.ByteString - getConstraintBytes(); + com.google.protobuf.ByteString getConstraintBytes(); /** + * + * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -70,10 +98,13 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The expression to filter the governed containers in result.
    * The only supported field is `parent`, and the only supported operator is
@@ -84,12 +115,14 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -97,10 +130,13 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** + * + * *
    * The maximum number of items to return per page. If unspecified,
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -108,27 +144,33 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The pagination token to retrieve the next page.
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java index 1251cd5edb28..a45f67a4e13d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponse.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 response message for
  * [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse}
  */
-public final class AnalyzeOrgPolicyGovernedContainersResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeOrgPolicyGovernedContainersResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse)
     AnalyzeOrgPolicyGovernedContainersResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeOrgPolicyGovernedContainersResponse.newBuilder() to construct.
-  private AnalyzeOrgPolicyGovernedContainersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeOrgPolicyGovernedContainersResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeOrgPolicyGovernedContainersResponse() {
     governedContainers_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,34 +47,38 @@ private AnalyzeOrgPolicyGovernedContainersResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedContainersResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
   }
 
-  public interface GovernedContainerOrBuilder extends
+  public interface GovernedContainerOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -62,10 +86,13 @@ public interface GovernedContainerOrBuilder 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) of
@@ -73,12 +100,14 @@ public interface GovernedContainerOrBuilder extends
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -87,10 +116,13 @@ public interface GovernedContainerOrBuilder extends
      * 
* * string parent = 2; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -99,12 +131,14 @@ public interface GovernedContainerOrBuilder extends
      * 
* * string parent = 2; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -114,10 +148,13 @@ public interface GovernedContainerOrBuilder extends
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ boolean hasConsolidatedPolicy(); /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -127,10 +164,13 @@ public interface GovernedContainerOrBuilder extends
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return The consolidatedPolicy. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy(); /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -144,6 +184,8 @@ public interface GovernedContainerOrBuilder extends
     com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder();
 
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -154,9 +196,10 @@ public interface GovernedContainerOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List 
-        getPolicyBundleList();
+    java.util.List getPolicyBundleList();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -169,6 +212,8 @@ public interface GovernedContainerOrBuilder extends
      */
     com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index);
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -181,6 +226,8 @@ public interface GovernedContainerOrBuilder extends
      */
     int getPolicyBundleCount();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -191,9 +238,11 @@ public interface GovernedContainerOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    java.util.List 
+    java.util.List
         getPolicyBundleOrBuilderList();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -204,27 +253,30 @@ public interface GovernedContainerOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
-    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
-        int index);
+    com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * The organization/folder/project resource governed by organization policies
    * of
    * [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].
    * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} */ - public static final class GovernedContainer extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GovernedContainer extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) GovernedContainerOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GovernedContainer.newBuilder() to construct. private GovernedContainer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GovernedContainer() { fullResourceName_ = ""; parent_ = ""; @@ -233,33 +285,39 @@ private GovernedContainer() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernedContainer(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fullResourceName_ = ""; /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -267,6 +325,7 @@ protected java.lang.Object newInstance(
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -275,14 +334,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) of
@@ -290,16 +350,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 { @@ -308,9 +367,12 @@ public java.lang.String getFullResourceName() { } public static final int PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -319,6 +381,7 @@ public java.lang.String getFullResourceName() {
      * 
* * string parent = 2; + * * @return The parent. */ @java.lang.Override @@ -327,14 +390,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 resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -343,16 +407,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 2; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -363,6 +426,8 @@ public java.lang.String getParent() { public static final int CONSOLIDATED_POLICY_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -372,6 +437,7 @@ public java.lang.String getParent() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -379,6 +445,8 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -388,13 +456,18 @@ public boolean hasConsolidatedPolicy() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return The consolidatedPolicy. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { - return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; + return consolidatedPolicy_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() + : consolidatedPolicy_; } /** + * + * *
      * The consolidated organization policy for the analyzed resource. The
      * consolidated organization policy is computed by merging and evaluating
@@ -407,13 +480,18 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() {
      */
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder() {
-      return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
+      return consolidatedPolicy_ == null
+          ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
+          : consolidatedPolicy_;
     }
 
     public static final int POLICY_BUNDLE_FIELD_NUMBER = 4;
+
     @SuppressWarnings("serial")
     private java.util.List policyBundle_;
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -429,6 +507,8 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -440,11 +520,13 @@ public java.util.List getPolicyBund
      * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getPolicyBundleOrBuilderList() {
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -460,6 +542,8 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -475,6 +559,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
       return policyBundle_.get(index);
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -492,6 +578,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -503,8 +590,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_);
       }
@@ -533,12 +619,11 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_);
       }
       if (consolidatedPolicy_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getConsolidatedPolicy());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConsolidatedPolicy());
       }
       for (int i = 0; i < policyBundle_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, policyBundle_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, policyBundle_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -548,24 +633,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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)) {
+      if (!(obj
+          instanceof
+          com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) obj;
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer other =
+          (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
+              obj;
 
-      if (!getFullResourceName()
-          .equals(other.getFullResourceName())) return false;
-      if (!getParent()
-          .equals(other.getParent())) return false;
+      if (!getFullResourceName().equals(other.getFullResourceName())) return false;
+      if (!getParent().equals(other.getParent())) return false;
       if (hasConsolidatedPolicy() != other.hasConsolidatedPolicy()) return false;
       if (hasConsolidatedPolicy()) {
-        if (!getConsolidatedPolicy()
-            .equals(other.getConsolidatedPolicy())) return false;
+        if (!getConsolidatedPolicy().equals(other.getConsolidatedPolicy())) return false;
       }
-      if (!getPolicyBundleList()
-          .equals(other.getPolicyBundleList())) return false;
+      if (!getPolicyBundleList().equals(other.getPolicyBundleList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -594,88 +679,114 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseFrom(
+            com.google.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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer parseDelimitedFrom(
-        java.io.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.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        parseDelimitedFrom(
+            java.io.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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer 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.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
+            prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder 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,41 +796,48 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * The organization/folder/project resource governed by organization policies
      * of
      * [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].
      * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer} */ - public static final class Builder extends - com.google.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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder.class); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer.class, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer.Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -742,19 +860,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_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer build() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + build() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -762,15 +884,23 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Gove } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer buildPartial() { - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer(this); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + buildPartial() { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + result = + new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + result) { if (policyBundleBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { policyBundle_ = java.util.Collections.unmodifiableList(policyBundle_); @@ -782,7 +912,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli } } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; @@ -791,9 +923,10 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedCon result.parent_ = parent_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.consolidatedPolicy_ = consolidatedPolicyBuilder_ == null - ? consolidatedPolicy_ - : consolidatedPolicyBuilder_.build(); + result.consolidatedPolicy_ = + consolidatedPolicyBuilder_ == null + ? consolidatedPolicy_ + : consolidatedPolicyBuilder_.build(); } } @@ -801,46 +934,59 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)other); + if (other + instanceof + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer other) { - if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + other) { + if (other + == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer.getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; bitField0_ |= 0x00000001; @@ -872,9 +1018,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedConta policyBundleBuilder_ = null; policyBundle_ = other.policyBundle_; bitField0_ = (bitField0_ & ~0x00000008); - policyBundleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPolicyBundleFieldBuilder() : null; + policyBundleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPolicyBundleFieldBuilder() + : null; } else { policyBundleBuilder_.addAllMessages(other.policyBundle_); } @@ -906,42 +1053,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getConsolidatedPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.cloud.asset.v1.AnalyzerOrgPolicy m = - input.readMessage( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), - extensionRegistry); - if (policyBundleBuilder_ == null) { - ensurePolicyBundleIsMutable(); - policyBundle_.add(m); - } else { - policyBundleBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getConsolidatedPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.cloud.asset.v1.AnalyzerOrgPolicy m = + input.readMessage( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.parser(), extensionRegistry); + if (policyBundleBuilder_ == null) { + ensurePolicyBundleIsMutable(); + policyBundle_.add(m); + } else { + policyBundleBuilder_.addMessage(m); + } + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -951,10 +1101,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -962,13 +1115,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; @@ -977,6 +1130,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -984,15 +1139,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 { @@ -1000,6 +1154,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1007,18 +1163,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1026,6 +1186,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1035,6 +1196,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1042,12 +1205,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -1057,6 +1222,8 @@ public Builder setFullResourceNameBytes( private java.lang.Object parent_ = ""; /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1065,13 +1232,13 @@ public Builder setFullResourceNameBytes(
        * 
* * string parent = 2; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1080,6 +1247,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1088,15 +1257,14 @@ public java.lang.String getParent() {
        * 
* * string parent = 2; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1104,6 +1272,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1112,18 +1282,22 @@ public java.lang.String getParent() {
        * 
* * string parent = 2; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1132,6 +1306,7 @@ public Builder setParent(
        * 
* * string parent = 2; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1141,6 +1316,8 @@ public Builder clearParent() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1149,12 +1326,14 @@ public Builder clearParent() {
        * 
* * string parent = 2; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -1164,8 +1343,13 @@ public Builder setParentBytes( private com.google.cloud.asset.v1.AnalyzerOrgPolicy consolidatedPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> consolidatedPolicyBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> + consolidatedPolicyBuilder_; /** + * + * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1175,12 +1359,15 @@ public Builder setParentBytes(
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ public boolean hasConsolidatedPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1190,16 +1377,21 @@ public boolean hasConsolidatedPolicy() {
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return The consolidatedPolicy. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getConsolidatedPolicy() { if (consolidatedPolicyBuilder_ == null) { - return consolidatedPolicy_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_; + return consolidatedPolicy_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() + : consolidatedPolicy_; } else { return consolidatedPolicyBuilder_.getMessage(); } } /** + * + * *
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1224,6 +1416,8 @@ public Builder setConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1246,6 +1440,8 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1258,9 +1454,10 @@ public Builder setConsolidatedPolicy(
        */
       public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (consolidatedPolicyBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            consolidatedPolicy_ != null &&
-            consolidatedPolicy_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && consolidatedPolicy_ != null
+              && consolidatedPolicy_
+                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()) {
             getConsolidatedPolicyBuilder().mergeFrom(value);
           } else {
             consolidatedPolicy_ = value;
@@ -1273,6 +1470,8 @@ public Builder mergeConsolidatedPolicy(com.google.cloud.asset.v1.AnalyzerOrgPoli
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1294,6 +1493,8 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1310,6 +1511,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getConsolidatedPolicy
         return getConsolidatedPolicyFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1324,11 +1527,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
         if (consolidatedPolicyBuilder_ != null) {
           return consolidatedPolicyBuilder_.getMessageOrBuilder();
         } else {
-          return consolidatedPolicy_ == null ?
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance() : consolidatedPolicy_;
+          return consolidatedPolicy_ == null
+              ? com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance()
+              : consolidatedPolicy_;
         }
       }
       /**
+       *
+       *
        * 
        * The consolidated organization policy for the analyzed resource. The
        * consolidated organization policy is computed by merging and evaluating
@@ -1340,32 +1546,42 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getConsolidatedPolic
        * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
           getConsolidatedPolicyFieldBuilder() {
         if (consolidatedPolicyBuilder_ == null) {
-          consolidatedPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
-                  getConsolidatedPolicy(),
-                  getParentForChildren(),
-                  isClean());
+          consolidatedPolicyBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+                  getConsolidatedPolicy(), getParentForChildren(), isClean());
           consolidatedPolicy_ = null;
         }
         return consolidatedPolicyBuilder_;
       }
 
       private java.util.List policyBundle_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensurePolicyBundleIsMutable() {
         if (!((bitField0_ & 0x00000008) != 0)) {
-          policyBundle_ = new java.util.ArrayList(policyBundle_);
+          policyBundle_ =
+              new java.util.ArrayList(policyBundle_);
           bitField0_ |= 0x00000008;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> policyBundleBuilder_;
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
+          policyBundleBuilder_;
 
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1384,6 +1600,8 @@ public java.util.List getPolicyBund
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1402,6 +1620,8 @@ public int getPolicyBundleCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1420,6 +1640,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1430,8 +1652,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy getPolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder setPolicyBundle(
-          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder setPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1445,6 +1666,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1467,6 +1690,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1491,6 +1716,8 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1501,8 +1728,7 @@ public Builder addPolicyBundle(com.google.cloud.asset.v1.AnalyzerOrgPolicy value
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public Builder addPolicyBundle(
-          int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
+      public Builder addPolicyBundle(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy value) {
         if (policyBundleBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1516,6 +1742,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1538,6 +1766,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1560,6 +1790,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1574,8 +1806,7 @@ public Builder addAllPolicyBundle(
           java.lang.Iterable values) {
         if (policyBundleBuilder_ == null) {
           ensurePolicyBundleIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, policyBundle_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBundle_);
           onChanged();
         } else {
           policyBundleBuilder_.addAllMessages(values);
@@ -1583,6 +1814,8 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1604,6 +1837,8 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1625,6 +1860,8 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1635,11 +1872,12 @@ public Builder removePolicyBundle(int index) {
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(
-          int index) {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index) {
         return getPolicyBundleFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1653,11 +1891,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder getPolicyBundleBuilde
       public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(
           int index) {
         if (policyBundleBuilder_ == null) {
-          return policyBundle_.get(index);  } else {
+          return policyBundle_.get(index);
+        } else {
           return policyBundleBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1668,8 +1909,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List 
-           getPolicyBundleOrBuilderList() {
+      public java.util.List
+          getPolicyBundleOrBuilderList() {
         if (policyBundleBuilder_ != null) {
           return policyBundleBuilder_.getMessageOrBuilderList();
         } else {
@@ -1677,6 +1918,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1688,10 +1931,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
       public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder() {
-        return getPolicyBundleFieldBuilder().addBuilder(
-            com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+        return getPolicyBundleFieldBuilder()
+            .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1702,12 +1947,13 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(
-          int index) {
-        return getPolicyBundleFieldBuilder().addBuilder(
-            index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index) {
+        return getPolicyBundleFieldBuilder()
+            .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1718,16 +1964,22 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
        *
        * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
        */
-      public java.util.List 
-           getPolicyBundleBuilderList() {
+      public java.util.List
+          getPolicyBundleBuilderList() {
         return getPolicyBundleFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>
           getPolicyBundleFieldBuilder() {
         if (policyBundleBuilder_ == null) {
-          policyBundleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
+          policyBundleBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>(
                   policyBundle_,
                   ((bitField0_ & 0x00000008) != 0),
                   getParentForChildren(),
@@ -1736,6 +1988,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder addPolicyBundleBuilde
         }
         return policyBundleBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1748,41 +2001,48 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer)
-    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer DEFAULT_INSTANCE;
+    private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+              .GovernedContainer();
     }
 
-    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getDefaultInstance() {
+    public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+            .GovernedContainer
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public GovernedContainer parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public GovernedContainer parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1794,81 +2054,114 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int GOVERNED_CONTAINERS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
-  private java.util.List governedContainers_;
+  private java.util.List<
+          com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>
+      governedContainers_;
   /**
+   *
+   *
    * 
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ @java.lang.Override - public java.util.List getGovernedContainersList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> + getGovernedContainersList() { return governedContainers_; } /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder> getGovernedContainersOrBuilderList() { return governedContainers_; } /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ @java.lang.Override public int getGovernedContainersCount() { return governedContainers_.size(); } /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + getGovernedContainers(int index) { return governedContainers_.get(index); } /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder + getGovernedContainersOrBuilder(int index) { return governedContainers_.get(index); } public static final int CONSTRAINT_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ @java.lang.Override @@ -1876,18 +2169,25 @@ public boolean hasConstraint() { return constraint_ != null; } /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } /** + * + * *
    * The definition of the constraint in the request.
    * 
@@ -1896,19 +2196,25 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder() { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -1917,30 +2223,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; } } /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * 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 { @@ -1949,6 +2255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1960,8 +2267,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 < governedContainers_.size(); i++) { output.writeMessage(1, governedContainers_.get(i)); } @@ -1981,12 +2287,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < governedContainers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, governedContainers_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, governedContainers_.get(i)); } if (constraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConstraint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -1999,22 +2304,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.AnalyzeOrgPolicyGovernedContainersResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other = (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) obj; + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other = + (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) obj; - if (!getGovernedContainersList() - .equals(other.getGovernedContainersList())) return false; + if (!getGovernedContainersList().equals(other.getGovernedContainersList())) return false; if (hasConstraint() != other.hasConstraint()) return false; if (hasConstraint()) { - if (!getConstraint() - .equals(other.getConstraint())) return false; + if (!getConstraint().equals(other.getConstraint())) return false; } - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2042,96 +2345,105 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.nio.ByteBuffer 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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( com.google.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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzeOrgPolicyGovernedContainersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse parseDelimitedFrom( - java.io.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.AnalyzeOrgPolicyGovernedContainersResponse + parseDelimitedFrom( + java.io.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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzeOrgPolicyGovernedContainersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzeOrgPolicyGovernedContainersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
@@ -2139,33 +2451,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzeOrgPolicyGovernedContainersResponse)
       com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class,
+              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2187,14 +2499,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_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstanceForType() {
-      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.getDefaultInstance();
+    public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -2208,14 +2522,18 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse buil
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse(this);
+      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result =
+          new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
       if (governedContainersBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           governedContainers_ = java.util.Collections.unmodifiableList(governedContainers_);
@@ -2227,12 +2545,11 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzeOrgPoli
       }
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.constraint_ = constraintBuilder_ == null
-            ? constraint_
-            : constraintBuilder_.build();
+        result.constraint_ = constraintBuilder_ == null ? constraint_ : constraintBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -2243,46 +2560,51 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedCon
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzeOrgPolicyGovernedContainersResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse)other);
+        return mergeFrom(
+            (com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse other) {
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+              .getDefaultInstance()) return this;
       if (governedContainersBuilder_ == null) {
         if (!other.governedContainers_.isEmpty()) {
           if (governedContainers_.isEmpty()) {
@@ -2301,9 +2623,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedConta
             governedContainersBuilder_ = null;
             governedContainers_ = other.governedContainers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            governedContainersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getGovernedContainersFieldBuilder() : null;
+            governedContainersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getGovernedContainersFieldBuilder()
+                    : null;
           } else {
             governedContainersBuilder_.addAllMessages(other.governedContainers_);
           }
@@ -2343,37 +2666,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.parser(),
-                      extensionRegistry);
-              if (governedContainersBuilder_ == null) {
-                ensureGovernedContainersIsMutable();
-                governedContainers_.add(m);
-              } else {
-                governedContainersBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getConstraintFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+                        .GovernedContainer
+                    m =
+                        input.readMessage(
+                            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+                                .GovernedContainer.parser(),
+                            extensionRegistry);
+                if (governedContainersBuilder_ == null) {
+                  ensureGovernedContainersIsMutable();
+                  governedContainers_.add(m);
+                } else {
+                  governedContainersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getConstraintFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2383,28 +2711,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List governedContainers_ =
-      java.util.Collections.emptyList();
+    private java.util.List<
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>
+        governedContainers_ = java.util.Collections.emptyList();
+
     private void ensureGovernedContainersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        governedContainers_ = new java.util.ArrayList(governedContainers_);
+        governedContainers_ =
+            new java.util.ArrayList<
+                com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+                    .GovernedContainer>(governedContainers_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder> governedContainersBuilder_;
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
+                .Builder,
+            com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+                .GovernedContainerOrBuilder>
+        governedContainersBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public java.util.List getGovernedContainersList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> + getGovernedContainersList() { if (governedContainersBuilder_ == null) { return java.util.Collections.unmodifiableList(governedContainers_); } else { @@ -2412,11 +2757,15 @@ public java.util.List * The list of the analyzed governed containers. *
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public int getGovernedContainersCount() { if (governedContainersBuilder_ == null) { @@ -2426,13 +2775,18 @@ public int getGovernedContainersCount() { } } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + getGovernedContainers(int index) { if (governedContainersBuilder_ == null) { return governedContainers_.get(index); } else { @@ -2440,14 +2794,20 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Gove } } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder setGovernedContainers( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + value) { if (governedContainersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2461,14 +2821,21 @@ public Builder setGovernedContainers( return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder setGovernedContainers( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder + builderForValue) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); governedContainers_.set(index, builderForValue.build()); @@ -2479,13 +2846,19 @@ public Builder setGovernedContainers( return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public Builder addGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value) { + public Builder addGovernedContainers( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + value) { if (governedContainersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2499,14 +2872,20 @@ public Builder addGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyG return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder addGovernedContainers( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + value) { if (governedContainersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2520,14 +2899,20 @@ public Builder addGovernedContainers( return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder addGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder + builderForValue) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); governedContainers_.add(builderForValue.build()); @@ -2538,14 +2923,21 @@ public Builder addGovernedContainers( return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder addGovernedContainers( - int index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder + builderForValue) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); governedContainers_.add(index, builderForValue.build()); @@ -2556,18 +2948,25 @@ public Builder addGovernedContainers( return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder addAllGovernedContainers( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer> + values) { if (governedContainersBuilder_ == null) { ensureGovernedContainersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, governedContainers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, governedContainers_); onChanged(); } else { governedContainersBuilder_.addAllMessages(values); @@ -2575,11 +2974,15 @@ public Builder addAllGovernedContainers( return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder clearGovernedContainers() { if (governedContainersBuilder_ == null) { @@ -2592,11 +2995,15 @@ public Builder clearGovernedContainers() { return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ public Builder removeGovernedContainers(int index) { if (governedContainersBuilder_ == null) { @@ -2609,39 +3016,57 @@ public Builder removeGovernedContainers(int index) { return this; } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder getGovernedContainersBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder + getGovernedContainersBuilder(int index) { return getGovernedContainersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder + getGovernedContainersOrBuilder(int index) { if (governedContainersBuilder_ == null) { - return governedContainers_.get(index); } else { + return governedContainers_.get(index); + } else { return governedContainersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public java.util.List - getGovernedContainersOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder> + getGovernedContainersOrBuilderList() { if (governedContainersBuilder_ != null) { return governedContainersBuilder_.getMessageOrBuilderList(); } else { @@ -2649,45 +3074,78 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Gove } } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addGovernedContainersBuilder() { - return getGovernedContainersFieldBuilder().addBuilder( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder + addGovernedContainersBuilder() { + return getGovernedContainersFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .getDefaultInstance()); } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addGovernedContainersBuilder( - int index) { - return getGovernedContainersFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder + addGovernedContainersBuilder(int index) { + return getGovernedContainersFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .getDefaultInstance()); } /** + * + * *
      * The list of the analyzed governed containers.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - public java.util.List - getGovernedContainersBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder> + getGovernedContainersBuilderList() { return getGovernedContainersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder> + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + .Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder> getGovernedContainersFieldBuilder() { if (governedContainersBuilder_ == null) { - governedContainersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder, com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder>( + governedContainersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainer.Builder, + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder>( governedContainers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2699,34 +3157,47 @@ public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.Gove private com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> constraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + constraintBuilder_; /** + * + * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ public boolean hasConstraint() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The definition of the constraint in the request.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint() { if (constraintBuilder_ == null) { - return constraint_ == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } else { return constraintBuilder_.getMessage(); } } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2747,6 +3218,8 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2765,6 +3238,8 @@ public Builder setConstraint( return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2773,9 +3248,10 @@ public Builder setConstraint( */ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint value) { if (constraintBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - constraint_ != null && - constraint_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && constraint_ != null + && constraint_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) { getConstraintBuilder().mergeFrom(value); } else { constraint_ = value; @@ -2788,6 +3264,8 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2805,6 +3283,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2817,6 +3297,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2827,11 +3309,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilder(); } else { - return constraint_ == null ? - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() : constraint_; + return constraint_ == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance() + : constraint_; } } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2839,14 +3324,17 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { - constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( - getConstraint(), - getParentForChildren(), - isClean()); + constraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder>( + getConstraint(), getParentForChildren(), isClean()); constraint_ = null; } return constraintBuilder_; @@ -2854,19 +3342,21 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstra private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * 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; @@ -2875,21 +3365,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * 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 { @@ -2897,30 +3388,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -2930,27 +3428,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * The page token to fetch the next page for
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2960,41 +3462,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) - private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse(); } - public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeOrgPolicyGovernedContainersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeOrgPolicyGovernedContainersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3006,9 +3512,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java index 1ad6116f848f..fa73d7fa02aa 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersResponseOrBuilder.java @@ -1,75 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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 AnalyzeOrgPolicyGovernedContainersResponseOrBuilder extends +public interface AnalyzeOrgPolicyGovernedContainersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - java.util.List + java.util.List< + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> getGovernedContainersList(); /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer + getGovernedContainers(int index); /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ int getGovernedContainersCount(); /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse + .GovernedContainerOrBuilder> getGovernedContainersOrBuilderList(); /** + * + * *
    * The list of the analyzed governed containers.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * + * repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1; + * */ - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder( - int index); + com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder + getGovernedContainersOrBuilder(int index); /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return Whether the constraint field is set. */ boolean hasConstraint(); /** + * + * *
    * The definition of the constraint in the request.
    * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; + * * @return The constraint. */ com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getConstraint(); /** + * + * *
    * The definition of the constraint in the request.
    * 
@@ -79,24 +128,29 @@ com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedCon com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder(); /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The page token to fetch the next page for
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
    * 
* * 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java similarity index 76% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java index 8d6bb14738c2..d97471fb263d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicy.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; /** + * + * *
  * This organization policy message is a modified version of the one defined in
  * the Organization Policy system. This message contains several fields defined
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy}
  */
-public final class AnalyzerOrgPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzerOrgPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicy)
     AnalyzerOrgPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzerOrgPolicy.newBuilder() to construct.
   private AnalyzerOrgPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzerOrgPolicy() {
     attachedResource_ = "";
     appliedResource_ = "";
@@ -30,54 +48,64 @@ private AnalyzerOrgPolicy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzerOrgPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzerOrgPolicy.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
+            com.google.cloud.asset.v1.AnalyzerOrgPolicy.class,
+            com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
   }
 
-  public interface RuleOrBuilder extends
+  public interface RuleOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; + * * @return Whether the values field is set. */ boolean hasValues(); /** + * + * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; + * * @return The values. */ com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues(); /** + * + * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
@@ -88,48 +116,62 @@ public interface RuleOrBuilder extends
     com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder();
 
     /**
+     *
+     *
      * 
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; + * * @return Whether the allowAll field is set. */ boolean hasAllowAll(); /** + * + * *
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; + * * @return The allowAll. */ boolean getAllowAll(); /** + * + * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; + * * @return Whether the denyAll field is set. */ boolean hasDenyAll(); /** + * + * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; + * * @return The denyAll. */ boolean getDenyAll(); /** + * + * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -137,10 +179,13 @@ public interface RuleOrBuilder extends
      * 
* * bool enforce = 6; + * * @return Whether the enforce field is set. */ boolean hasEnforce(); /** + * + * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -148,29 +193,38 @@ public interface RuleOrBuilder extends
      * 
* * bool enforce = 6; + * * @return The enforce. */ boolean getEnforce(); /** + * + * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; + * * @return The condition. */ com.google.type.Expr getCondition(); /** + * + * *
      * The evaluating condition for this rule.
      * 
@@ -182,151 +236,178 @@ public interface RuleOrBuilder extends public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.KindCase getKindCase(); } /** + * + * *
    * Represents a rule defined in an organization policy
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule} */ - public static final class Rule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Rule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) RuleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Rule.newBuilder() to construct. private Rule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Rule() { - } + + private Rule() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Rule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); } - public interface StringValuesOrBuilder extends + public interface StringValuesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - java.util.List - getAllowedValuesList(); + java.util.List getAllowedValuesList(); /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString - getAllowedValuesBytes(int index); + com.google.protobuf.ByteString getAllowedValuesBytes(int index); /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @return A list containing the deniedValues. */ - java.util.List - getDeniedValuesList(); + java.util.List getDeniedValuesList(); /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @return The count of deniedValues. */ int getDeniedValuesCount(); /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @param index The index of the element to return. * @return The deniedValues at the given index. */ java.lang.String getDeniedValues(int index); /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @param index The index of the value to return. * @return The bytes of the deniedValues at the given index. */ - com.google.protobuf.ByteString - getDeniedValuesBytes(int index); + com.google.protobuf.ByteString getDeniedValuesBytes(int index); } /** + * + * *
      * The string values for the list constraints.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues} */ - public static final class StringValues extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringValues extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) StringValuesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringValues.newBuilder() to construct. private StringValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StringValues() { allowedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; deniedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -334,61 +415,71 @@ private StringValues() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringValues(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList allowedValues_; /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_; } /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -396,51 +487,62 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
        * List of values allowed at this resource.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } public static final int DENIED_VALUES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList deniedValues_; /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @return A list containing the deniedValues. */ - public com.google.protobuf.ProtocolStringList - getDeniedValuesList() { + public com.google.protobuf.ProtocolStringList getDeniedValuesList() { return deniedValues_; } /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @return The count of deniedValues. */ public int getDeniedValuesCount() { return deniedValues_.size(); } /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @param index The index of the element to return. * @return The deniedValues at the given index. */ @@ -448,20 +550,23 @@ public java.lang.String getDeniedValues(int index) { return deniedValues_.get(index); } /** + * + * *
        * List of values denied at this resource.
        * 
* * repeated string denied_values = 2; + * * @param index The index of the value to return. * @return The bytes of the deniedValues at the given index. */ - public com.google.protobuf.ByteString - getDeniedValuesBytes(int index) { + public com.google.protobuf.ByteString getDeniedValuesBytes(int index) { return deniedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,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 { for (int i = 0; i < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -514,17 +618,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.AnalyzerOrgPolicy.Rule.StringValues)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other = (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) obj; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; - if (!getDeniedValuesList() - .equals(other.getDeniedValuesList())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (!getDeniedValuesList().equals(other.getDeniedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -550,87 +653,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( com.google.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.AnalyzerOrgPolicy.Rule.StringValues parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicy.Rule.StringValues parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicy.Rule.StringValues parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicy.Rule.StringValues + parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzerOrgPolicy.Rule.StringValues parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicy.Rule.StringValues prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -640,39 +752,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The string values for the list constraints.
        * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicy.Rule.StringValues) com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -685,13 +800,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_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues + getDefaultInstanceForType() { return com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance(); } @@ -706,14 +822,18 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(this); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { if (((bitField0_ & 0x00000001) != 0)) { allowedValues_ = allowedValues_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -726,7 +846,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzerOrgPol result.deniedValues_ = deniedValues_; } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result) { int from_bitField0_ = bitField0_; } @@ -734,46 +855,52 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Stri public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzerOrgPolicy.Rule.StringValues) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues)other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues other) { + if (other + == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance()) + return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -820,24 +947,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.add(s); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDeniedValuesIsMutable(); - deniedValues_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedValuesIsMutable(); + allowedValues_.add(s); + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeniedValuesIsMutable(); + deniedValues_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -847,44 +977,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList allowedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList allowedValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAllowedValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_.getUnmodifiableView(); } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -892,76 +1033,90 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); onChanged(); return this; } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.add(value); onChanged(); return this; } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues( - java.lang.Iterable values) { + public Builder addAllAllowedValues(java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); onChanged(); return this; } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { @@ -971,17 +1126,21 @@ public Builder clearAllowedValues() { return this; } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -989,42 +1148,52 @@ public Builder addAllowedValuesBytes( return this; } - private com.google.protobuf.LazyStringList deniedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList deniedValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDeniedValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { deniedValues_ = new com.google.protobuf.LazyStringArrayList(deniedValues_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @return A list containing the deniedValues. */ - public com.google.protobuf.ProtocolStringList - getDeniedValuesList() { + public com.google.protobuf.ProtocolStringList getDeniedValuesList() { return deniedValues_.getUnmodifiableView(); } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @return The count of deniedValues. */ public int getDeniedValuesCount() { return deniedValues_.size(); } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @param index The index of the element to return. * @return The deniedValues at the given index. */ @@ -1032,76 +1201,90 @@ public java.lang.String getDeniedValues(int index) { return deniedValues_.get(index); } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @param index The index of the value to return. * @return The bytes of the deniedValues at the given index. */ - public com.google.protobuf.ByteString - getDeniedValuesBytes(int index) { + public com.google.protobuf.ByteString getDeniedValuesBytes(int index) { return deniedValues_.getByteString(index); } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @param index The index to set the value at. * @param value The deniedValues to set. * @return This builder for chaining. */ - public Builder setDeniedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeniedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDeniedValuesIsMutable(); deniedValues_.set(index, value); onChanged(); return this; } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @param value The deniedValues to add. * @return This builder for chaining. */ - public Builder addDeniedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDeniedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDeniedValuesIsMutable(); deniedValues_.add(value); onChanged(); return this; } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @param values The deniedValues to add. * @return This builder for chaining. */ - public Builder addAllDeniedValues( - java.lang.Iterable values) { + public Builder addAllDeniedValues(java.lang.Iterable values) { ensureDeniedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deniedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedValues_); onChanged(); return this; } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @return This builder for chaining. */ public Builder clearDeniedValues() { @@ -1111,23 +1294,28 @@ public Builder clearDeniedValues() { return this; } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @param value The bytes of the deniedValues to add. * @return This builder for chaining. */ - public Builder addDeniedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDeniedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDeniedValuesIsMutable(); deniedValues_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1140,41 +1328,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,16 +1377,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int kindCase_ = 0; private java.lang.Object kind_; + public enum KindCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUES(3), ALLOW_ALL(4), @@ -1203,6 +1396,7 @@ public enum KindCase ENFORCE(6), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -1218,33 +1412,41 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 3: return VALUES; - case 4: return ALLOW_ALL; - case 5: return DENY_ALL; - case 6: return ENFORCE; - case 0: return KIND_NOT_SET; - default: return null; + case 3: + return VALUES; + case 4: + return ALLOW_ALL; + case 5: + return DENY_ALL; + case 6: + return ENFORCE; + case 0: + return KIND_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public static final int VALUES_FIELD_NUMBER = 3; /** + * + * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; + * * @return Whether the values field is set. */ @java.lang.Override @@ -1252,22 +1454,27 @@ public boolean hasValues() { return kindCase_ == 3; } /** + * + * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; + * * @return The values. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues() { if (kindCase_ == 3) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_; } return com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance(); } /** + * + * *
      * List of values to be used for this PolicyRule. This field can be set
      * only in Policies for list constraints.
@@ -1276,21 +1483,25 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues()
      * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder() {
+    public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder
+        getValuesOrBuilder() {
       if (kindCase_ == 3) {
-         return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_;
+        return (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_;
       }
       return com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance();
     }
 
     public static final int ALLOW_ALL_FIELD_NUMBER = 4;
     /**
+     *
+     *
      * 
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; + * * @return Whether the allowAll field is set. */ @java.lang.Override @@ -1298,12 +1509,15 @@ public boolean hasAllowAll() { return kindCase_ == 4; } /** + * + * *
      * Setting this to true means that all values are allowed. This field can
      * be set only in Policies for list constraints.
      * 
* * bool allow_all = 4; + * * @return The allowAll. */ @java.lang.Override @@ -1316,12 +1530,15 @@ public boolean getAllowAll() { public static final int DENY_ALL_FIELD_NUMBER = 5; /** + * + * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; + * * @return Whether the denyAll field is set. */ @java.lang.Override @@ -1329,12 +1546,15 @@ public boolean hasDenyAll() { return kindCase_ == 5; } /** + * + * *
      * Setting this to true means that all values are denied. This field can
      * be set only in Policies for list constraints.
      * 
* * bool deny_all = 5; + * * @return The denyAll. */ @java.lang.Override @@ -1347,6 +1567,8 @@ public boolean getDenyAll() { public static final int ENFORCE_FIELD_NUMBER = 6; /** + * + * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -1354,6 +1576,7 @@ public boolean getDenyAll() {
      * 
* * bool enforce = 6; + * * @return Whether the enforce field is set. */ @java.lang.Override @@ -1361,6 +1584,8 @@ public boolean hasEnforce() { return kindCase_ == 6; } /** + * + * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -1368,6 +1593,7 @@ public boolean hasEnforce() {
      * 
* * bool enforce = 6; + * * @return The enforce. */ @java.lang.Override @@ -1381,11 +1607,14 @@ public boolean getEnforce() { public static final int CONDITION_FIELD_NUMBER = 7; private com.google.type.Expr condition_; /** + * + * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -1393,11 +1622,14 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; + * * @return The condition. */ @java.lang.Override @@ -1405,6 +1637,8 @@ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** + * + * *
      * The evaluating condition for this rule.
      * 
@@ -1417,6 +1651,7 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1428,22 +1663,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (kindCase_ == 3) { - output.writeMessage(3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); + output.writeMessage( + 3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); } if (kindCase_ == 4) { - output.writeBool( - 4, (boolean)((java.lang.Boolean) kind_)); + output.writeBool(4, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - output.writeBool( - 5, (boolean)((java.lang.Boolean) kind_)); + output.writeBool(5, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 6) { - output.writeBool( - 6, (boolean)((java.lang.Boolean) kind_)); + output.writeBool(6, (boolean) ((java.lang.Boolean) kind_)); } if (condition_ != null) { output.writeMessage(7, getCondition()); @@ -1458,27 +1690,27 @@ public int getSerializedSize() { size = 0; if (kindCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_); } if (kindCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 4, (boolean)((java.lang.Boolean) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 5, (boolean)((java.lang.Boolean) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 5, (boolean) ((java.lang.Boolean) kind_)); } if (kindCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 6, (boolean)((java.lang.Boolean) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 6, (boolean) ((java.lang.Boolean) kind_)); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCondition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1488,35 +1720,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.v1.AnalyzerOrgPolicy.Rule)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule other = (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) obj; if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 3: - if (!getValues() - .equals(other.getValues())) return false; + if (!getValues().equals(other.getValues())) return false; break; case 4: - if (getAllowAll() - != other.getAllowAll()) return false; + if (getAllowAll() != other.getAllowAll()) return false; break; case 5: - if (getDenyAll() - != other.getDenyAll()) return false; + if (getDenyAll() != other.getDenyAll()) return false; break; case 6: - if (getEnforce() - != other.getEnforce()) return false; + if (getEnforce() != other.getEnforce()) return false; break; case 0: default: @@ -1543,18 +1771,15 @@ public int hashCode() { break; case 4: hash = (37 * hash) + ALLOW_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowAll()); break; case 5: hash = (37 * hash) + DENY_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDenyAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDenyAll()); break; case 6: hash = (37 * hash) + ENFORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnforce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnforce()); break; case 0: default: @@ -1565,87 +1790,93 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicy.Rule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicy.Rule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( com.google.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.AnalyzerOrgPolicy.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicy.Rule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicy.Rule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzerOrgPolicy.Rule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzerOrgPolicy.Rule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicy.Rule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1655,39 +1886,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a rule defined in an organization policy
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy.Rule} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicy.Rule) com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1706,9 +1939,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_AnalyzerOrgPolicy_Rule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; } @java.lang.Override @@ -1727,8 +1960,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1737,17 +1973,14 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000010) != 0)) { - result.condition_ = conditionBuilder_ == null - ? condition_ - : conditionBuilder_.build(); + result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule result) { result.kindCase_ = kindCase_; result.kind_ = this.kind_; - if (kindCase_ == 3 && - valuesBuilder_ != null) { + if (kindCase_ == 3 && valuesBuilder_ != null) { result.kind_ = valuesBuilder_.build(); } } @@ -1756,38 +1989,41 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzerOrgPolicy.Rule) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule)other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) other); } else { super.mergeFrom(other); return this; @@ -1795,30 +2031,36 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()) + return this; if (other.hasCondition()) { mergeCondition(other.getCondition()); } switch (other.getKindCase()) { - case VALUES: { - mergeValues(other.getValues()); - break; - } - case ALLOW_ALL: { - setAllowAll(other.getAllowAll()); - break; - } - case DENY_ALL: { - setDenyAll(other.getDenyAll()); - break; - } - case ENFORCE: { - setEnforce(other.getEnforce()); - break; - } - case KIND_NOT_SET: { - break; - } + case VALUES: + { + mergeValues(other.getValues()); + break; + } + case ALLOW_ALL: + { + setAllowAll(other.getAllowAll()); + break; + } + case DENY_ALL: + { + setDenyAll(other.getDenyAll()); + break; + } + case ENFORCE: + { + setEnforce(other.getEnforce()); + break; + } + case KIND_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1846,41 +2088,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: { - input.readMessage( - getValuesFieldBuilder().getBuilder(), - extensionRegistry); - kindCase_ = 3; - break; - } // case 26 - case 32: { - kind_ = input.readBool(); - kindCase_ = 4; - break; - } // case 32 - case 40: { - kind_ = input.readBool(); - kindCase_ = 5; - break; - } // case 40 - case 48: { - kind_ = input.readBool(); - kindCase_ = 6; - break; - } // case 48 - case 58: { - input.readMessage( - getConditionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: + { + input.readMessage(getValuesFieldBuilder().getBuilder(), extensionRegistry); + kindCase_ = 3; + break; + } // case 26 + case 32: + { + kind_ = input.readBool(); + kindCase_ = 4; + break; + } // case 32 + case 40: + { + kind_ = input.readBool(); + kindCase_ = 5; + break; + } // case 40 + case 48: + { + kind_ = input.readBool(); + kindCase_ = 6; + break; + } // case 48 + case 58: + { + input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1890,12 +2134,12 @@ public Builder mergeFrom( } // finally return this; } + private int kindCase_ = 0; private java.lang.Object kind_; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public Builder clearKind() { @@ -1908,14 +2152,20 @@ public Builder clearKind() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder> valuesBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder> + valuesBuilder_; /** + * + * *
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; + * * @return Whether the values field is set. */ @java.lang.Override @@ -1923,12 +2173,15 @@ public boolean hasValues() { return kindCase_ == 3; } /** + * + * *
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
        * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3; + * * @return The values. */ @java.lang.Override @@ -1946,6 +2199,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues() } } /** + * + * *
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -1953,7 +2208,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues getValues()
        *
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
-      public Builder setValues(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
+      public Builder setValues(
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1967,6 +2223,8 @@ public Builder setValues(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.String
         return this;
       }
       /**
+       *
+       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -1986,6 +2244,8 @@ public Builder setValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -1993,12 +2253,18 @@ public Builder setValues(
        *
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
-      public Builder mergeValues(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
+      public Builder mergeValues(
+          com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues value) {
         if (valuesBuilder_ == null) {
-          if (kindCase_ == 3 &&
-              kind_ != com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance()) {
-            kind_ = com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_)
-                .mergeFrom(value).buildPartial();
+          if (kindCase_ == 3
+              && kind_
+                  != com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues
+                      .getDefaultInstance()) {
+            kind_ =
+                com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.newBuilder(
+                        (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             kind_ = value;
           }
@@ -2014,6 +2280,8 @@ public Builder mergeValues(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Stri
         return this;
       }
       /**
+       *
+       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2038,6 +2306,8 @@ public Builder clearValues() {
         return this;
       }
       /**
+       *
+       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2045,10 +2315,13 @@ public Builder clearValues() {
        *
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder getValuesBuilder() {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder
+          getValuesBuilder() {
         return getValuesFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2057,7 +2330,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder get
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
       @java.lang.Override
-      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder() {
+      public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder
+          getValuesOrBuilder() {
         if ((kindCase_ == 3) && (valuesBuilder_ != null)) {
           return valuesBuilder_.getMessageOrBuilder();
         } else {
@@ -2068,6 +2342,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder ge
         }
       }
       /**
+       *
+       *
        * 
        * List of values to be used for this PolicyRule. This field can be set
        * only in Policies for list constraints.
@@ -2076,14 +2352,20 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder ge
        * .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder> 
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder>
           getValuesFieldBuilder() {
         if (valuesBuilder_ == null) {
           if (!(kindCase_ == 3)) {
-            kind_ = com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance();
+            kind_ =
+                com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.getDefaultInstance();
           }
-          valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder>(
+          valuesBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.Builder,
+                  com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder>(
                   (com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues) kind_,
                   getParentForChildren(),
                   isClean());
@@ -2095,24 +2377,30 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesOrBuilder ge
       }
 
       /**
+       *
+       *
        * 
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; + * * @return Whether the allowAll field is set. */ public boolean hasAllowAll() { return kindCase_ == 4; } /** + * + * *
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; + * * @return The allowAll. */ public boolean getAllowAll() { @@ -2122,29 +2410,35 @@ public boolean getAllowAll() { return false; } /** + * + * *
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; + * * @param value The allowAll to set. * @return This builder for chaining. */ public Builder setAllowAll(boolean value) { - + kindCase_ = 4; kind_ = value; onChanged(); return this; } /** + * + * *
        * Setting this to true means that all values are allowed. This field can
        * be set only in Policies for list constraints.
        * 
* * bool allow_all = 4; + * * @return This builder for chaining. */ public Builder clearAllowAll() { @@ -2157,24 +2451,30 @@ public Builder clearAllowAll() { } /** + * + * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; + * * @return Whether the denyAll field is set. */ public boolean hasDenyAll() { return kindCase_ == 5; } /** + * + * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; + * * @return The denyAll. */ public boolean getDenyAll() { @@ -2184,29 +2484,35 @@ public boolean getDenyAll() { return false; } /** + * + * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; + * * @param value The denyAll to set. * @return This builder for chaining. */ public Builder setDenyAll(boolean value) { - + kindCase_ = 5; kind_ = value; onChanged(); return this; } /** + * + * *
        * Setting this to true means that all values are denied. This field can
        * be set only in Policies for list constraints.
        * 
* * bool deny_all = 5; + * * @return This builder for chaining. */ public Builder clearDenyAll() { @@ -2219,6 +2525,8 @@ public Builder clearDenyAll() { } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2226,12 +2534,15 @@ public Builder clearDenyAll() {
        * 
* * bool enforce = 6; + * * @return Whether the enforce field is set. */ public boolean hasEnforce() { return kindCase_ == 6; } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2239,6 +2550,7 @@ public boolean hasEnforce() {
        * 
* * bool enforce = 6; + * * @return The enforce. */ public boolean getEnforce() { @@ -2248,6 +2560,8 @@ public boolean getEnforce() { return false; } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2255,17 +2569,20 @@ public boolean getEnforce() {
        * 
* * bool enforce = 6; + * * @param value The enforce to set. * @return This builder for chaining. */ public Builder setEnforce(boolean value) { - + kindCase_ = 6; kind_ = value; onChanged(); return this; } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2273,6 +2590,7 @@ public Builder setEnforce(boolean value) {
        * 
* * bool enforce = 6; + * * @return This builder for chaining. */ public Builder clearEnforce() { @@ -2286,24 +2604,31 @@ public Builder clearEnforce() { 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_; /** + * + * *
        * The evaluating condition for this rule.
        * 
* * .google.type.Expr condition = 7; + * * @return Whether the condition field is set. */ public boolean hasCondition() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * The evaluating condition for this rule.
        * 
* * .google.type.Expr condition = 7; + * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -2314,6 +2639,8 @@ public com.google.type.Expr getCondition() { } } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2334,14 +2661,15 @@ public Builder setCondition(com.google.type.Expr value) { return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
* * .google.type.Expr condition = 7; */ - public Builder setCondition( - com.google.type.Expr.Builder builderForValue) { + public Builder setCondition(com.google.type.Expr.Builder builderForValue) { if (conditionBuilder_ == null) { condition_ = builderForValue.build(); } else { @@ -2352,6 +2680,8 @@ public Builder setCondition( return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2360,9 +2690,9 @@ public Builder setCondition( */ public Builder mergeCondition(com.google.type.Expr value) { if (conditionBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - condition_ != null && - condition_ != com.google.type.Expr.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && condition_ != null + && condition_ != com.google.type.Expr.getDefaultInstance()) { getConditionBuilder().mergeFrom(value); } else { condition_ = value; @@ -2375,6 +2705,8 @@ public Builder mergeCondition(com.google.type.Expr value) { return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2392,6 +2724,8 @@ public Builder clearCondition() { return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2404,6 +2738,8 @@ public com.google.type.Expr.Builder getConditionBuilder() { return getConditionFieldBuilder().getBuilder(); } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2414,11 +2750,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_; } } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2426,18 +2763,19 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { * .google.type.Expr condition = 7; */ 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_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2450,12 +2788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicy.Rule) private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule(); } @@ -2464,27 +2802,28 @@ public static com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2499,13 +2838,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ATTACHED_RESOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object attachedResource_ = ""; /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2516,6 +2857,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanceForTyp
    * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -2524,14 +2866,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]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2542,16 +2885,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 { @@ -2560,9 +2902,12 @@ public java.lang.String getAttachedResource() { } public static final int APPLIED_RESOURCE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object appliedResource_ = ""; /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2574,6 +2919,7 @@ public java.lang.String getAttachedResource() {
    * 
* * string applied_resource = 5; + * * @return The appliedResource. */ @java.lang.Override @@ -2582,14 +2928,15 @@ public java.lang.String getAppliedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appliedResource_ = s; return s; } } /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -2601,16 +2948,15 @@ public java.lang.String getAppliedResource() {
    * 
* * string applied_resource = 5; + * * @return The bytes for appliedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getAppliedResourceBytes() { + public com.google.protobuf.ByteString getAppliedResourceBytes() { java.lang.Object ref = appliedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appliedResource_ = b; return b; } else { @@ -2619,9 +2965,12 @@ public java.lang.String getAppliedResource() { } public static final int RULES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2633,6 +2982,8 @@ public java.util.List getRules return rules_; } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2640,11 +2991,13 @@ public java.util.List getRules * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2656,6 +3009,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2667,6 +3022,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { return rules_.get(index); } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2674,14 +3031,15 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } public static final int INHERIT_FROM_PARENT_FIELD_NUMBER = 3; private boolean inheritFromParent_ = false; /** + * + * *
    * If `inherit_from_parent` is true, Rules set higher up in the
    * hierarchy (up to the closest root) are inherited and present in the
@@ -2690,6 +3048,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild
    * 
* * bool inherit_from_parent = 3; + * * @return The inheritFromParent. */ @java.lang.Override @@ -2700,6 +3059,8 @@ public boolean getInheritFromParent() { public static final int RESET_FIELD_NUMBER = 4; private boolean reset_ = false; /** + * + * *
    * Ignores policies set above this resource and restores the default behavior
    * of the constraint at this resource.
@@ -2709,6 +3070,7 @@ public boolean getInheritFromParent() {
    * 
* * bool reset = 4; + * * @return The reset. */ @java.lang.Override @@ -2717,6 +3079,7 @@ public boolean getReset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2728,8 +3091,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_); } @@ -2758,16 +3120,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResource_); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rules_.get(i)); } if (inheritFromParent_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, inheritFromParent_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, inheritFromParent_); } if (reset_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, reset_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, reset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appliedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appliedResource_); @@ -2780,23 +3139,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.AnalyzerOrgPolicy)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicy other = (com.google.cloud.asset.v1.AnalyzerOrgPolicy) obj; - - if (!getAttachedResource() - .equals(other.getAttachedResource())) return false; - if (!getAppliedResource() - .equals(other.getAppliedResource())) return false; - if (!getRulesList() - .equals(other.getRulesList())) return false; - if (getInheritFromParent() - != other.getInheritFromParent()) return false; - if (getReset() - != other.getReset()) return false; + com.google.cloud.asset.v1.AnalyzerOrgPolicy other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicy) obj; + + if (!getAttachedResource().equals(other.getAttachedResource())) return false; + if (!getAppliedResource().equals(other.getAppliedResource())) return false; + if (!getRulesList().equals(other.getRulesList())) return false; + if (getInheritFromParent() != other.getInheritFromParent()) return false; + if (getReset() != other.getReset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2817,107 +3172,112 @@ public int hashCode() { hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + INHERIT_FROM_PARENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInheritFromParent()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInheritFromParent()); hash = (37 * hash) + RESET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( com.google.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.AnalyzerOrgPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicy 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.AnalyzerOrgPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzerOrgPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzerOrgPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This organization policy message is a modified version of the one defined in
    * the Organization Policy system. This message contains several fields defined
@@ -2927,33 +3287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicy}
    */
-  public static final class Builder extends
-      com.google.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.AnalyzerOrgPolicy)
       com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.class, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.class,
+              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2973,9 +3332,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_AnalyzerOrgPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -2994,9 +3353,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzerOrgPolicy buildPartial() {
-      com.google.cloud.asset.v1.AnalyzerOrgPolicy result = new com.google.cloud.asset.v1.AnalyzerOrgPolicy(this);
+      com.google.cloud.asset.v1.AnalyzerOrgPolicy result =
+          new com.google.cloud.asset.v1.AnalyzerOrgPolicy(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -3033,38 +3395,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicy result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzerOrgPolicy) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3101,9 +3464,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicy other) {
             rulesBuilder_ = null;
             rules_ = other.rules_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            rulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRulesFieldBuilder() : null;
+            rulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRulesFieldBuilder()
+                    : null;
           } else {
             rulesBuilder_.addAllMessages(other.rules_);
           }
@@ -3141,45 +3505,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              attachedResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.parser(),
-                      extensionRegistry);
-              if (rulesBuilder_ == null) {
-                ensureRulesIsMutable();
-                rules_.add(m);
-              } else {
-                rulesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              inheritFromParent_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 24
-            case 32: {
-              reset_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 32
-            case 42: {
-              appliedResource_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                attachedResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.parser(),
+                        extensionRegistry);
+                if (rulesBuilder_ == null) {
+                  ensureRulesIsMutable();
+                  rules_.add(m);
+                } else {
+                  rulesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                inheritFromParent_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+            case 32:
+              {
+                reset_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 32
+            case 42:
+              {
+                appliedResource_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3189,10 +3559,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object attachedResource_ = "";
     /**
+     *
+     *
      * 
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3203,13 +3576,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; @@ -3218,6 +3591,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3228,15 +3603,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 { @@ -3244,6 +3618,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3254,18 +3630,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3276,6 +3656,7 @@ public Builder setAttachedResource(
      * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -3285,6 +3666,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3295,12 +3678,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedResource_ = value; bitField0_ |= 0x00000001; @@ -3310,6 +3695,8 @@ public Builder setAttachedResourceBytes( private java.lang.Object appliedResource_ = ""; /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3321,13 +3708,13 @@ public Builder setAttachedResourceBytes(
      * 
* * string applied_resource = 5; + * * @return The appliedResource. */ public java.lang.String getAppliedResource() { java.lang.Object ref = appliedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appliedResource_ = s; return s; @@ -3336,6 +3723,8 @@ public java.lang.String getAppliedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3347,15 +3736,14 @@ public java.lang.String getAppliedResource() {
      * 
* * string applied_resource = 5; + * * @return The bytes for appliedResource. */ - public com.google.protobuf.ByteString - getAppliedResourceBytes() { + public com.google.protobuf.ByteString getAppliedResourceBytes() { java.lang.Object ref = appliedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appliedResource_ = b; return b; } else { @@ -3363,6 +3751,8 @@ public java.lang.String getAppliedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3374,18 +3764,22 @@ public java.lang.String getAppliedResource() {
      * 
* * string applied_resource = 5; + * * @param value The appliedResource to set. * @return This builder for chaining. */ - public Builder setAppliedResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppliedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appliedResource_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3397,6 +3791,7 @@ public Builder setAppliedResource(
      * 
* * string applied_resource = 5; + * * @return This builder for chaining. */ public Builder clearAppliedResource() { @@ -3406,6 +3801,8 @@ public Builder clearAppliedResource() { return this; } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3417,12 +3814,14 @@ public Builder clearAppliedResource() {
      * 
* * string applied_resource = 5; + * * @param value The bytes for appliedResource to set. * @return This builder for chaining. */ - public Builder setAppliedResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppliedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appliedResource_ = value; bitField0_ |= 0x00000002; @@ -3431,18 +3830,24 @@ public Builder setAppliedResourceBytes( } private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> rulesBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> + rulesBuilder_; /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3457,6 +3862,8 @@ public java.util.List getRules } } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3471,6 +3878,8 @@ public int getRulesCount() { } } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3485,14 +3894,15 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { } } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public Builder setRules( - int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { + public Builder setRules(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3506,6 +3916,8 @@ public Builder setRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3524,6 +3936,8 @@ public Builder setRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3544,14 +3958,15 @@ public Builder addRules(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public Builder addRules( - int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { + public Builder addRules(int index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3565,6 +3980,8 @@ public Builder addRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3583,6 +4000,8 @@ public Builder addRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3601,6 +4020,8 @@ public Builder addRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3611,8 +4032,7 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -3620,6 +4040,8 @@ public Builder addAllRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3637,6 +4059,8 @@ public Builder clearRules() { return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3654,39 +4078,44 @@ public Builder removeRules(int index) { return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder getRulesBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder getRulesBuilder(int index) { return getRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(int index) { if (rulesBuilder_ == null) { - return rules_.get(index); } else { + return rules_.get(index); + } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -3694,6 +4123,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild } } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3701,49 +4132,57 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder() { - return getRulesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); + return getRulesFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder( - int index) { - return getRulesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.getDefaultInstance()); } /** + * + * *
      * List of rules for this organization policy.
      * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder>( - rules_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder>( + rules_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } - private boolean inheritFromParent_ ; + private boolean inheritFromParent_; /** + * + * *
      * If `inherit_from_parent` is true, Rules set higher up in the
      * hierarchy (up to the closest root) are inherited and present in the
@@ -3752,6 +4191,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder(
      * 
* * bool inherit_from_parent = 3; + * * @return The inheritFromParent. */ @java.lang.Override @@ -3759,6 +4199,8 @@ public boolean getInheritFromParent() { return inheritFromParent_; } /** + * + * *
      * If `inherit_from_parent` is true, Rules set higher up in the
      * hierarchy (up to the closest root) are inherited and present in the
@@ -3767,17 +4209,20 @@ public boolean getInheritFromParent() {
      * 
* * bool inherit_from_parent = 3; + * * @param value The inheritFromParent to set. * @return This builder for chaining. */ public Builder setInheritFromParent(boolean value) { - + inheritFromParent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * If `inherit_from_parent` is true, Rules set higher up in the
      * hierarchy (up to the closest root) are inherited and present in the
@@ -3786,6 +4231,7 @@ public Builder setInheritFromParent(boolean value) {
      * 
* * bool inherit_from_parent = 3; + * * @return This builder for chaining. */ public Builder clearInheritFromParent() { @@ -3795,8 +4241,10 @@ public Builder clearInheritFromParent() { return this; } - private boolean reset_ ; + private boolean reset_; /** + * + * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -3806,6 +4254,7 @@ public Builder clearInheritFromParent() {
      * 
* * bool reset = 4; + * * @return The reset. */ @java.lang.Override @@ -3813,6 +4262,8 @@ public boolean getReset() { return reset_; } /** + * + * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -3822,17 +4273,20 @@ public boolean getReset() {
      * 
* * bool reset = 4; + * * @param value The reset to set. * @return This builder for chaining. */ public Builder setReset(boolean value) { - + reset_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -3842,6 +4296,7 @@ public Builder setReset(boolean value) {
      * 
* * bool reset = 4; + * * @return This builder for chaining. */ public Builder clearReset() { @@ -3850,9 +4305,9 @@ public Builder clearReset() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3862,12 +4317,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicy) private static final com.google.cloud.asset.v1.AnalyzerOrgPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicy(); } @@ -3876,27 +4331,27 @@ public static com.google.cloud.asset.v1.AnalyzerOrgPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzerOrgPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzerOrgPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3911,6 +4366,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzerOrgPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java similarity index 63% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java index 2dae6ae81337..d3406b6575b2 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraint.java @@ -1,57 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * The organization policy constraint definition.
  * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint} */ -public final class AnalyzerOrgPolicyConstraint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalyzerOrgPolicyConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) AnalyzerOrgPolicyConstraintOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalyzerOrgPolicyConstraint.newBuilder() to construct. private AnalyzerOrgPolicyConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalyzerOrgPolicyConstraint() { - } + + private AnalyzerOrgPolicyConstraint() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalyzerOrgPolicyConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); } - public interface ConstraintOrBuilder extends + public interface ConstraintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -59,10 +80,13 @@ public interface ConstraintOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -70,144 +94,201 @@ public interface ConstraintOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return The enum numeric value on the wire for constraintDefault. */ int getConstraintDefaultValue(); /** + * + * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return The constraintDefault. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + getConstraintDefault(); /** + * + * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * * @return Whether the listConstraint field is set. */ boolean hasListConstraint(); /** + * + * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * * @return The listConstraint. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + getListConstraint(); /** + * + * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder + getListConstraintOrBuilder(); /** + * + * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * * @return Whether the booleanConstraint field is set. */ boolean hasBooleanConstraint(); /** + * + * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * * @return The booleanConstraint. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + getBooleanConstraint(); /** + * + * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder + getBooleanConstraintOrBuilder(); - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase getConstraintTypeCase(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase + getConstraintTypeCase(); } /** + * + * *
    * The definition of a constraint.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint} */ - public static final class Constraint extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Constraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) ConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Constraint.newBuilder() to construct. private Constraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Constraint() { name_ = ""; displayName_ = ""; @@ -217,40 +298,45 @@ private Constraint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Constraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); } /** + * + * *
      * Specifies the default behavior in the absence of any `Policy` for the
      * `Constraint`. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`.
      * 
* - * Protobuf enum {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault} + * Protobuf enum {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault} */ - public enum ConstraintDefault - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConstraintDefault implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * This is only used for distinguishing unset values and should never be
        * used.
@@ -260,6 +346,8 @@ public enum ConstraintDefault
        */
       CONSTRAINT_DEFAULT_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * Indicate that all values are allowed for list constraints.
        * Indicate that enforcement is off for boolean constraints.
@@ -269,6 +357,8 @@ public enum ConstraintDefault
        */
       ALLOW(1),
       /**
+       *
+       *
        * 
        * Indicate that all values are denied for list constraints.
        * Indicate that enforcement is on for boolean constraints.
@@ -281,6 +371,8 @@ public enum ConstraintDefault
       ;
 
       /**
+       *
+       *
        * 
        * This is only used for distinguishing unset values and should never be
        * used.
@@ -290,6 +382,8 @@ public enum ConstraintDefault
        */
       public static final int CONSTRAINT_DEFAULT_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * Indicate that all values are allowed for list constraints.
        * Indicate that enforcement is off for boolean constraints.
@@ -299,6 +393,8 @@ public enum ConstraintDefault
        */
       public static final int ALLOW_VALUE = 1;
       /**
+       *
+       *
        * 
        * Indicate that all values are denied for list constraints.
        * Indicate that enforcement is on for boolean constraints.
@@ -308,7 +404,6 @@ public enum ConstraintDefault
        */
       public static final int DENY_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -333,10 +428,14 @@ public static ConstraintDefault valueOf(int value) {
        */
       public static ConstraintDefault forNumber(int value) {
         switch (value) {
-          case 0: return CONSTRAINT_DEFAULT_UNSPECIFIED;
-          case 1: return ALLOW;
-          case 2: return DENY;
-          default: return null;
+          case 0:
+            return CONSTRAINT_DEFAULT_UNSPECIFIED;
+          case 1:
+            return ALLOW;
+          case 2:
+            return DENY;
+          default:
+            return null;
         }
       }
 
@@ -344,29 +443,31 @@ public static ConstraintDefault forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ConstraintDefault> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ConstraintDefault findValueByNumber(int number) {
-                return ConstraintDefault.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 ConstraintDefault findValueByNumber(int number) {
+                  return ConstraintDefault.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.AnalyzerOrgPolicyConstraint.Constraint.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ConstraintDefault[] VALUES = values();
@@ -374,8 +475,7 @@ public ConstraintDefault findValueByNumber(int number) {
       public static ConstraintDefault 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;
@@ -392,11 +492,14 @@ private ConstraintDefault(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault)
     }
 
-    public interface ListConstraintOrBuilder extends
+    public interface ListConstraintOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Indicates whether values grouped into categories can be used in
        * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -404,11 +507,14 @@ public interface ListConstraintOrBuilder extends
        * 
* * bool supports_in = 1; + * * @return The supportsIn. */ boolean getSupportsIn(); /** + * + * *
        * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
        * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -417,58 +523,67 @@ public interface ListConstraintOrBuilder extends
        * 
* * bool supports_under = 2; + * * @return The supportsUnder. */ boolean getSupportsUnder(); } /** + * + * *
      * A `Constraint` that allows or disallows a list of string values, which
      * are configured by an organization's policy administrator with a `Policy`.
      * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} */ - public static final class ListConstraint extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) ListConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConstraint.newBuilder() to construct. private ListConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConstraint() { - } + + private ListConstraint() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .Builder.class); } public static final int SUPPORTS_IN_FIELD_NUMBER = 1; private boolean supportsIn_ = false; /** + * + * *
        * Indicates whether values grouped into categories can be used in
        * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -476,6 +591,7 @@ protected java.lang.Object newInstance(
        * 
* * bool supports_in = 1; + * * @return The supportsIn. */ @java.lang.Override @@ -486,6 +602,8 @@ public boolean getSupportsIn() { public static final int SUPPORTS_UNDER_FIELD_NUMBER = 2; private boolean supportsUnder_ = false; /** + * + * *
        * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
        * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -494,6 +612,7 @@ public boolean getSupportsIn() {
        * 
* * bool supports_under = 2; + * * @return The supportsUnder. */ @java.lang.Override @@ -502,6 +621,7 @@ public boolean getSupportsUnder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,8 +633,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 (supportsIn_ != false) { output.writeBool(1, supportsIn_); } @@ -531,12 +650,10 @@ public int getSerializedSize() { size = 0; if (supportsIn_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, supportsIn_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, supportsIn_); } if (supportsUnder_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, supportsUnder_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, supportsUnder_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -546,17 +663,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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)) { + if (!(obj + instanceof + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) obj; - if (getSupportsIn() - != other.getSupportsIn()) return false; - if (getSupportsUnder() - != other.getSupportsUnder()) return false; + if (getSupportsIn() != other.getSupportsIn()) return false; + if (getSupportsUnder() != other.getSupportsUnder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -569,98 +687,112 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SUPPORTS_IN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSupportsIn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsIn()); hash = (37 * hash) + SUPPORTS_UNDER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSupportsUnder()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSupportsUnder()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseFrom( + com.google.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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,40 +802,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A `Constraint` that allows or disallows a list of string values, which
        * are configured by an organization's policy administrator with a `Policy`.
        * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -714,19 +852,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_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint build() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + build() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -734,14 +876,21 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListCons } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + buildPartial() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.supportsIn_ = supportsIn_; @@ -755,46 +904,56 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint)other); + if (other + instanceof + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other) { + if (other + == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance()) return this; if (other.getSupportsIn() != false) { setSupportsIn(other.getSupportsIn()); } @@ -827,22 +986,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - supportsIn_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - supportsUnder_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + supportsIn_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + supportsUnder_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -852,10 +1014,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean supportsIn_ ; + private boolean supportsIn_; /** + * + * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -863,6 +1028,7 @@ public Builder mergeFrom(
          * 
* * bool supports_in = 1; + * * @return The supportsIn. */ @java.lang.Override @@ -870,6 +1036,8 @@ public boolean getSupportsIn() { return supportsIn_; } /** + * + * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -877,17 +1045,20 @@ public boolean getSupportsIn() {
          * 
* * bool supports_in = 1; + * * @param value The supportsIn to set. * @return This builder for chaining. */ public Builder setSupportsIn(boolean value) { - + supportsIn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -895,6 +1066,7 @@ public Builder setSupportsIn(boolean value) {
          * 
* * bool supports_in = 1; + * * @return This builder for chaining. */ public Builder clearSupportsIn() { @@ -904,8 +1076,10 @@ public Builder clearSupportsIn() { return this; } - private boolean supportsUnder_ ; + private boolean supportsUnder_; /** + * + * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -914,6 +1088,7 @@ public Builder clearSupportsIn() {
          * 
* * bool supports_under = 2; + * * @return The supportsUnder. */ @java.lang.Override @@ -921,6 +1096,8 @@ public boolean getSupportsUnder() { return supportsUnder_; } /** + * + * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -929,17 +1106,20 @@ public boolean getSupportsUnder() {
          * 
* * bool supports_under = 2; + * * @param value The supportsUnder to set. * @return This builder for chaining. */ public Builder setSupportsUnder(boolean value) { - + supportsUnder_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -948,6 +1128,7 @@ public Builder setSupportsUnder(boolean value) {
          * 
* * bool supports_under = 2; + * * @return This builder for chaining. */ public Builder clearSupportsUnder() { @@ -956,6 +1137,7 @@ public Builder clearSupportsUnder() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -968,41 +1150,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .ListConstraint + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1014,17 +1201,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BooleanConstraintOrBuilder extends + public interface BooleanConstraintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
      * A `Constraint` that is either enforced or not.
      * For example a constraint `constraints/compute.disableSerialPortAccess`.
@@ -1032,46 +1221,51 @@ public interface BooleanConstraintOrBuilder extends
      * opened to that instance.
      * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} */ - public static final class BooleanConstraint extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BooleanConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) BooleanConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BooleanConstraint.newBuilder() to construct. private BooleanConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BooleanConstraint() { - } + + private BooleanConstraint() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BooleanConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1083,8 +1277,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 { getUnknownFields().writeTo(output); } @@ -1102,12 +1295,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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint)) { + if (!(obj + instanceof + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) + obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1125,88 +1322,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseFrom( + com.google.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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint 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.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + 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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1216,6 +1441,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A `Constraint` that is either enforced or not.
        * For example a constraint `constraints/compute.disableSerialPortAccess`.
@@ -1223,35 +1450,40 @@ protected Builder newBuilderForType(
        * opened to that instance.
        * 
* - * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} + * Protobuf type {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraintOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1259,19 +1491,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_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint build() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint result = buildPartial(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + build() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1279,8 +1515,12 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanC } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint(this); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + buildPartial() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint(this); onBuilt(); return result; } @@ -1289,46 +1529,57 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint)other); + if (other + instanceof + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + other) { + if (other + == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1355,12 +1606,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1370,6 +1622,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1382,41 +1635,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BooleanConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BooleanConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,21 +1688,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int constraintTypeCase_ = 0; private java.lang.Object constraintType_; + public enum ConstraintTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LIST_CONSTRAINT(5), BOOLEAN_CONSTRAINT(6), CONSTRAINTTYPE_NOT_SET(0); private final int value; + private ConstraintTypeCase(int value) { this.value = value; } @@ -1458,27 +1721,33 @@ public static ConstraintTypeCase valueOf(int value) { public static ConstraintTypeCase forNumber(int value) { switch (value) { - case 5: return LIST_CONSTRAINT; - case 6: return BOOLEAN_CONSTRAINT; - case 0: return CONSTRAINTTYPE_NOT_SET; - default: return null; + case 5: + return LIST_CONSTRAINT; + case 6: + return BOOLEAN_CONSTRAINT; + case 0: + return CONSTRAINTTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConstraintTypeCase - getConstraintTypeCase() { - return ConstraintTypeCase.forNumber( - constraintTypeCase_); + public ConstraintTypeCase getConstraintTypeCase() { + return ConstraintTypeCase.forNumber(constraintTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * The unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -1486,6 +1755,7 @@ public int getNumber() {
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1494,14 +1764,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 unique name of the constraint. Format of the name should be
      * * `constraints/{constraint_name}`
@@ -1509,16 +1780,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 { @@ -1527,14 +1797,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1543,29 +1817,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * The human readable name of the constraint.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1574,15 +1848,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1591,30 +1869,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; } } /** + * + * *
      * Detailed description of what this `Constraint` controls as well as how
      * and where it is enforced.
      * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1625,36 +1903,59 @@ public java.lang.String getDescription() { public static final int CONSTRAINT_DEFAULT_FIELD_NUMBER = 4; private int constraintDefault_ = 0; /** + * + * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return The enum numeric value on the wire for constraintDefault. */ - @java.lang.Override public int getConstraintDefaultValue() { + @java.lang.Override + public int getConstraintDefaultValue() { return constraintDefault_; } /** + * + * *
      * The evaluation behavior of this constraint in the absence of 'Policy'.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return The constraintDefault. */ - @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.forNumber(constraintDefault_); - return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + getConstraintDefault() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + .forNumber(constraintDefault_); + return result == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + .UNRECOGNIZED + : result; } public static final int LIST_CONSTRAINT_FIELD_NUMBER = 5; /** + * + * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * * @return Whether the listConstraint field is set. */ @java.lang.Override @@ -1662,42 +1963,62 @@ public boolean hasListConstraint() { return constraintTypeCase_ == 5; } /** + * + * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * * @return The listConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + getListConstraint() { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } /** + * + * *
      * Defines this constraint as being a ListConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder + getListConstraintOrBuilder() { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } public static final int BOOLEAN_CONSTRAINT_FIELD_NUMBER = 6; /** + * + * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * * @return Whether the booleanConstraint field is set. */ @java.lang.Override @@ -1705,36 +2026,53 @@ public boolean hasBooleanConstraint() { return constraintTypeCase_ == 6; } /** + * + * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * * @return The booleanConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + getBooleanConstraint() { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } /** + * + * *
      * Defines this constraint as being a BooleanConstraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraintOrBuilder + getBooleanConstraintOrBuilder() { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1746,8 +2084,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_); } @@ -1757,14 +2094,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - if (constraintDefault_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.CONSTRAINT_DEFAULT_UNSPECIFIED.getNumber()) { + if (constraintDefault_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + .CONSTRAINT_DEFAULT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, constraintDefault_); } if (constraintTypeCase_ == 5) { - output.writeMessage(5, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_); + output.writeMessage( + 5, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_); } if (constraintTypeCase_ == 6) { - output.writeMessage(6, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_); + output.writeMessage( + 6, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) + constraintType_); } getUnknownFields().writeTo(output); } @@ -1784,17 +2130,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - if (constraintDefault_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.CONSTRAINT_DEFAULT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, constraintDefault_); + if (constraintDefault_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + .CONSTRAINT_DEFAULT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, constraintDefault_); } if (constraintTypeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_); } if (constraintTypeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) + constraintType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1804,29 +2158,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.AnalyzerOrgPolicyConstraint.Constraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (constraintDefault_ != other.constraintDefault_) return false; if (!getConstraintTypeCase().equals(other.getConstraintTypeCase())) return false; switch (constraintTypeCase_) { case 5: - if (!getListConstraint() - .equals(other.getListConstraint())) return false; + if (!getListConstraint().equals(other.getListConstraint())) return false; break; case 6: - if (!getBooleanConstraint() - .equals(other.getBooleanConstraint())) return false; + if (!getBooleanConstraint().equals(other.getBooleanConstraint())) return false; break; case 0: default: @@ -1868,87 +2218,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( com.google.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.AnalyzerOrgPolicyConstraint.Constraint parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicyConstraint.Constraint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicyConstraint.Constraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.Constraint + parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzerOrgPolicyConstraint.Constraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicyConstraint.Constraint prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1958,39 +2316,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The definition of a constraint.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicyConstraint.Constraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2011,14 +2372,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_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .getDefaultInstance(); } @java.lang.Override @@ -2032,14 +2395,18 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint build() @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -2055,15 +2422,14 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint } } - private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { + private void buildPartialOneofs( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint result) { result.constraintTypeCase_ = constraintTypeCase_; result.constraintType_ = this.constraintType_; - if (constraintTypeCase_ == 5 && - listConstraintBuilder_ != null) { + if (constraintTypeCase_ == 5 && listConstraintBuilder_ != null) { result.constraintType_ = listConstraintBuilder_.build(); } - if (constraintTypeCase_ == 6 && - booleanConstraintBuilder_ != null) { + if (constraintTypeCase_ == 6 && booleanConstraintBuilder_ != null) { result.constraintType_ = booleanConstraintBuilder_.build(); } } @@ -2072,46 +2438,53 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConst public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzerOrgPolicyConstraint.Constraint) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint)other); + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint other) { + if (other + == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2131,17 +2504,20 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.C setConstraintDefaultValue(other.getConstraintDefaultValue()); } switch (other.getConstraintTypeCase()) { - case LIST_CONSTRAINT: { - mergeListConstraint(other.getListConstraint()); - break; - } - case BOOLEAN_CONSTRAINT: { - mergeBooleanConstraint(other.getBooleanConstraint()); - break; - } - case CONSTRAINTTYPE_NOT_SET: { - break; - } + case LIST_CONSTRAINT: + { + mergeListConstraint(other.getListConstraint()); + break; + } + case BOOLEAN_CONSTRAINT: + { + mergeBooleanConstraint(other.getBooleanConstraint()); + break; + } + case CONSTRAINTTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2169,46 +2545,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - constraintDefault_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - input.readMessage( - getListConstraintFieldBuilder().getBuilder(), - extensionRegistry); - constraintTypeCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getBooleanConstraintFieldBuilder().getBuilder(), - extensionRegistry); - constraintTypeCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + constraintDefault_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + input.readMessage( + getListConstraintFieldBuilder().getBuilder(), extensionRegistry); + constraintTypeCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage( + getBooleanConstraintFieldBuilder().getBuilder(), extensionRegistry); + constraintTypeCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2218,12 +2599,12 @@ public Builder mergeFrom( } // finally return this; } + private int constraintTypeCase_ = 0; private java.lang.Object constraintType_; - public ConstraintTypeCase - getConstraintTypeCase() { - return ConstraintTypeCase.forNumber( - constraintTypeCase_); + + public ConstraintTypeCase getConstraintTypeCase() { + return ConstraintTypeCase.forNumber(constraintTypeCase_); } public Builder clearConstraintType() { @@ -2237,6 +2618,8 @@ public Builder clearConstraintType() { private java.lang.Object name_ = ""; /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2244,13 +2627,13 @@ public Builder clearConstraintType() {
        * 
* * 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; @@ -2259,6 +2642,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2266,15 +2651,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 { @@ -2282,6 +2666,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2289,18 +2675,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2308,6 +2698,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2317,6 +2708,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2324,12 +2717,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2339,18 +2734,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2359,20 +2756,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2380,28 +2778,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2411,17 +2816,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
        * The human readable name of the constraint.
        * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2431,19 +2840,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2452,21 +2863,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2474,30 +2886,37 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2507,18 +2926,22 @@ public Builder clearDescription() { return this; } /** + * + * *
        * Detailed description of what this `Constraint` controls as well as how
        * and where it is enforced.
        * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2528,22 +2951,33 @@ public Builder setDescriptionBytes( private int constraintDefault_ = 0; /** + * + * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return The enum numeric value on the wire for constraintDefault. */ - @java.lang.Override public int getConstraintDefaultValue() { + @java.lang.Override + public int getConstraintDefaultValue() { return constraintDefault_; } /** + * + * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @param value The enum numeric value on the wire for constraintDefault to set. * @return This builder for chaining. */ @@ -2554,28 +2988,46 @@ public Builder setConstraintDefaultValue(int value) { return this; } /** + * + * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return The constraintDefault. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.forNumber(constraintDefault_); - return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault.UNRECOGNIZED : result; + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + getConstraintDefault() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault result = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + .forNumber(constraintDefault_); + return result == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + .UNRECOGNIZED + : result; } /** + * + * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @param value The constraintDefault to set. * @return This builder for chaining. */ - public Builder setConstraintDefault(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault value) { + public Builder setConstraintDefault( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault + value) { if (value == null) { throw new NullPointerException(); } @@ -2585,11 +3037,16 @@ public Builder setConstraintDefault(com.google.cloud.asset.v1.AnalyzerOrgPolicyC return this; } /** + * + * *
        * The evaluation behavior of this constraint in the absence of 'Policy'.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4; + * + * * @return This builder for chaining. */ public Builder clearConstraintDefault() { @@ -2600,13 +3057,23 @@ public Builder clearConstraintDefault() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder> listConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .ListConstraintOrBuilder> + listConstraintBuilder_; /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * * @return Whether the listConstraint field is set. */ @java.lang.Override @@ -2614,35 +3081,49 @@ public boolean hasListConstraint() { return constraintTypeCase_ == 5; } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * * @return The listConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + getListConstraint() { if (listConstraintBuilder_ == null) { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } else { if (constraintTypeCase_ == 5) { return listConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ - public Builder setListConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { + public Builder setListConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { if (listConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2656,14 +3137,19 @@ public Builder setListConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyCons return this; } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ public Builder setListConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder + builderForValue) { if (listConstraintBuilder_ == null) { constraintType_ = builderForValue.build(); onChanged(); @@ -2674,18 +3160,31 @@ public Builder setListConstraint( return this; } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ - public Builder mergeListConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { + public Builder mergeListConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value) { if (listConstraintBuilder_ == null) { - if (constraintTypeCase_ == 5 && - constraintType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance()) { - constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_) - .mergeFrom(value).buildPartial(); + if (constraintTypeCase_ == 5 + && constraintType_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance()) { + constraintType_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .newBuilder( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .ListConstraint) + constraintType_) + .mergeFrom(value) + .buildPartial(); } else { constraintType_ = value; } @@ -2701,11 +3200,15 @@ public Builder mergeListConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyCo return this; } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ public Builder clearListConstraint() { if (listConstraintBuilder_ == null) { @@ -2724,50 +3227,79 @@ public Builder clearListConstraint() { return this; } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder getListConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder + getListConstraintBuilder() { return getListConstraintFieldBuilder().getBuilder(); } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .ListConstraintOrBuilder + getListConstraintOrBuilder() { if ((constraintTypeCase_ == 5) && (listConstraintBuilder_ != null)) { return listConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintTypeCase_ == 5) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } } /** + * + * *
        * Defines this constraint as being a ListConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .ListConstraintOrBuilder> getListConstraintFieldBuilder() { if (listConstraintBuilder_ == null) { if (!(constraintTypeCase_ == 5)) { - constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.getDefaultInstance(); + constraintType_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .getDefaultInstance(); } - listConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) constraintType_, + listConstraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint + .Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .ListConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint) + constraintType_, getParentForChildren(), isClean()); constraintType_ = null; @@ -2778,13 +3310,23 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListCons } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder> booleanConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraintOrBuilder> + booleanConstraintBuilder_; /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * * @return Whether the booleanConstraint field is set. */ @java.lang.Override @@ -2792,35 +3334,51 @@ public boolean hasBooleanConstraint() { return constraintTypeCase_ == 6; } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * * @return The booleanConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + getBooleanConstraint() { if (booleanConstraintBuilder_ == null) { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } else { if (constraintTypeCase_ == 6) { return booleanConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ - public Builder setBooleanConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value) { + public Builder setBooleanConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + value) { if (booleanConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2834,14 +3392,19 @@ public Builder setBooleanConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyC return this; } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ public Builder setBooleanConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder + builderForValue) { if (booleanConstraintBuilder_ == null) { constraintType_ = builderForValue.build(); onChanged(); @@ -2852,18 +3415,32 @@ public Builder setBooleanConstraint( return this; } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ - public Builder mergeBooleanConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value) { + public Builder mergeBooleanConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + value) { if (booleanConstraintBuilder_ == null) { - if (constraintTypeCase_ == 6 && - constraintType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance()) { - constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_) - .mergeFrom(value).buildPartial(); + if (constraintTypeCase_ == 6 + && constraintType_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint.getDefaultInstance()) { + constraintType_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .newBuilder( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint) + constraintType_) + .mergeFrom(value) + .buildPartial(); } else { constraintType_ = value; } @@ -2879,11 +3456,15 @@ public Builder mergeBooleanConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolic return this; } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ public Builder clearBooleanConstraint() { if (booleanConstraintBuilder_ == null) { @@ -2902,50 +3483,83 @@ public Builder clearBooleanConstraint() { return this; } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder getBooleanConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .Builder + getBooleanConstraintBuilder() { return getBooleanConstraintFieldBuilder().getBuilder(); } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraintOrBuilder + getBooleanConstraintOrBuilder() { if ((constraintTypeCase_ == 6) && (booleanConstraintBuilder_ != null)) { return booleanConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintTypeCase_ == 6) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint) + constraintType_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } } /** + * + * *
        * Defines this constraint as being a BooleanConstraint.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraintOrBuilder> getBooleanConstraintFieldBuilder() { if (booleanConstraintBuilder_ == null) { if (!(constraintTypeCase_ == 6)) { - constraintType_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.getDefaultInstance(); + constraintType_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .getDefaultInstance(); } - booleanConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint) constraintType_, + booleanConstraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint + .Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .BooleanConstraint) + constraintType_, getParentForChildren(), isClean()); constraintType_ = null; @@ -2954,6 +3568,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanC onChanged(); return booleanConstraintBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2966,41 +3581,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Constraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Constraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3012,17 +3630,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CustomConstraintOrBuilder extends + public interface CustomConstraintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -3032,10 +3653,13 @@ public interface CustomConstraintOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -3045,12 +3669,14 @@ public interface CustomConstraintOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3058,11 +3684,13 @@ public interface CustomConstraintOrBuilder extends
      * 
* * repeated string resource_types = 2; + * * @return A list containing the resourceTypes. */ - java.util.List - getResourceTypesList(); + java.util.List getResourceTypesList(); /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3070,10 +3698,13 @@ public interface CustomConstraintOrBuilder extends
      * 
* * repeated string resource_types = 2; + * * @return The count of resourceTypes. */ int getResourceTypesCount(); /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3081,11 +3712,14 @@ public interface CustomConstraintOrBuilder extends
      * 
* * repeated string resource_types = 2; + * * @param index The index of the element to return. * @return The resourceTypes at the given index. */ java.lang.String getResourceTypes(int index); /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3093,62 +3727,91 @@ public interface CustomConstraintOrBuilder extends
      * 
* * repeated string resource_types = 2; + * * @param index The index of the value to return. * @return The bytes of the resourceTypes at the given index. */ - com.google.protobuf.ByteString - getResourceTypesBytes(int index); + com.google.protobuf.ByteString getResourceTypesBytes(int index); /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return A list containing the methodTypes. */ - java.util.List getMethodTypesList(); + java.util.List< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> + getMethodTypesList(); /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return The count of methodTypes. */ int getMethodTypesCount(); /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index of the element to return. * @return The methodTypes at the given index. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType + getMethodTypes(int index); /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return A list containing the enum numeric values on the wire for methodTypes. */ - java.util.List - getMethodTypesValueList(); + java.util.List getMethodTypesValueList(); /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of methodTypes at the given index. */ int getMethodTypesValue(int index); /** + * + * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -3156,10 +3819,13 @@ public interface CustomConstraintOrBuilder extends
      * 
* * string condition = 4; + * * @return The condition. */ java.lang.String getCondition(); /** + * + * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -3167,86 +3833,110 @@ public interface CustomConstraintOrBuilder extends
      * 
* * string condition = 4; + * * @return The bytes for condition. */ - com.google.protobuf.ByteString - getConditionBytes(); + com.google.protobuf.ByteString getConditionBytes(); /** + * + * *
      * Allow or deny type.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return The enum numeric value on the wire for actionType. */ int getActionTypeValue(); /** + * + * *
      * Allow or deny type.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return The actionType. */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + getActionType(); /** + * + * *
      * One line display name for the UI.
      * 
* * string display_name = 6; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * One line display name for the UI.
      * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } /** + * + * *
    * The definition of a custom constraint.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint} */ - public static final class CustomConstraint extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) CustomConstraintOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomConstraint.newBuilder() to construct. private CustomConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomConstraint() { name_ = ""; resourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -3259,30 +3949,33 @@ private CustomConstraint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder.class); } /** + * + * *
      * The operation in which this constraint will be applied. For example:
      * If the constraint applies only when create VMs, the method_types will be
@@ -3290,11 +3983,13 @@ protected java.lang.Object newInstance(
      * method_types will be "CREATE" and "DELETE".
      * 
* - * Protobuf enum {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType} + * Protobuf enum {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType} */ - public enum MethodType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MethodType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. Will results in user error.
        * 
@@ -3303,6 +3998,8 @@ public enum MethodType */ METHOD_TYPE_UNSPECIFIED(0), /** + * + * *
        * Constraint applied when creating the resource.
        * 
@@ -3311,6 +4008,8 @@ public enum MethodType */ CREATE(1), /** + * + * *
        * Constraint applied when updating the resource.
        * 
@@ -3319,6 +4018,8 @@ public enum MethodType */ UPDATE(2), /** + * + * *
        * Constraint applied when deleting the resource.
        * 
@@ -3330,6 +4031,8 @@ public enum MethodType ; /** + * + * *
        * Unspecified. Will results in user error.
        * 
@@ -3338,6 +4041,8 @@ public enum MethodType */ public static final int METHOD_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Constraint applied when creating the resource.
        * 
@@ -3346,6 +4051,8 @@ public enum MethodType */ public static final int CREATE_VALUE = 1; /** + * + * *
        * Constraint applied when updating the resource.
        * 
@@ -3354,6 +4061,8 @@ public enum MethodType */ public static final int UPDATE_VALUE = 2; /** + * + * *
        * Constraint applied when deleting the resource.
        * 
@@ -3362,7 +4071,6 @@ public enum MethodType */ public static final int DELETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3387,50 +4095,54 @@ public static MethodType valueOf(int value) { */ public static MethodType forNumber(int value) { switch (value) { - case 0: return METHOD_TYPE_UNSPECIFIED; - case 1: return CREATE; - case 2: return UPDATE; - case 3: return DELETE; - default: return null; + case 0: + return METHOD_TYPE_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return UPDATE; + case 3: + return DELETE; + 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< - MethodType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MethodType findValueByNumber(int number) { - return MethodType.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 MethodType findValueByNumber(int number) { + return MethodType.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.AnalyzerOrgPolicyConstraint.CustomConstraint.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDescriptor() + .getEnumTypes() + .get(0); } private static final MethodType[] VALUES = values(); - public static MethodType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MethodType 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; @@ -3448,15 +4160,19 @@ private MethodType(int value) { } /** + * + * *
      * Allow or deny type.
      * 
* - * Protobuf enum {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType} + * Protobuf enum {@code + * google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType} */ - public enum ActionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. Will results in user error.
        * 
@@ -3465,6 +4181,8 @@ public enum ActionType */ ACTION_TYPE_UNSPECIFIED(0), /** + * + * *
        * Allowed action type.
        * 
@@ -3473,6 +4191,8 @@ public enum ActionType */ ALLOW(1), /** + * + * *
        * Deny action type.
        * 
@@ -3484,6 +4204,8 @@ public enum ActionType ; /** + * + * *
        * Unspecified. Will results in user error.
        * 
@@ -3492,6 +4214,8 @@ public enum ActionType */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Allowed action type.
        * 
@@ -3500,6 +4224,8 @@ public enum ActionType */ public static final int ALLOW_VALUE = 1; /** + * + * *
        * Deny action type.
        * 
@@ -3508,7 +4234,6 @@ public enum ActionType */ public static final int DENY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3533,49 +4258,52 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: return ACTION_TYPE_UNSPECIFIED; - case 1: return ALLOW; - case 2: return DENY; - default: return null; + case 0: + return ACTION_TYPE_UNSPECIFIED; + case 1: + return ALLOW; + case 2: + return DENY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.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 ActionType findValueByNumber(int number) { + return ActionType.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.AnalyzerOrgPolicyConstraint.CustomConstraint.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDescriptor() + .getEnumTypes() + .get(1); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType 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; @@ -3593,9 +4321,12 @@ private ActionType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -3605,6 +4336,7 @@ private ActionType(int value) {
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -3613,14 +4345,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; } } /** + * + * *
      * Name of the constraint. This is unique within the organization. Format of
      * the name should be
@@ -3630,16 +4363,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 { @@ -3648,9 +4380,12 @@ public java.lang.String getName() { } public static final int RESOURCE_TYPES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList resourceTypes_; /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3658,13 +4393,15 @@ public java.lang.String getName() {
      * 
* * repeated string resource_types = 2; + * * @return A list containing the resourceTypes. */ - public com.google.protobuf.ProtocolStringList - getResourceTypesList() { + public com.google.protobuf.ProtocolStringList getResourceTypesList() { return resourceTypes_; } /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3672,12 +4409,15 @@ public java.lang.String getName() {
      * 
* * repeated string resource_types = 2; + * * @return The count of resourceTypes. */ public int getResourceTypesCount() { return resourceTypes_.size(); } /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3685,6 +4425,7 @@ public int getResourceTypesCount() {
      * 
* * repeated string resource_types = 2; + * * @param index The index of the element to return. * @return The resourceTypes at the given index. */ @@ -3692,6 +4433,8 @@ public java.lang.String getResourceTypes(int index) { return resourceTypes_.get(index); } /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3699,45 +4442,73 @@ public java.lang.String getResourceTypes(int index) {
      * 
* * repeated string resource_types = 2; + * * @param index The index of the value to return. * @return The bytes of the resourceTypes at the given index. */ - public com.google.protobuf.ByteString - getResourceTypesBytes(int index) { + public com.google.protobuf.ByteString getResourceTypesBytes(int index) { return resourceTypes_.getByteString(index); } public static final int METHOD_TYPES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List methodTypes_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> methodTypes_converter_ = + java.lang.Integer, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> + methodTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>() { - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType convert(java.lang.Integer from) { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType.forNumber(from); - return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType.UNRECOGNIZED : result; + java.lang.Integer, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .MethodType>() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .MethodType + convert(java.lang.Integer from) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType + result = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .MethodType.forNumber(from); + return result == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .MethodType.UNRECOGNIZED + : result; } }; /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return A list containing the methodTypes. */ @java.lang.Override - public java.util.List getMethodTypesList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> + getMethodTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>(methodTypes_, methodTypes_converter_); + java.lang.Integer, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>( + methodTypes_, methodTypes_converter_); } /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return The count of methodTypes. */ @java.lang.Override @@ -3745,37 +4516,52 @@ public int getMethodTypesCount() { return methodTypes_.size(); } /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index of the element to return. * @return The methodTypes at the given index. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType + getMethodTypes(int index) { return methodTypes_converter_.convert(methodTypes_.get(index)); } /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return A list containing the enum numeric values on the wire for methodTypes. */ @java.lang.Override - public java.util.List - getMethodTypesValueList() { + public java.util.List getMethodTypesValueList() { return methodTypes_; } /** + * + * *
      * All the operations being applied for this constraint.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of methodTypes at the given index. */ @@ -3783,12 +4569,16 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Me public int getMethodTypesValue(int index) { return methodTypes_.get(index); } + private int methodTypesMemoizedSerializedSize; public static final int CONDITION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object condition_ = ""; /** + * + * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -3796,6 +4586,7 @@ public int getMethodTypesValue(int index) {
      * 
* * string condition = 4; + * * @return The condition. */ @java.lang.Override @@ -3804,14 +4595,15 @@ public java.lang.String getCondition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); condition_ = s; return s; } } /** + * + * *
      * Organization Policy condition/expression. For example:
      * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -3819,16 +4611,15 @@ public java.lang.String getCondition() {
      * 
* * string condition = 4; + * * @return The bytes for condition. */ @java.lang.Override - public com.google.protobuf.ByteString - getConditionBytes() { + public com.google.protobuf.ByteString getConditionBytes() { java.lang.Object ref = condition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); condition_ = b; return b; } else { @@ -3839,38 +4630,60 @@ public java.lang.String getCondition() { public static final int ACTION_TYPE_FIELD_NUMBER = 5; private int actionType_ = 0; /** + * + * *
      * Allow or deny type.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return The enum numeric value on the wire for actionType. */ - @java.lang.Override public int getActionTypeValue() { + @java.lang.Override + public int getActionTypeValue() { return actionType_; } /** + * + * *
      * Allow or deny type.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return The actionType. */ - @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.forNumber(actionType_); - return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + getActionType() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + .forNumber(actionType_); + return result == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + .UNRECOGNIZED + : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
      * One line display name for the UI.
      * 
* * string display_name = 6; + * * @return The displayName. */ @java.lang.Override @@ -3879,29 +4692,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; } } /** + * + * *
      * One line display name for the UI.
      * 
* * string display_name = 6; + * * @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 { @@ -3910,14 +4723,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; + * * @return The description. */ @java.lang.Override @@ -3926,29 +4743,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Detailed information about this custom policy constraint.
      * 
* * string description = 7; + * * @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 { @@ -3957,6 +4774,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3968,8 +4786,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -3987,7 +4804,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, condition_); } - if (actionType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + if (actionType_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + .ACTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, actionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { @@ -4019,21 +4839,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < methodTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(methodTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(methodTypes_.get(i)); } size += dataSize; - if (!getMethodTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }methodTypesMemoizedSerializedSize = dataSize; + if (!getMethodTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + methodTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, condition_); } - if (actionType_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, actionType_); + if (actionType_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + .ACTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, actionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -4049,25 +4872,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.AnalyzerOrgPolicyConstraint.CustomConstraint)) { + if (!(obj + instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getResourceTypesList() - .equals(other.getResourceTypesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getResourceTypesList().equals(other.getResourceTypesList())) return false; if (!methodTypes_.equals(other.methodTypes_)) return false; - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; if (actionType_ != other.actionType_) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4103,87 +4923,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( com.google.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint parseDelimitedFrom( - java.io.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.AnalyzerOrgPolicyConstraint.CustomConstraint + parseDelimitedFrom( + java.io.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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzerOrgPolicyConstraint.CustomConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicyConstraint.CustomConstraint prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4193,39 +5021,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The definition of a custom constraint.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicyConstraint.CustomConstraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder + .class); } - // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4243,19 +5075,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_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint build() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = buildPartial(); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4264,14 +5099,18 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint bu @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(this); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { if (((bitField0_ & 0x00000002) != 0)) { resourceTypes_ = resourceTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -4284,7 +5123,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.AnalyzerOrgPol result.methodTypes_ = methodTypes_; } - private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { + private void buildPartial0( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -4307,46 +5147,54 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AnalyzerOrgPolicyConstraint.CustomConstraint) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint)other); + if (other + instanceof com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) { + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint other) { + if (other + == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -4416,60 +5264,69 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureResourceTypesIsMutable(); - resourceTypes_.add(s); - break; - } // case 18 - case 24: { - int tmpRaw = input.readEnum(); - ensureMethodTypesIsMutable(); - methodTypes_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureResourceTypesIsMutable(); + resourceTypes_.add(s); + break; + } // case 18 + case 24: + { int tmpRaw = input.readEnum(); ensureMethodTypesIsMutable(); methodTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - case 34: { - condition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - actionType_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureMethodTypesIsMutable(); + methodTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + case 34: + { + condition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + actionType_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4479,10 +5336,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4492,13 +5352,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; @@ -4507,6 +5367,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4516,15 +5378,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 { @@ -4532,6 +5393,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4541,18 +5404,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4562,6 +5429,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4571,6 +5439,8 @@ public Builder clearName() { return this; } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4580,12 +5450,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -4593,14 +5465,18 @@ public Builder setNameBytes( return this; } - private com.google.protobuf.LazyStringList resourceTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList resourceTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureResourceTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { resourceTypes_ = new com.google.protobuf.LazyStringArrayList(resourceTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4608,13 +5484,15 @@ private void ensureResourceTypesIsMutable() {
        * 
* * repeated string resource_types = 2; + * * @return A list containing the resourceTypes. */ - public com.google.protobuf.ProtocolStringList - getResourceTypesList() { + public com.google.protobuf.ProtocolStringList getResourceTypesList() { return resourceTypes_.getUnmodifiableView(); } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4622,12 +5500,15 @@ private void ensureResourceTypesIsMutable() {
        * 
* * repeated string resource_types = 2; + * * @return The count of resourceTypes. */ public int getResourceTypesCount() { return resourceTypes_.size(); } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4635,6 +5516,7 @@ public int getResourceTypesCount() {
        * 
* * repeated string resource_types = 2; + * * @param index The index of the element to return. * @return The resourceTypes at the given index. */ @@ -4642,6 +5524,8 @@ public java.lang.String getResourceTypes(int index) { return resourceTypes_.get(index); } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4649,14 +5533,16 @@ public java.lang.String getResourceTypes(int index) {
        * 
* * repeated string resource_types = 2; + * * @param index The index of the value to return. * @return The bytes of the resourceTypes at the given index. */ - public com.google.protobuf.ByteString - getResourceTypesBytes(int index) { + public com.google.protobuf.ByteString getResourceTypesBytes(int index) { return resourceTypes_.getByteString(index); } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4664,19 +5550,23 @@ public java.lang.String getResourceTypes(int index) {
        * 
* * repeated string resource_types = 2; + * * @param index The index to set the value at. * @param value The resourceTypes to set. * @return This builder for chaining. */ - public Builder setResourceTypes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureResourceTypesIsMutable(); resourceTypes_.set(index, value); onChanged(); return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4684,18 +5574,22 @@ public Builder setResourceTypes(
        * 
* * repeated string resource_types = 2; + * * @param value The resourceTypes to add. * @return This builder for chaining. */ - public Builder addResourceTypes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addResourceTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureResourceTypesIsMutable(); resourceTypes_.add(value); onChanged(); return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4703,18 +5597,19 @@ public Builder addResourceTypes(
        * 
* * repeated string resource_types = 2; + * * @param values The resourceTypes to add. * @return This builder for chaining. */ - public Builder addAllResourceTypes( - java.lang.Iterable values) { + public Builder addAllResourceTypes(java.lang.Iterable values) { ensureResourceTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceTypes_); onChanged(); return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4722,6 +5617,7 @@ public Builder addAllResourceTypes(
        * 
* * repeated string resource_types = 2; + * * @return This builder for chaining. */ public Builder clearResourceTypes() { @@ -4731,6 +5627,8 @@ public Builder clearResourceTypes() { return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4738,12 +5636,14 @@ public Builder clearResourceTypes() {
        * 
* * repeated string resource_types = 2; + * * @param value The bytes of the resourceTypes to add. * @return This builder for chaining. */ - public Builder addResourceTypesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addResourceTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureResourceTypesIsMutable(); resourceTypes_.add(value); @@ -4751,8 +5651,8 @@ public Builder addResourceTypesBytes( return this; } - private java.util.List methodTypes_ = - java.util.Collections.emptyList(); + private java.util.List methodTypes_ = java.util.Collections.emptyList(); + private void ensureMethodTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { methodTypes_ = new java.util.ArrayList(methodTypes_); @@ -4760,52 +5660,78 @@ private void ensureMethodTypesIsMutable() { } } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return A list containing the methodTypes. */ - public java.util.List getMethodTypesList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> + getMethodTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>(methodTypes_, methodTypes_converter_); + java.lang.Integer, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType>( + methodTypes_, methodTypes_converter_); } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return The count of methodTypes. */ public int getMethodTypesCount() { return methodTypes_.size(); } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index of the element to return. * @return The methodTypes at the given index. */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index) { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType + getMethodTypes(int index) { return methodTypes_converter_.convert(methodTypes_.get(index)); } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index to set the value at. * @param value The methodTypes to set. * @return This builder for chaining. */ public Builder setMethodTypes( - int index, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { + int index, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { if (value == null) { throw new NullPointerException(); } @@ -4815,15 +5741,21 @@ public Builder setMethodTypes( return this; } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param value The methodTypes to add. * @return This builder for chaining. */ - public Builder addMethodTypes(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { + public Builder addMethodTypes( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value) { if (value == null) { throw new NullPointerException(); } @@ -4833,29 +5765,44 @@ public Builder addMethodTypes(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstra return this; } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param values The methodTypes to add. * @return This builder for chaining. */ public Builder addAllMethodTypes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .MethodType> + values) { ensureMethodTypesIsMutable(); - for (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value : values) { + for (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType + value : values) { methodTypes_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return This builder for chaining. */ public Builder clearMethodTypes() { @@ -4865,23 +5812,32 @@ public Builder clearMethodTypes() { return this; } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @return A list containing the enum numeric values on the wire for methodTypes. */ - public java.util.List - getMethodTypesValueList() { + public java.util.List getMethodTypesValueList() { return java.util.Collections.unmodifiableList(methodTypes_); } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of methodTypes at the given index. */ @@ -4889,28 +5845,37 @@ public int getMethodTypesValue(int index) { return methodTypes_.get(index); } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for methodTypes to set. * @return This builder for chaining. */ - public Builder setMethodTypesValue( - int index, int value) { + public Builder setMethodTypesValue(int index, int value) { ensureMethodTypesIsMutable(); methodTypes_.set(index, value); onChanged(); return this; } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param value The enum numeric value on the wire for methodTypes to add. * @return This builder for chaining. */ @@ -4921,16 +5886,20 @@ public Builder addMethodTypesValue(int value) { return this; } /** + * + * *
        * All the operations being applied for this constraint.
        * 
* - * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3; + * + * * @param values The enum numeric values on the wire for methodTypes to add. * @return This builder for chaining. */ - public Builder addAllMethodTypesValue( - java.lang.Iterable values) { + public Builder addAllMethodTypesValue(java.lang.Iterable values) { ensureMethodTypesIsMutable(); for (int value : values) { methodTypes_.add(value); @@ -4941,6 +5910,8 @@ public Builder addAllMethodTypesValue( private java.lang.Object condition_ = ""; /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4948,13 +5919,13 @@ public Builder addAllMethodTypesValue(
        * 
* * string condition = 4; + * * @return The condition. */ public java.lang.String getCondition() { java.lang.Object ref = condition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); condition_ = s; return s; @@ -4963,6 +5934,8 @@ public java.lang.String getCondition() { } } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4970,15 +5943,14 @@ public java.lang.String getCondition() {
        * 
* * string condition = 4; + * * @return The bytes for condition. */ - public com.google.protobuf.ByteString - getConditionBytes() { + public com.google.protobuf.ByteString getConditionBytes() { java.lang.Object ref = condition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); condition_ = b; return b; } else { @@ -4986,6 +5958,8 @@ public java.lang.String getCondition() { } } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4993,18 +5967,22 @@ public java.lang.String getCondition() {
        * 
* * string condition = 4; + * * @param value The condition to set. * @return This builder for chaining. */ - public Builder setCondition( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCondition(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } condition_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5012,6 +5990,7 @@ public Builder setCondition(
        * 
* * string condition = 4; + * * @return This builder for chaining. */ public Builder clearCondition() { @@ -5021,6 +6000,8 @@ public Builder clearCondition() { return this; } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5028,12 +6009,14 @@ public Builder clearCondition() {
        * 
* * string condition = 4; + * * @param value The bytes for condition to set. * @return This builder for chaining. */ - public Builder setConditionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConditionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); condition_ = value; bitField0_ |= 0x00000008; @@ -5043,22 +6026,33 @@ public Builder setConditionBytes( private int actionType_ = 0; /** + * + * *
        * Allow or deny type.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return The enum numeric value on the wire for actionType. */ - @java.lang.Override public int getActionTypeValue() { + @java.lang.Override + public int getActionTypeValue() { return actionType_; } /** + * + * *
        * Allow or deny type.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @param value The enum numeric value on the wire for actionType to set. * @return This builder for chaining. */ @@ -5069,28 +6063,45 @@ public Builder setActionTypeValue(int value) { return this; } /** + * + * *
        * Allow or deny type.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return The actionType. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.forNumber(actionType_); - return result == null ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType.UNRECOGNIZED : result; + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + getActionType() { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType result = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + .forNumber(actionType_); + return result == null + ? com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType + .UNRECOGNIZED + : result; } /** + * + * *
        * Allow or deny type.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @param value The actionType to set. * @return This builder for chaining. */ - public Builder setActionType(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType value) { + public Builder setActionType( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType value) { if (value == null) { throw new NullPointerException(); } @@ -5100,11 +6111,16 @@ public Builder setActionType(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
        * Allow or deny type.
        * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5; + * + * * @return This builder for chaining. */ public Builder clearActionType() { @@ -5116,18 +6132,20 @@ public Builder clearActionType() { private java.lang.Object displayName_ = ""; /** + * + * *
        * One line display name for the UI.
        * 
* * string display_name = 6; + * * @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; @@ -5136,20 +6154,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * One line display name for the UI.
        * 
* * string display_name = 6; + * * @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 { @@ -5157,28 +6176,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * One line display name for the UI.
        * 
* * string display_name = 6; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * One line display name for the UI.
        * 
* * string display_name = 6; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -5188,17 +6214,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
        * One line display name for the UI.
        * 
* * string display_name = 6; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -5208,18 +6238,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; + * * @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; @@ -5228,20 +6260,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; + * * @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 { @@ -5249,28 +6282,35 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -5280,23 +6320,28 @@ public Builder clearDescription() { return this; } /** + * + * *
        * Detailed information about this custom policy constraint.
        * 
* * string description = 7; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5309,41 +6354,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) - private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint(); } - public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5355,21 +6404,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int constraintDefinitionCase_ = 0; private java.lang.Object constraintDefinition_; + public enum ConstraintDefinitionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GOOGLE_DEFINED_CONSTRAINT(1), CUSTOM_CONSTRAINT(2), CONSTRAINTDEFINITION_NOT_SET(0); private final int value; + private ConstraintDefinitionCase(int value) { this.value = value; } @@ -5385,30 +6437,38 @@ public static ConstraintDefinitionCase valueOf(int value) { public static ConstraintDefinitionCase forNumber(int value) { switch (value) { - case 1: return GOOGLE_DEFINED_CONSTRAINT; - case 2: return CUSTOM_CONSTRAINT; - case 0: return CONSTRAINTDEFINITION_NOT_SET; - default: return null; + case 1: + return GOOGLE_DEFINED_CONSTRAINT; + case 2: + return CUSTOM_CONSTRAINT; + case 0: + return CONSTRAINTDEFINITION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConstraintDefinitionCase - getConstraintDefinitionCase() { - return ConstraintDefinitionCase.forNumber( - constraintDefinitionCase_); + public ConstraintDefinitionCase getConstraintDefinitionCase() { + return ConstraintDefinitionCase.forNumber(constraintDefinitionCase_); } public static final int GOOGLE_DEFINED_CONSTRAINT_FIELD_NUMBER = 1; /** + * + * *
    * The definition of the canned constraint defined by Google.
    * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * * @return Whether the googleDefinedConstraint field is set. */ @java.lang.Override @@ -5416,42 +6476,60 @@ public boolean hasGoogleDefinedConstraint() { return constraintDefinitionCase_ == 1; } /** + * + * *
    * The definition of the canned constraint defined by Google.
    * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * * @return The googleDefinedConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + getGoogleDefinedConstraint() { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_; } return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } /** + * + * *
    * The definition of the canned constraint defined by Google.
    * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder + getGoogleDefinedConstraintOrBuilder() { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_; } return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); } public static final int CUSTOM_CONSTRAINT_FIELD_NUMBER = 2; /** + * + * *
    * The definition of the custom constraint.
    * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * * @return Whether the customConstraint field is set. */ @java.lang.Override @@ -5459,36 +6537,52 @@ public boolean hasCustomConstraint() { return constraintDefinitionCase_ == 2; } /** + * + * *
    * The definition of the custom constraint.
    * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * * @return The customConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + getCustomConstraint() { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); } /** + * + * *
    * The definition of the custom constraint.
    * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder + getCustomConstraintOrBuilder() { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5500,13 +6594,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 (constraintDefinitionCase_ == 1) { - output.writeMessage(1, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_); + output.writeMessage( + 1, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_); } if (constraintDefinitionCase_ == 2) { - output.writeMessage(2, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_); + output.writeMessage( + 2, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_); } getUnknownFields().writeTo(output); } @@ -5518,12 +6616,18 @@ public int getSerializedSize() { size = 0; if (constraintDefinitionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_); } if (constraintDefinitionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5533,22 +6637,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.AnalyzerOrgPolicyConstraint)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint other = (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) obj; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint other = + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) obj; if (!getConstraintDefinitionCase().equals(other.getConstraintDefinitionCase())) return false; switch (constraintDefinitionCase_) { case 1: - if (!getGoogleDefinedConstraint() - .equals(other.getGoogleDefinedConstraint())) return false; + if (!getGoogleDefinedConstraint().equals(other.getGoogleDefinedConstraint())) return false; break; case 2: - if (!getCustomConstraint() - .equals(other.getCustomConstraint())) return false; + if (!getCustomConstraint().equals(other.getCustomConstraint())) return false; break; case 0: default: @@ -5582,129 +6685,136 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( - java.nio.ByteBuffer 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.AnalyzerOrgPolicyConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.AnalyzerOrgPolicyConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( com.google.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.AnalyzerOrgPolicyConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.AnalyzerOrgPolicyConstraint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.AnalyzerOrgPolicyConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.AnalyzerOrgPolicyConstraint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.AnalyzerOrgPolicyConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.AnalyzerOrgPolicyConstraint prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 organization policy constraint definition.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzerOrgPolicyConstraint} */ - public static final class Builder extends - com.google.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.AnalyzerOrgPolicyConstraint) com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.class, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5721,9 +6831,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_AnalyzerOrgPolicyConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; } @java.lang.Override @@ -5742,8 +6852,11 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint buildPartial() { - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint result = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -5756,12 +6869,10 @@ private void buildPartial0(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint result) { result.constraintDefinitionCase_ = constraintDefinitionCase_; result.constraintDefinition_ = this.constraintDefinition_; - if (constraintDefinitionCase_ == 1 && - googleDefinedConstraintBuilder_ != null) { + if (constraintDefinitionCase_ == 1 && googleDefinedConstraintBuilder_ != null) { result.constraintDefinition_ = googleDefinedConstraintBuilder_.build(); } - if (constraintDefinitionCase_ == 2 && - customConstraintBuilder_ != null) { + if (constraintDefinitionCase_ == 2 && customConstraintBuilder_ != null) { result.constraintDefinition_ = customConstraintBuilder_.build(); } } @@ -5770,38 +6881,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.AnalyzerOrgPolicyConst public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AnalyzerOrgPolicyConstraint) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint)other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) other); } else { super.mergeFrom(other); return this; @@ -5809,19 +6921,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint other) { - if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.getDefaultInstance()) + return this; switch (other.getConstraintDefinitionCase()) { - case GOOGLE_DEFINED_CONSTRAINT: { - mergeGoogleDefinedConstraint(other.getGoogleDefinedConstraint()); - break; - } - case CUSTOM_CONSTRAINT: { - mergeCustomConstraint(other.getCustomConstraint()); - break; - } - case CONSTRAINTDEFINITION_NOT_SET: { - break; - } + case GOOGLE_DEFINED_CONSTRAINT: + { + mergeGoogleDefinedConstraint(other.getGoogleDefinedConstraint()); + break; + } + case CUSTOM_CONSTRAINT: + { + mergeCustomConstraint(other.getCustomConstraint()); + break; + } + case CONSTRAINTDEFINITION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -5849,26 +6965,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGoogleDefinedConstraintFieldBuilder().getBuilder(), - extensionRegistry); - constraintDefinitionCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomConstraintFieldBuilder().getBuilder(), - extensionRegistry); - constraintDefinitionCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getGoogleDefinedConstraintFieldBuilder().getBuilder(), extensionRegistry); + constraintDefinitionCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getCustomConstraintFieldBuilder().getBuilder(), extensionRegistry); + constraintDefinitionCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5878,12 +6995,12 @@ public Builder mergeFrom( } // finally return this; } + private int constraintDefinitionCase_ = 0; private java.lang.Object constraintDefinition_; - public ConstraintDefinitionCase - getConstraintDefinitionCase() { - return ConstraintDefinitionCase.forNumber( - constraintDefinitionCase_); + + public ConstraintDefinitionCase getConstraintDefinitionCase() { + return ConstraintDefinitionCase.forNumber(constraintDefinitionCase_); } public Builder clearConstraintDefinition() { @@ -5896,13 +7013,21 @@ public Builder clearConstraintDefinition() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> googleDefinedConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> + googleDefinedConstraintBuilder_; /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * * @return Whether the googleDefinedConstraint field is set. */ @java.lang.Override @@ -5910,35 +7035,49 @@ public boolean hasGoogleDefinedConstraint() { return constraintDefinitionCase_ == 1; } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * * @return The googleDefinedConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + getGoogleDefinedConstraint() { if (googleDefinedConstraintBuilder_ == null) { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .getDefaultInstance(); } else { if (constraintDefinitionCase_ == 1) { return googleDefinedConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .getDefaultInstance(); } } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ - public Builder setGoogleDefinedConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { + public Builder setGoogleDefinedConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { if (googleDefinedConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5952,11 +7091,15 @@ public Builder setGoogleDefinedConstraint(com.google.cloud.asset.v1.AnalyzerOrgP return this; } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ public Builder setGoogleDefinedConstraint( com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder builderForValue) { @@ -5970,18 +7113,29 @@ public Builder setGoogleDefinedConstraint( return this; } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ - public Builder mergeGoogleDefinedConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { + public Builder mergeGoogleDefinedConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint value) { if (googleDefinedConstraintBuilder_ == null) { - if (constraintDefinitionCase_ == 1 && - constraintDefinition_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance()) { - constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_) - .mergeFrom(value).buildPartial(); + if (constraintDefinitionCase_ == 1 + && constraintDefinition_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .getDefaultInstance()) { + constraintDefinition_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.newBuilder( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_) + .mergeFrom(value) + .buildPartial(); } else { constraintDefinition_ = value; } @@ -5997,11 +7151,15 @@ public Builder mergeGoogleDefinedConstraint(com.google.cloud.asset.v1.AnalyzerOr return this; } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ public Builder clearGoogleDefinedConstraint() { if (googleDefinedConstraintBuilder_ == null) { @@ -6020,50 +7178,73 @@ public Builder clearGoogleDefinedConstraint() { return this; } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder getGoogleDefinedConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder + getGoogleDefinedConstraintBuilder() { return getGoogleDefinedConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder + getGoogleDefinedConstraintOrBuilder() { if ((constraintDefinitionCase_ == 1) && (googleDefinedConstraintBuilder_ != null)) { return googleDefinedConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintDefinitionCase_ == 1) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint + .getDefaultInstance(); } } /** + * + * *
      * The definition of the canned constraint defined by Google.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder> getGoogleDefinedConstraintFieldBuilder() { if (googleDefinedConstraintBuilder_ == null) { if (!(constraintDefinitionCase_ == 1)) { - constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); - } - googleDefinedConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) constraintDefinition_, + constraintDefinition_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.getDefaultInstance(); + } + googleDefinedConstraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint) + constraintDefinition_, getParentForChildren(), isClean()); constraintDefinition_ = null; @@ -6074,13 +7255,21 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> customConstraintBuilder_; + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> + customConstraintBuilder_; /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * * @return Whether the customConstraint field is set. */ @java.lang.Override @@ -6088,35 +7277,49 @@ public boolean hasCustomConstraint() { return constraintDefinitionCase_ == 2; } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * * @return The customConstraint. */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + getCustomConstraint() { if (customConstraintBuilder_ == null) { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); } else { if (constraintDefinitionCase_ == 2) { return customConstraintBuilder_.getMessage(); } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); } } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ - public Builder setCustomConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { + public Builder setCustomConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { if (customConstraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6130,14 +7333,19 @@ public Builder setCustomConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyCo return this; } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ public Builder setCustomConstraint( - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder + builderForValue) { if (customConstraintBuilder_ == null) { constraintDefinition_ = builderForValue.build(); onChanged(); @@ -6148,18 +7356,29 @@ public Builder setCustomConstraint( return this; } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ - public Builder mergeCustomConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { + public Builder mergeCustomConstraint( + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint value) { if (customConstraintBuilder_ == null) { - if (constraintDefinitionCase_ == 2 && - constraintDefinition_ != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance()) { - constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder((com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_) - .mergeFrom(value).buildPartial(); + if (constraintDefinitionCase_ == 2 + && constraintDefinition_ + != com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance()) { + constraintDefinition_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.newBuilder( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_) + .mergeFrom(value) + .buildPartial(); } else { constraintDefinition_ = value; } @@ -6175,11 +7394,15 @@ public Builder mergeCustomConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicy return this; } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ public Builder clearCustomConstraint() { if (customConstraintBuilder_ == null) { @@ -6198,50 +7421,74 @@ public Builder clearCustomConstraint() { return this; } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder getCustomConstraintBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder + getCustomConstraintBuilder() { return getCustomConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder() { + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder + getCustomConstraintOrBuilder() { if ((constraintDefinitionCase_ == 2) && (customConstraintBuilder_ != null)) { return customConstraintBuilder_.getMessageOrBuilder(); } else { if (constraintDefinitionCase_ == 2) { - return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_; + return (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_; } - return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); + return com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); } } /** + * + * *
      * The definition of the custom constraint.
      * 
* - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder> getCustomConstraintFieldBuilder() { if (customConstraintBuilder_ == null) { if (!(constraintDefinitionCase_ == 2)) { - constraintDefinition_ = com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.getDefaultInstance(); - } - customConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder>( - (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) constraintDefinition_, + constraintDefinition_ = + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint + .getDefaultInstance(); + } + customConstraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder, + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder>( + (com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint) + constraintDefinition_, getParentForChildren(), isClean()); constraintDefinition_ = null; @@ -6250,9 +7497,9 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrB onChanged(); return customConstraintBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6262,12 +7509,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) private static final com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint(); } @@ -6276,27 +7523,27 @@ public static com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzerOrgPolicyConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzerOrgPolicyConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6311,6 +7558,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java new file mode 100644 index 000000000000..ef2a02c71edc --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java @@ -0,0 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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 AnalyzerOrgPolicyConstraintOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The definition of the canned constraint defined by Google.
+   * 
+ * + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * + * @return Whether the googleDefinedConstraint field is set. + */ + boolean hasGoogleDefinedConstraint(); + /** + * + * + *
+   * The definition of the canned constraint defined by Google.
+   * 
+ * + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + * + * @return The googleDefinedConstraint. + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint(); + /** + * + * + *
+   * The definition of the canned constraint defined by Google.
+   * 
+ * + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; + * + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder + getGoogleDefinedConstraintOrBuilder(); + + /** + * + * + *
+   * The definition of the custom constraint.
+   * 
+ * + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * + * @return Whether the customConstraint field is set. + */ + boolean hasCustomConstraint(); + /** + * + * + *
+   * The definition of the custom constraint.
+   * 
+ * + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + * + * @return The customConstraint. + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint(); + /** + * + * + *
+   * The definition of the custom constraint.
+   * 
+ * + * + * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; + * + */ + com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder + getCustomConstraintOrBuilder(); + + public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase + getConstraintDefinitionCase(); +} diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java similarity index 81% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java index 02e0c60c2b0c..d124ac9fefb9 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyOrBuilder.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 AnalyzerOrgPolicyOrBuilder extends +public interface AnalyzerOrgPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -18,10 +36,13 @@ public interface AnalyzerOrgPolicyOrBuilder extends
    * 
* * string attached_resource = 1; + * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -32,12 +53,14 @@ public interface AnalyzerOrgPolicyOrBuilder extends
    * 
* * string attached_resource = 1; + * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString - getAttachedResourceBytes(); + com.google.protobuf.ByteString getAttachedResourceBytes(); /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -49,10 +72,13 @@ public interface AnalyzerOrgPolicyOrBuilder extends
    * 
* * string applied_resource = 5; + * * @return The appliedResource. */ java.lang.String getAppliedResource(); /** + * + * *
    * The [full resource name]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -64,21 +90,24 @@ public interface AnalyzerOrgPolicyOrBuilder extends
    * 
* * string applied_resource = 5; + * * @return The bytes for appliedResource. */ - com.google.protobuf.ByteString - getAppliedResourceBytes(); + com.google.protobuf.ByteString getAppliedResourceBytes(); /** + * + * *
    * List of rules for this organization policy.
    * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -87,6 +116,8 @@ public interface AnalyzerOrgPolicyOrBuilder extends */ com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index); /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -95,25 +126,30 @@ public interface AnalyzerOrgPolicyOrBuilder extends */ int getRulesCount(); /** + * + * *
    * List of rules for this organization policy.
    * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** + * + * *
    * List of rules for this organization policy.
    * 
* * repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2; */ - com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder( - int index); + com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(int index); /** + * + * *
    * If `inherit_from_parent` is true, Rules set higher up in the
    * hierarchy (up to the closest root) are inherited and present in the
@@ -122,11 +158,14 @@ com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(
    * 
* * bool inherit_from_parent = 3; + * * @return The inheritFromParent. */ boolean getInheritFromParent(); /** + * + * *
    * Ignores policies set above this resource and restores the default behavior
    * of the constraint at this resource.
@@ -136,6 +175,7 @@ com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuilder(
    * 
* * bool reset = 4; + * * @return The reset. */ boolean getReset(); diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java similarity index 77% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java index ee41ffbede13..634046f46333 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java +++ b/java-asset/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,39 +54,42 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.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;
     }
@@ -84,33 +105,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 @@ -118,12 +146,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 @@ -131,6 +162,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.
@@ -144,9 +177,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -156,6 +192,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -164,14 +201,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`
@@ -181,16 +219,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 { @@ -199,9 +236,12 @@ public java.lang.String getName() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -210,6 +250,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -218,14 +259,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
@@ -234,16 +276,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 { @@ -254,11 +295,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 @@ -266,11 +310,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 @@ -278,6 +325,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.
    * 
@@ -292,6 +341,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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -305,6 +356,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 @@ -312,6 +364,8 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -325,6 +379,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -332,6 +387,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -352,9 +409,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private java.util.List orgPolicy_;
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -369,6 +429,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).
@@ -379,11 +441,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).
@@ -398,6 +462,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).
@@ -412,6 +478,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).
@@ -422,19 +490,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 @@ -442,22 +512,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).
@@ -466,21 +541,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 @@ -488,22 +567,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).
@@ -512,21 +596,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 @@ -534,22 +622,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).
@@ -558,9 +651,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();
   }
@@ -568,6 +662,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)
@@ -575,6 +671,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 @@ -582,6 +679,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)
@@ -589,13 +688,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)
@@ -606,12 +710,16 @@ public com.google.cloud.osconfig.v1.Inventory getOsInventory() {
    */
   @java.lang.Override
   public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder() {
-    return osInventory_ == null ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_;
+    return osInventory_ == null
+        ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()
+        : osInventory_;
   }
 
   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
@@ -621,15 +729,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
@@ -639,15 +751,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
@@ -659,18 +777,24 @@ 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() {
-    return relatedAssets_ == null ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_;
+  @java.lang.Deprecated
+  public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
+    return relatedAssets_ == null
+        ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()
+        : relatedAssets_;
   }
 
   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 @@ -678,18 +802,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.
    * 
@@ -698,13 +829,18 @@ public com.google.cloud.asset.v1.RelatedAsset getRelatedAsset() { */ @java.lang.Override public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder() { - return relatedAsset_ == null ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; + return relatedAsset_ == null + ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() + : relatedAsset_; } public static final int ANCESTORS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") 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),
@@ -716,13 +852,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),
@@ -734,12 +872,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),
@@ -751,6 +892,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -758,6 +900,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),
@@ -769,15 +913,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; @@ -789,8 +934,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_); } @@ -807,13 +951,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)); @@ -846,28 +993,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; @@ -878,20 +1026,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -901,7 +1045,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); @@ -910,55 +1054,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: @@ -1031,97 +1162,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
@@ -1136,33 +1273,31 @@ 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);
     }
 
     // Construct using com.google.cloud.asset.v1.Asset.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1223,9 +1358,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
@@ -1246,7 +1381,9 @@ public com.google.cloud.asset.v1.Asset build() {
     public com.google.cloud.asset.v1.Asset buildPartial() {
       com.google.cloud.asset.v1.Asset result = new com.google.cloud.asset.v1.Asset(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1272,9 +1409,7 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.Asset result)
     private void buildPartial0(com.google.cloud.asset.v1.Asset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.name_ = name_;
@@ -1283,45 +1418,35 @@ private void buildPartial0(com.google.cloud.asset.v1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.resource_ = resourceBuilder_ == null
-            ? resource_
-            : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null
-            ? iamPolicy_
-            : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.osInventory_ = osInventoryBuilder_ == null
-            ? osInventory_
-            : osInventoryBuilder_.build();
+        result.osInventory_ =
+            osInventoryBuilder_ == null ? osInventory_ : osInventoryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.relatedAssets_ = relatedAssetsBuilder_ == null
-            ? relatedAssets_
-            : relatedAssetsBuilder_.build();
+        result.relatedAssets_ =
+            relatedAssetsBuilder_ == null ? relatedAssets_ : relatedAssetsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.relatedAsset_ = relatedAssetBuilder_ == null
-            ? relatedAsset_
-            : relatedAssetBuilder_.build();
+        result.relatedAsset_ =
+            relatedAssetBuilder_ == null ? relatedAsset_ : relatedAssetBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.asset.v1.Asset result) {
       result.accessContextPolicyCase_ = accessContextPolicyCase_;
       result.accessContextPolicy_ = this.accessContextPolicy_;
-      if (accessContextPolicyCase_ == 7 &&
-          accessPolicyBuilder_ != null) {
+      if (accessContextPolicyCase_ == 7 && accessPolicyBuilder_ != null) {
         result.accessContextPolicy_ = accessPolicyBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 8 &&
-          accessLevelBuilder_ != null) {
+      if (accessContextPolicyCase_ == 8 && accessLevelBuilder_ != null) {
         result.accessContextPolicy_ = accessLevelBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 9 &&
-          servicePerimeterBuilder_ != null) {
+      if (accessContextPolicyCase_ == 9 && servicePerimeterBuilder_ != null) {
         result.accessContextPolicy_ = servicePerimeterBuilder_.build();
       }
     }
@@ -1330,38 +1455,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1407,9 +1533,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1435,21 +1562,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.getUnknownFields());
       onChanged();
@@ -1477,104 +1608,100 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getResourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getIamPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 34
-            case 50: {
-              com.google.cloud.orgpolicy.v1.Policy m =
-                  input.readMessage(
-                      com.google.cloud.orgpolicy.v1.Policy.parser(),
-                      extensionRegistry);
-              if (orgPolicyBuilder_ == null) {
-                ensureOrgPolicyIsMutable();
-                orgPolicy_.add(m);
-              } else {
-                orgPolicyBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getAccessPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getAccessLevelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 8;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getServicePerimeterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 9;
-              break;
-            } // case 74
-            case 82: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getOsInventoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getRelatedAssetsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 106
-            case 122: {
-              input.readMessage(
-                  getRelatedAssetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 122
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 34
+            case 50:
+              {
+                com.google.cloud.orgpolicy.v1.Policy m =
+                    input.readMessage(
+                        com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry);
+                if (orgPolicyBuilder_ == null) {
+                  ensureOrgPolicyIsMutable();
+                  orgPolicy_.add(m);
+                } else {
+                  orgPolicyBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getAccessPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getAccessLevelFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 8;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getServicePerimeterFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 9;
+                break;
+              } // case 74
+            case 82:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getOsInventoryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getRelatedAssetsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 106
+            case 122:
+              {
+                input.readMessage(getRelatedAssetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 122
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1584,12 +1711,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -1603,36 +1730,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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.
@@ -1654,6 +1794,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.
@@ -1661,8 +1803,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();
       } else {
@@ -1673,6 +1814,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1682,9 +1825,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1697,6 +1840,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.
@@ -1715,6 +1860,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1728,6 +1875,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1739,11 +1888,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.
@@ -1752,14 +1904,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_;
@@ -1767,6 +1922,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`
@@ -1776,13 +1933,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; @@ -1791,6 +1948,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1800,15 +1959,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 { @@ -1816,6 +1974,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1825,18 +1985,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1846,6 +2010,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1855,6 +2020,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1864,12 +2031,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -1879,6 +2048,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1887,13 +2058,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; @@ -1902,6 +2073,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1910,15 +2083,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 { @@ -1926,6 +2098,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1934,18 +2108,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1954,6 +2132,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1963,6 +2142,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1971,12 +2152,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000004; @@ -1986,34 +2169,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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.
      * 
@@ -2034,14 +2230,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(); } else { @@ -2052,6 +2249,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2060,9 +2259,9 @@ public Builder setResource( */ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - resource_ != null && - resource_ != com.google.cloud.asset.v1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && resource_ != null + && resource_ != com.google.cloud.asset.v1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -2075,6 +2274,8 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2092,6 +2293,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2104,6 +2307,8 @@ public com.google.cloud.asset.v1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -2114,11 +2319,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.
      * 
@@ -2126,14 +2334,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_; @@ -2141,8 +2352,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2156,12 +2372,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2175,6 +2394,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2185,6 +2405,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2213,6 +2435,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2227,8 +2451,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();
       } else {
@@ -2239,6 +2462,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2255,9 +2480,9 @@ public Builder setIamPolicy(
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          iamPolicy_ != null &&
-          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && iamPolicy_ != null
+            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -2270,6 +2495,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2295,6 +2522,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2315,6 +2544,8 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2333,11 +2564,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2353,32 +2585,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_ & 0x00000020) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000020;
-       }
+      }
     }
 
     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).
@@ -2396,6 +2637,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2413,6 +2656,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2430,6 +2675,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).
@@ -2439,8 +2686,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();
@@ -2454,6 +2700,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2475,6 +2723,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2498,6 +2748,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).
@@ -2507,8 +2759,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();
@@ -2522,6 +2773,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2531,8 +2784,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());
@@ -2543,6 +2795,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2564,6 +2818,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2577,8 +2833,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);
@@ -2586,6 +2841,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2606,6 +2863,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2626,6 +2885,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).
@@ -2635,11 +2896,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).
@@ -2649,14 +2911,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).
@@ -2666,8 +2930,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 {
@@ -2675,6 +2939,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).
@@ -2685,10 +2951,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).
@@ -2698,12 +2966,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).
@@ -2713,34 +2982,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_ & 0x00000020) != 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_ & 0x00000020) != 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 @@ -2748,12 +3025,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 @@ -2771,6 +3051,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).
@@ -2792,6 +3074,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).
@@ -2811,6 +3095,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).
@@ -2818,12 +3104,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;
         }
@@ -2839,6 +3131,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).
@@ -2863,6 +3157,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).
@@ -2870,10 +3166,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).
@@ -2882,7 +3181,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 {
@@ -2893,6 +3193,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).
@@ -2901,14 +3203,20 @@ 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());
@@ -2920,14 +3228,20 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
     }
 
     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 @@ -2935,12 +3249,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 @@ -2958,6 +3275,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).
@@ -2979,6 +3298,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).
@@ -2998,6 +3319,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).
@@ -3007,10 +3330,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;
         }
@@ -3026,6 +3354,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).
@@ -3050,6 +3380,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).
@@ -3061,6 +3393,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).
@@ -3069,7 +3403,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 {
@@ -3080,6 +3415,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).
@@ -3088,14 +3425,20 @@ 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());
@@ -3107,14 +3450,20 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
     }
 
     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 @@ -3122,19 +3471,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 { @@ -3145,6 +3498,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).
@@ -3152,7 +3507,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();
@@ -3166,6 +3522,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).
@@ -3185,6 +3543,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3192,12 +3552,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;
         }
@@ -3213,6 +3580,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).
@@ -3237,6 +3606,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3244,10 +3615,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).
@@ -3256,17 +3630,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).
@@ -3275,14 +3653,20 @@ 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());
@@ -3295,8 +3679,13 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
 
     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)
@@ -3304,12 +3693,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 ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3317,16 +3709,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)
@@ -3349,6 +3746,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)
@@ -3357,8 +3756,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();
       } else {
@@ -3369,6 +3767,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)
@@ -3379,9 +3779,9 @@ public Builder setOsInventory(
      */
     public Builder mergeOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       if (osInventoryBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0) &&
-          osInventory_ != null &&
-          osInventory_ != com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0)
+            && osInventory_ != null
+            && osInventory_ != com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()) {
           getOsInventoryBuilder().mergeFrom(value);
         } else {
           osInventory_ = value;
@@ -3394,6 +3794,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)
@@ -3413,6 +3815,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)
@@ -3427,6 +3831,8 @@ public com.google.cloud.osconfig.v1.Inventory.Builder getOsInventoryBuilder() {
       return getOsInventoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3439,11 +3845,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)
@@ -3453,14 +3862,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_;
@@ -3468,8 +3880,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
@@ -3479,14 +3896,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 ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3496,18 +3917,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
@@ -3518,7 +3945,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();
@@ -3532,6 +3960,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
@@ -3542,7 +3972,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();
@@ -3554,6 +3985,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
@@ -3564,11 +3997,12 @@ 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 (((bitField0_ & 0x00000400) != 0) &&
-          relatedAssets_ != null &&
-          relatedAssets_ != com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000400) != 0)
+            && relatedAssets_ != null
+            && relatedAssets_ != com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()) {
           getRelatedAssetsBuilder().mergeFrom(value);
         } else {
           relatedAssets_ = value;
@@ -3581,6 +4015,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
@@ -3591,7 +4027,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() {
       bitField0_ = (bitField0_ & ~0x00000400);
       relatedAssets_ = null;
       if (relatedAssetsBuilder_ != null) {
@@ -3602,6 +4039,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
@@ -3612,12 +4051,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() {
       bitField0_ |= 0x00000400;
       onChanged();
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3628,15 +4070,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
@@ -3648,14 +4094,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_;
@@ -3663,34 +4112,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 ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * 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.
      * 
@@ -3711,14 +4173,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(); } else { @@ -3729,6 +4192,8 @@ public Builder setRelatedAsset( return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3737,9 +4202,9 @@ public Builder setRelatedAsset( */ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { if (relatedAssetBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - relatedAsset_ != null && - relatedAsset_ != com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && relatedAsset_ != null + && relatedAsset_ != com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()) { getRelatedAssetBuilder().mergeFrom(value); } else { relatedAsset_ = value; @@ -3752,6 +4217,8 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3769,6 +4236,8 @@ public Builder clearRelatedAsset() { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3781,6 +4250,8 @@ public com.google.cloud.asset.v1.RelatedAsset.Builder getRelatedAssetBuilder() { return getRelatedAssetFieldBuilder().getBuilder(); } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3791,11 +4262,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.
      * 
@@ -3803,27 +4277,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_ & 0x00001000) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00001000; - } + } } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3835,13 +4316,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),
@@ -3853,12 +4336,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),
@@ -3870,6 +4356,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3877,6 +4364,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),
@@ -3888,14 +4377,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),
@@ -3907,19 +4398,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestors(int index, java.lang.String value) { + if (value == null) { + 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),
@@ -3931,18 +4426,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestors(java.lang.String value) { + if (value == null) { + 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),
@@ -3954,18 +4453,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),
@@ -3977,6 +4477,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -3986,6 +4487,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),
@@ -3997,21 +4500,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -4021,12 +4526,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(); } @@ -4035,27 +4540,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4070,6 +4575,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java similarity index 89% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java index 2f6dec7e3f3a..e4461f52fc95 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java +++ b/java-asset/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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java new file mode 100644 index 000000000000..7372952083c9 --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java @@ -0,0 +1,620 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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\"\310\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\023\n\007kms_key\030\n \001(\tB\002\030\001\022\020\n\010kms_ke" + + "ys\030\034 \003(\t\022/\n\013create_time\030\013 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022/\n\013update_time\030\014 \001(\0132\032" + + ".google.protobuf.Timestamp\022\r\n\005state\030\r \001(" + + "\t\0226\n\025additional_attributes\030\t \001(\0132\027.googl" + + "e.protobuf.Struct\022!\n\031parent_full_resourc" + + "e_name\030\023 \001(\t\022E\n\023versioned_resources\030\020 \003(" + + "\0132(.google.cloud.asset.v1.VersionedResou" + + "rce\022C\n\022attached_resources\030\024 \003(\0132\'.google" + + ".cloud.asset.v1.AttachedResource\022U\n\rrela" + + "tionships\030\025 \003(\0132>.google.cloud.asset.v1." + + "ResourceSearchResult.RelationshipsEntry\022" + + "\020\n\010tag_keys\030\027 \003(\t\022\022\n\ntag_values\030\031 \003(\t\022\025\n" + + "\rtag_value_ids\030\032 \003(\t\022\031\n\021parent_asset_typ" + + "e\030g \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\032]\n\022RelationshipsEntry\022\013\n\003" + + "key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud." + + "asset.v1.RelatedResources:\0028\001\"O\n\021Version" + + "edResource\022\017\n\007version\030\001 \001(\t\022)\n\010resource\030" + + "\002 \001(\0132\027.google.protobuf.Struct\"m\n\020Attach" + + "edResource\022\022\n\nasset_type\030\001 \001(\t\022E\n\023versio" + + "ned_resources\030\003 \003(\0132(.google.cloud.asset" + + ".v1.VersionedResource\"U\n\020RelatedResource" + + "s\022A\n\021related_resources\030\001 \003(\0132&.google.cl" + + "oud.asset.v1.RelatedResource\"A\n\017RelatedR" + + "esource\022\022\n\nasset_type\030\001 \001(\t\022\032\n\022full_reso" + + "urce_name\030\002 \001(\t\"\217\004\n\025IamPolicySearchResul" + + "t\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\007folders\030\006 \003(\t\022\024\n\014org" + + "anization\030\007 \001(\t\022%\n\006policy\030\003 \001(\0132\025.google" + + ".iam.v1.Policy\022M\n\013explanation\030\004 \001(\01328.go" + + "ogle.cloud.asset.v1.IamPolicySearchResul" + + "t.Explanation\032\241\002\n\013Explanation\022m\n\023matched" + + "_permissions\030\001 \003(\0132P.google.cloud.asset." + + "v1.IamPolicySearchResult.Explanation.Mat" + + "chedPermissionsEntry\032\"\n\013Permissions\022\023\n\013p" + + "ermissions\030\001 \003(\t\032\177\n\027MatchedPermissionsEn" + + "try\022\013\n\003key\030\001 \001(\t\022S\n\005value\030\002 \001(\0132D.google" + + ".cloud.asset.v1.IamPolicySearchResult.Ex" + + "planation.Permissions:\0028\001\"G\n\026IamPolicyAn" + + "alysisState\022\036\n\004code\030\001 \001(\0162\020.google.rpc.C" + + "ode\022\r\n\005cause\030\002 \001(\t\"\306\001\n\023ConditionEvaluati" + + "on\022T\n\020evaluation_value\030\001 \001(\0162:.google.cl" + + "oud.asset.v1.ConditionEvaluation.Evaluat" + + "ionValue\"Y\n\017EvaluationValue\022 \n\034EVALUATIO" + + "N_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\027IamPolicyAnalysi" + + "sResult\022#\n\033attached_resource_full_name\030\001" + + " \001(\t\022+\n\013iam_binding\030\002 \001(\0132\026.google.iam.v" + + "1.Binding\022^\n\024access_control_lists\030\003 \003(\0132" + + "@.google.cloud.asset.v1.IamPolicyAnalysi" + + "sResult.AccessControlList\022R\n\ridentity_li" + + "st\030\004 \001(\0132;.google.cloud.asset.v1.IamPoli" + + "cyAnalysisResult.IdentityList\022\026\n\016fully_e" + + "xplored\030\005 \001(\010\032m\n\010Resource\022\032\n\022full_resour" + + "ce_name\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-." + + "google.cloud.asset.v1.IamPolicyAnalysisS" + + "tate\032\205\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermi" + + "ssion\030\002 \001(\tH\000\022E\n\016analysis_state\030\003 \001(\0132-." + + "google.cloud.asset.v1.IamPolicyAnalysisS" + + "tateB\016\n\014oneof_access\032_\n\010Identity\022\014\n\004name" + + "\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-.google." + + "cloud.asset.v1.IamPolicyAnalysisState\0320\n" + + "\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_nod" + + "e\030\002 \001(\t\032\277\002\n\021AccessControlList\022J\n\tresourc" + + "es\030\001 \003(\01327.google.cloud.asset.v1.IamPoli" + + "cyAnalysisResult.Resource\022G\n\010accesses\030\002 " + + "\003(\01325.google.cloud.asset.v1.IamPolicyAna" + + "lysisResult.Access\022K\n\016resource_edges\030\003 \003" + + "(\01323.google.cloud.asset.v1.IamPolicyAnal" + + "ysisResult.Edge\022H\n\024condition_evaluation\030" + + "\004 \001(\0132*.google.cloud.asset.v1.ConditionE" + + "valuation\032\245\001\n\014IdentityList\022K\n\nidentities" + + "\030\001 \003(\01327.google.cloud.asset.v1.IamPolicy" + + "AnalysisResult.Identity\022H\n\013group_edges\030\002" + + " \003(\01323.google.cloud.asset.v1.IamPolicyAn" + + "alysisResult.EdgeB\215\001\n\031com.google.cloud.a" + + "sset.v1B\nAssetProtoP\001Z/cloud.google.com/" + + "go/asset/apiv1/assetpb;assetpb\370\001\001\252\002\025Goog" + + "le.Cloud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V" + + "1b\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", + "KmsKeys", + "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/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java new file mode 100644 index 000000000000..b2a5e93fd40b --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java @@ -0,0 +1,1670 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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_QueryAssetsOutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_QueryResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_TableSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TableFieldSchema_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; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_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\034google/protobuf/struc" + + "t.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\026google/type/e" + + "xpr.proto\"[\n#AnalyzeIamPolicyLongrunning" + + "Metadata\0224\n\013create_time\030\001 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\"\251\002\n\023ExportAssetsR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudass" + + "et.googleapis.com/Asset\022-\n\tread_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\".goog" + + "le.cloud.asset.v1.ContentType\022?\n\routput_" + + "config\030\005 \001(\0132#.google.cloud.asset.v1.Out" + + "putConfigB\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.Timestamp\022:\n\rou" + + "tput_config\030\002 \001(\0132#.google.cloud.asset.v" + + "1.OutputConfig\022:\n\routput_result\030\003 \001(\0132#." + + "google.cloud.asset.v1.OutputResult\"\215\002\n\021L" + + "istAssetsRequest\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" + + "\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\t\022\032" + + "\n\022relationship_types\030\007 \003(\t\"\212\001\n\022ListAsset" + + "sResponse\022-\n\tread_time\030\001 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022,\n\006assets\030\002 \003(\0132\034.googl" + + "e.cloud.asset.v1.Asset\022\027\n\017next_page_toke" + + "n\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHistoryRequest" + + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.goo" + + "gleapis.com/Asset\022\023\n\013asset_names\030\002 \003(\t\022=" + + "\n\014content_type\030\003 \001(\0162\".google.cloud.asse" + + "t.v1.ContentTypeB\003\340A\001\022@\n\020read_time_windo" + + "w\030\004 \001(\0132!.google.cloud.asset.v1.TimeWind" + + "owB\003\340A\001\022\037\n\022relationship_types\030\005 \003(\tB\003\340A\001" + + "\"U\n\035BatchGetAssetsHistoryResponse\0224\n\006ass" + + "ets\030\001 \003(\0132$.google.cloud.asset.v1.Tempor" + + "alAsset\"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/Feed\"\'\n\020ListF" + + "eedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"?\n\021List" + + "FeedsResponse\022*\n\005feeds\030\001 \003(\0132\033.google.cl" + + "oud.asset.v1.Feed\"y\n\021UpdateFeedRequest\022." + + "\n\004feed\030\001 \001(\0132\033.google.cloud.asset.v1.Fee" + + "dB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pro" + + "tobuf.FieldMaskB\003\340A\002\"I\n\021DeleteFeedReques" + + "t\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.goog" + + "leapis.com/Feed\"\253\001\n\014OutputConfig\022@\n\017gcs_" + + "destination\030\001 \001(\0132%.google.cloud.asset.v" + + "1.GcsDestinationH\000\022J\n\024bigquery_destinati" + + "on\030\002 \001(\0132*.google.cloud.asset.v1.BigQuer" + + "yDestinationH\000B\r\n\013destination\"V\n\014OutputR" + + "esult\022<\n\ngcs_result\030\001 \001(\0132&.google.cloud" + + ".asset.v1.GcsOutputResultH\000B\010\n\006result\"\037\n" + + "\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t\"C\n\016GcsDes" + + "tination\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\023BigQueryDestinat" + + "ion\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\t" + + "B\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partition_spec\030\004" + + " \001(\0132$.google.cloud.asset.v1.PartitionSp" + + "ec\022&\n\036separate_tables_per_asset_type\030\005 \001" + + "(\010\"\251\001\n\rPartitionSpec\022H\n\rpartition_key\030\001 " + + "\001(\01621.google.cloud.asset.v1.PartitionSpe" + + "c.PartitionKey\"N\n\014PartitionKey\022\035\n\031PARTIT" + + "ION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014" + + "REQUEST_TIME\020\002\"\"\n\021PubsubDestination\022\r\n\005t" + + "opic\030\001 \001(\t\"i\n\020FeedOutputConfig\022F\n\022pubsub" + + "_destination\030\001 \001(\0132(.google.cloud.asset." + + "v1.PubsubDestinationH\000B\r\n\013destination\"\235\003" + + "\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\0228\n\014content_t" + + "ype\030\004 \001(\0162\".google.cloud.asset.v1.Conten" + + "tType\022H\n\022feed_output_config\030\005 \001(\0132\'.goog" + + "le.cloud.asset.v1.FeedOutputConfigB\003\340A\002\022" + + "$\n\tcondition\030\006 \001(\0132\021.google.type.Expr\022\032\n" + + "\022relationship_types\030\007 \003(\t:\221\001\352A\215\001\n\036clouda" + + "sset.googleapis.com/Feed\022\037projects/{proj" + + "ect}/feeds/{feed}\022\035folders/{folder}/feed" + + "s/{feed}\022)organizations/{organization}/f" + + "eeds/{feed} \001\"\331\001\n\031SearchAllResourcesRequ" + + "est\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_si" + + "ze\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(\013" + + "2\032.google.protobuf.FieldMaskB\003\340A\001\"s\n\032Sea" + + "rchAllResourcesResponse\022<\n\007results\030\001 \003(\013" + + "2+.google.cloud.asset.v1.ResourceSearchR" + + "esult\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n\033Searc" + + "hAllIamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340" + + "A\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\034SearchAllIamPoliciesResponse\022=\n\007resu" + + "lts\030\001 \003(\0132,.google.cloud.asset.v1.IamPol" + + "icySearchResult\022\027\n\017next_page_token\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>.goo" + + "gle.cloud.asset.v1.IamPolicyAnalysisQuer" + + "y.ResourceSelectorB\003\340A\001\022^\n\021identity_sele" + + "ctor\030\003 \001(\0132>.google.cloud.asset.v1.IamPo" + + "licyAnalysisQuery.IdentitySelectorB\003\340A\001\022" + + "Z\n\017access_selector\030\004 \001(\0132<.google.cloud." + + "asset.v1.IamPolicyAnalysisQuery.AccessSe" + + "lectorB\003\340A\001\022K\n\007options\030\005 \001(\01325.google.cl" + + "oud.asset.v1.IamPolicyAnalysisQuery.Opti" + + "onsB\003\340A\001\022^\n\021condition_context\030\006 \001(\0132>.go" + + "ogle.cloud.asset.v1.IamPolicyAnalysisQue" + + "ry.ConditionContextB\003\340A\001\0323\n\020ResourceSele" + + "ctor\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\007Options\022\032\n\r" + + "expand_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\340" + + "A\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%analy" + + "ze_service_account_impersonation\030\006 \001(\010B\003" + + "\340A\001\032T\n\020ConditionContext\0221\n\013access_time\030\001" + + " \001(\0132\032.google.protobuf.TimestampH\000B\r\n\013Ti" + + "meContext\"\303\001\n\027AnalyzeIamPolicyRequest\022J\n" + + "\016analysis_query\030\001 \001(\0132-.google.cloud.ass" + + "et.v1.IamPolicyAnalysisQueryB\003\340A\002\022!\n\024sav" + + "ed_analysis_query\030\003 \001(\tB\003\340A\001\0229\n\021executio" + + "n_timeout\030\002 \001(\0132\031.google.protobuf.Durati" + + "onB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyResponse\022X\n\r" + + "main_analysis\030\001 \001(\0132A.google.cloud.asset" + + ".v1.AnalyzeIamPolicyResponse.IamPolicyAn" + + "alysis\022q\n&service_account_impersonation_" + + "analysis\030\002 \003(\0132A.google.cloud.asset.v1.A" + + "nalyzeIamPolicyResponse.IamPolicyAnalysi" + + "s\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021IamPolicyA" + + "nalysis\022E\n\016analysis_query\030\001 \001(\0132-.google" + + ".cloud.asset.v1.IamPolicyAnalysisQuery\022H" + + "\n\020analysis_results\030\002 \003(\0132..google.cloud." + + "asset.v1.IamPolicyAnalysisResult\022\026\n\016full" + + "y_explored\030\003 \001(\010\022J\n\023non_critical_errors\030" + + "\005 \003(\0132-.google.cloud.asset.v1.IamPolicyA" + + "nalysisState\"\264\004\n\035IamPolicyAnalysisOutput" + + "Config\022^\n\017gcs_destination\030\001 \001(\0132C.google" + + ".cloud.asset.v1.IamPolicyAnalysisOutputC" + + "onfig.GcsDestinationH\000\022h\n\024bigquery_desti" + + "nation\030\002 \001(\0132H.google.cloud.asset.v1.Iam" + + "PolicyAnalysisOutputConfig.BigQueryDesti" + + "nationH\000\032\"\n\016GcsDestination\022\020\n\003uri\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.asse" + + "t.v1.IamPolicyAnalysisOutputConfig.BigQu" + + "eryDestination.PartitionKey\022\036\n\021write_dis" + + "position\030\004 \001(\tB\003\340A\001\"?\n\014PartitionKey\022\035\n\031P" + + "ARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014REQUEST_TI" + + "ME\020\001B\r\n\013destination\"\345\001\n\"AnalyzeIamPolicy" + + "LongrunningRequest\022J\n\016analysis_query\030\001 \001" + + "(\0132-.google.cloud.asset.v1.IamPolicyAnal" + + "ysisQueryB\003\340A\002\022!\n\024saved_analysis_query\030\003" + + " \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001(\01324.googl" + + "e.cloud.asset.v1.IamPolicyAnalysisOutput" + + "ConfigB\003\340A\002\"%\n#AnalyzeIamPolicyLongrunni" + + "ngResponse\"\267\005\n\nSavedQuery\022\014\n\004name\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\007cr" + + "eator\030\004 \001(\tB\003\340A\003\0229\n\020last_update_time\030\005 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\031\n\014l" + + "ast_updater\030\006 \001(\tB\003\340A\003\022=\n\006labels\030\007 \003(\0132-" + + ".google.cloud.asset.v1.SavedQuery.Labels" + + "Entry\022?\n\007content\030\010 \001(\0132..google.cloud.as" + + "set.v1.SavedQuery.QueryContent\032s\n\014QueryC" + + "ontent\022R\n\031iam_policy_analysis_query\030\001 \001(" + + "\0132-.google.cloud.asset.v1.IamPolicyAnaly" + + "sisQueryH\000B\017\n\rquery_content\032-\n\013LabelsEnt" + + "ry\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/SavedQuery\022" + + "-projects/{project}/savedQueries/{saved_" + + "query}\022+folders/{folder}/savedQueries/{s" + + "aved_query}\0227organizations/{organization" + + "}/savedQueries/{saved_query}\"\261\001\n\027CreateS" + + "avedQueryRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&" + + "\022$cloudasset.googleapis.com/SavedQuery\022;" + + "\n\013saved_query\030\002 \001(\0132!.google.cloud.asset" + + ".v1.SavedQueryB\003\340A\002\022\033\n\016saved_query_id\030\003 " + + "\001(\tB\003\340A\002\"R\n\024GetSavedQueryRequest\022:\n\004name" + + "\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.googleapis.co" + + "m/SavedQuery\"\235\001\n\027ListSavedQueriesRequest" + + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$cloudasset.goo" + + "gleapis.com/SavedQuery\022\023\n\006filter\030\004 \001(\tB\003" + + "\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_toke" + + "n\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueriesResponse" + + "\0228\n\rsaved_queries\030\001 \003(\0132!.google.cloud.a" + + "sset.v1.SavedQuery\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\214\001\n\027UpdateSavedQueryRequest\022;\n\013saved" + + "_query\030\001 \001(\0132!.google.cloud.asset.v1.Sav" + + "edQueryB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\002\"U\n\027DeleteSave" + + "dQueryRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$clo" + + "udasset.googleapis.com/SavedQuery\"\326\001\n\022An" + + "alyzeMoveRequest\022\025\n\010resource\030\001 \001(\tB\003\340A\002\022" + + "\037\n\022destination_parent\030\002 \001(\tB\003\340A\002\022D\n\004view" + + "\030\003 \001(\01626.google.cloud.asset.v1.AnalyzeMo" + + "veRequest.AnalysisView\"B\n\014AnalysisView\022\035" + + "\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022" + + "\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveResponse\022:\n\rmov" + + "e_analysis\030\001 \003(\0132#.google.cloud.asset.v1" + + ".MoveAnalysis\"\222\001\n\014MoveAnalysis\022\024\n\014displa" + + "y_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\0132).google." + + "cloud.asset.v1.MoveAnalysisResultH\000\022#\n\005e" + + "rror\030\003 \001(\0132\022.google.rpc.StatusH\000B\010\n\006resu" + + "lt\"~\n\022MoveAnalysisResult\0223\n\010blockers\030\001 \003" + + "(\0132!.google.cloud.asset.v1.MoveImpact\0223\n" + + "\010warnings\030\002 \003(\0132!.google.cloud.asset.v1." + + "MoveImpact\"\034\n\nMoveImpact\022\016\n\006detail\030\001 \001(\t" + + "\"\327\001\n\027QueryAssetsOutputConfig\022`\n\024bigquery" + + "_destination\030\001 \001(\0132B.google.cloud.asset." + + "v1.QueryAssetsOutputConfig.BigQueryDesti" + + "nation\032Z\n\023BigQueryDestination\022\024\n\007dataset" + + "\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\031\n\021write" + + "_disposition\030\003 \001(\t\"\276\003\n\022QueryAssetsReques" + + "t\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.go" + + "ogleapis.com/Asset\022\030\n\tstatement\030\002 \001(\tB\003\340" + + "A\001H\000\022\034\n\rjob_reference\030\003 \001(\tB\003\340A\001H\000\022\026\n\tpa" + + "ge_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003" + + "\340A\001\022/\n\007timeout\030\006 \001(\0132\031.google.protobuf.D" + + "urationB\003\340A\001\022B\n\020read_time_window\030\007 \001(\0132!" + + ".google.cloud.asset.v1.TimeWindowB\003\340A\001H\001" + + "\0224\n\tread_time\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\001H\001\022J\n\routput_config\030\t \001(\0132.." + + "google.cloud.asset.v1.QueryAssetsOutputC" + + "onfigB\003\340A\001B\007\n\005queryB\006\n\004time\"\360\001\n\023QueryAss" + + "etsResponse\022\025\n\rjob_reference\030\001 \001(\t\022\014\n\004do" + + "ne\030\002 \001(\010\022#\n\005error\030\003 \001(\0132\022.google.rpc.Sta" + + "tusH\000\022:\n\014query_result\030\004 \001(\0132\".google.clo" + + "ud.asset.v1.QueryResultH\000\022G\n\routput_conf" + + "ig\030\005 \001(\0132..google.cloud.asset.v1.QueryAs" + + "setsOutputConfigH\000B\n\n\010response\"\225\001\n\013Query" + + "Result\022%\n\004rows\030\001 \003(\0132\027.google.protobuf.S" + + "truct\0222\n\006schema\030\002 \001(\0132\".google.cloud.ass" + + "et.v1.TableSchema\022\027\n\017next_page_token\030\003 \001" + + "(\t\022\022\n\ntotal_rows\030\004 \001(\003\"F\n\013TableSchema\0227\n" + + "\006fields\030\001 \003(\0132\'.google.cloud.asset.v1.Ta" + + "bleFieldSchema\"v\n\020TableFieldSchema\022\r\n\005fi" + + "eld\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\014\n\004mode\030\003 \001(\t\0227\n" + + "\006fields\030\004 \003(\0132\'.google.cloud.asset.v1.Ta" + + "bleFieldSchema\"Y\n#BatchGetEffectiveIamPo" + + "liciesRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022" + + "\030\n\005names\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEf" + + "fectiveIamPoliciesResponse\022f\n\016policy_res" + + "ults\030\002 \003(\0132N.google.cloud.asset.v1.Batch" + + "GetEffectiveIamPoliciesResponse.Effectiv" + + "eIamPolicy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022ful" + + "l_resource_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132" + + "Y.google.cloud.asset.v1.BatchGetEffectiv" + + "eIamPoliciesResponse.EffectiveIamPolicy." + + "PolicyInfo\032N\n\nPolicyInfo\022\031\n\021attached_res" + + "ource\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam" + + ".v1.Policy\"\262\003\n\021AnalyzerOrgPolicy\022\031\n\021atta" + + "ched_resource\030\001 \001(\t\022\030\n\020applied_resource\030" + + "\005 \001(\t\022<\n\005rules\030\002 \003(\0132-.google.cloud.asse" + + "t.v1.AnalyzerOrgPolicy.Rule\022\033\n\023inherit_f" + + "rom_parent\030\003 \001(\010\022\r\n\005reset\030\004 \001(\010\032\375\001\n\004Rule" + + "\022L\n\006values\030\003 \001(\0132:.google.cloud.asset.v1" + + ".AnalyzerOrgPolicy.Rule.StringValuesH\000\022\023" + + "\n\tallow_all\030\004 \001(\010H\000\022\022\n\010deny_all\030\005 \001(\010H\000\022" + + "\021\n\007enforce\030\006 \001(\010H\000\022$\n\tcondition\030\007 \001(\0132\021." + + "google.type.Expr\032=\n\014StringValues\022\026\n\016allo" + + "wed_values\030\001 \003(\t\022\025\n\rdenied_values\030\002 \003(\tB" + + "\006\n\004kind\"\221\n\n\033AnalyzerOrgPolicyConstraint\022" + + "b\n\031google_defined_constraint\030\001 \001(\0132=.goo" + + "gle.cloud.asset.v1.AnalyzerOrgPolicyCons" + + "traint.ConstraintH\000\022`\n\021custom_constraint" + + "\030\002 \001(\0132C.google.cloud.asset.v1.AnalyzerO" + + "rgPolicyConstraint.CustomConstraintH\000\032\277\004" + + "\n\nConstraint\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + + "me\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022k\n\022constra" + + "int_default\030\004 \001(\0162O.google.cloud.asset.v" + + "1.AnalyzerOrgPolicyConstraint.Constraint" + + ".ConstraintDefault\022g\n\017list_constraint\030\005 " + + "\001(\0132L.google.cloud.asset.v1.AnalyzerOrgP" + + "olicyConstraint.Constraint.ListConstrain" + + "tH\000\022m\n\022boolean_constraint\030\006 \001(\0132O.google" + + ".cloud.asset.v1.AnalyzerOrgPolicyConstra" + + "int.Constraint.BooleanConstraintH\000\032=\n\016Li" + + "stConstraint\022\023\n\013supports_in\030\001 \001(\010\022\026\n\016sup" + + "ports_under\030\002 \001(\010\032\023\n\021BooleanConstraint\"L" + + "\n\021ConstraintDefault\022\"\n\036CONSTRAINT_DEFAUL" + + "T_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\021\n\017" + + "constraint_type\032\320\003\n\020CustomConstraint\022\014\n\004" + + "name\030\001 \001(\t\022\026\n\016resource_types\030\002 \003(\t\022d\n\014me" + + "thod_types\030\003 \003(\0162N.google.cloud.asset.v1" + + ".AnalyzerOrgPolicyConstraint.CustomConst" + + "raint.MethodType\022\021\n\tcondition\030\004 \001(\t\022c\n\013a" + + "ction_type\030\005 \001(\0162N.google.cloud.asset.v1" + + ".AnalyzerOrgPolicyConstraint.CustomConst" + + "raint.ActionType\022\024\n\014display_name\030\006 \001(\t\022\023" + + "\n\013description\030\007 \001(\t\"M\n\nMethodType\022\033\n\027MET" + + "HOD_TYPE_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UP" + + "DATE\020\002\022\n\n\006DELETE\020\003\">\n\nActionType\022\033\n\027ACTI" + + "ON_TYPE_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY" + + "\020\002B\027\n\025constraint_definition\"\222\001\n\031AnalyzeO" + + "rgPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n" + + "\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026" + + "\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_token\030\005 \001" + + "(\tB\014\n\n_page_size\"\370\002\n\032AnalyzeOrgPoliciesR" + + "esponse\022]\n\022org_policy_results\030\001 \003(\0132A.go" + + "ogle.cloud.asset.v1.AnalyzeOrgPoliciesRe" + + "sponse.OrgPolicyResult\022F\n\nconstraint\030\002 \001" + + "(\01322.google.cloud.asset.v1.AnalyzerOrgPo" + + "licyConstraint\022\027\n\017next_page_token\030\003 \001(\t\032" + + "\231\001\n\017OrgPolicyResult\022E\n\023consolidated_poli" + + "cy\030\001 \001(\0132(.google.cloud.asset.v1.Analyze" + + "rOrgPolicy\022?\n\rpolicy_bundle\030\002 \003(\0132(.goog" + + "le.cloud.asset.v1.AnalyzerOrgPolicy\"\242\001\n)" + + "AnalyzeOrgPolicyGovernedContainersReques" + + "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n\nconstraint\030\002 \001(" + + "\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026\n\tpage_size\030\004 \001(" + + "\005H\000\210\001\001\022\022\n\npage_token\030\005 \001(\tB\014\n\n_page_size" + + "\"\311\003\n*AnalyzeOrgPolicyGovernedContainersR" + + "esponse\022p\n\023governed_containers\030\001 \003(\0132S.g" + + "oogle.cloud.asset.v1.AnalyzeOrgPolicyGov" + + "ernedContainersResponse.GovernedContaine" + + "r\022F\n\nconstraint\030\002 \001(\01322.google.cloud.ass" + + "et.v1.AnalyzerOrgPolicyConstraint\022\027\n\017nex" + + "t_page_token\030\003 \001(\t\032\307\001\n\021GovernedContainer" + + "\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006parent\030\002" + + " \001(\t\022E\n\023consolidated_policy\030\003 \001(\0132(.goog" + + "le.cloud.asset.v1.AnalyzerOrgPolicy\022?\n\rp" + + "olicy_bundle\030\004 \003(\0132(.google.cloud.asset." + + "v1.AnalyzerOrgPolicy\"\236\001\n%AnalyzeOrgPolic" + + "yGovernedAssetsRequest\022\022\n\005scope\030\001 \001(\tB\003\340" + + "A\002\022\027\n\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 " + + "\001(\t\022\026\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_toke" + + "n\030\005 \001(\tB\014\n\n_page_size\"\200\007\n&AnalyzeOrgPoli" + + "cyGovernedAssetsResponse\022d\n\017governed_ass" + + "ets\030\001 \003(\0132K.google.cloud.asset.v1.Analyz" + + "eOrgPolicyGovernedAssetsResponse.Governe" + + "dAsset\022F\n\nconstraint\030\002 \001(\01322.google.clou" + + "d.asset.v1.AnalyzerOrgPolicyConstraint\022\027" + + "\n\017next_page_token\030\003 \001(\t\032v\n\020GovernedResou" + + "rce\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006paren" + + "t\030\002 \001(\t\022\017\n\007project\030\005 \001(\t\022\017\n\007folders\030\006 \003(" + + "\t\022\024\n\014organization\030\007 \001(\t\032\215\001\n\021GovernedIamP" + + "olicy\022\031\n\021attached_resource\030\001 \001(\t\022%\n\006poli" + + "cy\030\002 \001(\0132\025.google.iam.v1.Policy\022\017\n\007proje" + + "ct\030\005 \001(\t\022\017\n\007folders\030\006 \003(\t\022\024\n\014organizatio" + + "n\030\007 \001(\t\032\206\003\n\rGovernedAsset\022k\n\021governed_re" + + "source\030\001 \001(\0132N.google.cloud.asset.v1.Ana" + + "lyzeOrgPolicyGovernedAssetsResponse.Gove" + + "rnedResourceH\000\022n\n\023governed_iam_policy\030\002 " + + "\001(\0132O.google.cloud.asset.v1.AnalyzeOrgPo" + + "licyGovernedAssetsResponse.GovernedIamPo" + + "licyH\000\022E\n\023consolidated_policy\030\003 \001(\0132(.go" + + "ogle.cloud.asset.v1.AnalyzerOrgPolicy\022?\n" + + "\rpolicy_bundle\030\004 \003(\0132(.google.cloud.asse" + + "t.v1.AnalyzerOrgPolicyB\020\n\016governed_asset" + + "*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_UNSPECI" + + "FIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\n" + + "ORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014OS_IN" + + "VENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\321 \n\014AssetSer" + + "vice\022\336\001\n\014ExportAssets\022*.google.cloud.ass" + + "et.v1.ExportAssetsRequest\032\035.google.longr" + + "unning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{parent=*" + + "/*}:exportAssets:\001*\312AW\n*google.cloud.ass" + + "et.v1.ExportAssetsResponse\022)google.cloud" + + ".asset.v1.ExportAssetsRequest\022\213\001\n\nListAs" + + "sets\022(.google.cloud.asset.v1.ListAssetsR" + + "equest\032).google.cloud.asset.v1.ListAsset" + + "sResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*}/asse" + + "ts\332A\006parent\022\262\001\n\025BatchGetAssetsHistory\0223." + + "google.cloud.asset.v1.BatchGetAssetsHist" + + "oryRequest\0324.google.cloud.asset.v1.Batch" + + "GetAssetsHistoryResponse\".\202\323\344\223\002(\022&/v1/{p" + + "arent=*/*}:batchGetAssetsHistory\022\177\n\nCrea" + + "teFeed\022(.google.cloud.asset.v1.CreateFee" + + "dRequest\032\033.google.cloud.asset.v1.Feed\"*\202" + + "\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A\006paren" + + "t\022t\n\007GetFeed\022%.google.cloud.asset.v1.Get" + + "FeedRequest\032\033.google.cloud.asset.v1.Feed" + + "\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A\004name\022" + + "\207\001\n\tListFeeds\022\'.google.cloud.asset.v1.Li" + + "stFeedsRequest\032(.google.cloud.asset.v1.L" + + "istFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{parent=*/" + + "*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(.googl" + + "e.cloud.asset.v1.UpdateFeedRequest\032\033.goo" + + "gle.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/v1/{fe" + + "ed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\nDelete" + + "Feed\022(.google.cloud.asset.v1.DeleteFeedR" + + "equest\032\026.google.protobuf.Empty\"%\202\323\344\223\002\030*\026" + + "/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022Search" + + "AllResources\0220.google.cloud.asset.v1.Sea" + + "rchAllResourcesRequest\0321.google.cloud.as" + + "set.v1.SearchAllResourcesResponse\"D\202\323\344\223\002", + "$\022\"/v1/{scope=*/*}:searchAllResources\332A\027" + + "scope,query,asset_types\022\273\001\n\024SearchAllIam" + + "Policies\0222.google.cloud.asset.v1.SearchA" + + "llIamPoliciesRequest\0323.google.cloud.asse" + + "t.v1.SearchAllIamPoliciesResponse\":\202\323\344\223\002" + + "&\022$/v1/{scope=*/*}:searchAllIamPolicies\332" + + "A\013scope,query\022\254\001\n\020AnalyzeIamPolicy\022..goo" + + "gle.cloud.asset.v1.AnalyzeIamPolicyReque" + + "st\032/.google.cloud.asset.v1.AnalyzeIamPol" + + "icyResponse\"7\202\323\344\223\0021\022//v1/{analysis_query" + + ".scope=*/*}:analyzeIamPolicy\022\270\002\n\033Analyze" + + "IamPolicyLongrunning\0229.google.cloud.asse" + + "t.v1.AnalyzeIamPolicyLongrunningRequest\032" + + "\035.google.longrunning.Operation\"\276\001\202\323\344\223\002?\"" + + ":/v1/{analysis_query.scope=*/*}:analyzeI" + + "amPolicyLongrunning:\001*\312Av\n9google.cloud." + + "asset.v1.AnalyzeIamPolicyLongrunningResp" + + "onse\0229google.cloud.asset.v1.AnalyzeIamPo" + + "licyLongrunningMetadata\022\214\001\n\013AnalyzeMove\022" + + ").google.cloud.asset.v1.AnalyzeMoveReque" + + "st\032*.google.cloud.asset.v1.AnalyzeMoveRe" + + "sponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}:analy" + + "zeMove\022\215\001\n\013QueryAssets\022).google.cloud.as" + + "set.v1.QueryAssetsRequest\032*.google.cloud" + + ".asset.v1.QueryAssetsResponse\"\'\202\323\344\223\002!\"\034/" + + "v1/{parent=*/*}:queryAssets:\001*\022\275\001\n\020Creat" + + "eSavedQuery\022..google.cloud.asset.v1.Crea" + + "teSavedQueryRequest\032!.google.cloud.asset" + + ".v1.SavedQuery\"V\202\323\344\223\002,\"\035/v1/{parent=*/*}" + + "/savedQueries:\013saved_query\332A!parent,save" + + "d_query,saved_query_id\022\215\001\n\rGetSavedQuery" + + "\022+.google.cloud.asset.v1.GetSavedQueryRe" + + "quest\032!.google.cloud.asset.v1.SavedQuery" + + "\",\202\323\344\223\002\037\022\035/v1/{name=*/*/savedQueries/*}\332" + + "A\004name\022\243\001\n\020ListSavedQueries\022..google.clo" + + "ud.asset.v1.ListSavedQueriesRequest\032/.go" + + "ogle.cloud.asset.v1.ListSavedQueriesResp" + + "onse\".\202\323\344\223\002\037\022\035/v1/{parent=*/*}/savedQuer" + + "ies\332A\006parent\022\277\001\n\020UpdateSavedQuery\022..goog" + + "le.cloud.asset.v1.UpdateSavedQueryReques" + + "t\032!.google.cloud.asset.v1.SavedQuery\"X\202\323" + + "\344\223\00282)/v1/{saved_query.name=*/*/savedQue" + + "ries/*}:\013saved_query\332A\027saved_query,updat" + + "e_mask\022\210\001\n\020DeleteSavedQuery\022..google.clo" + + "ud.asset.v1.DeleteSavedQueryRequest\032\026.go" + + "ogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1/{name=*" + + "/*/savedQueries/*}\332A\004name\022\316\001\n\034BatchGetEf" + + "fectiveIamPolicies\022:.google.cloud.asset." + + "v1.BatchGetEffectiveIamPoliciesRequest\032;" + + ".google.cloud.asset.v1.BatchGetEffective" + + "IamPoliciesResponse\"5\202\323\344\223\002/\022-/v1/{scope=" + + "*/*}/effectiveIamPolicies:batchGet\022\277\001\n\022A" + + "nalyzeOrgPolicies\0220.google.cloud.asset.v" + + "1.AnalyzeOrgPoliciesRequest\0321.google.clo" + + "ud.asset.v1.AnalyzeOrgPoliciesResponse\"D" + + "\202\323\344\223\002$\022\"/v1/{scope=*/*}:analyzeOrgPolici" + + "es\332A\027scope,constraint,filter\022\377\001\n\"Analyze" + + "OrgPolicyGovernedContainers\022@.google.clo" + + "ud.asset.v1.AnalyzeOrgPolicyGovernedCont" + + "ainersRequest\032A.google.cloud.asset.v1.An" + + "alyzeOrgPolicyGovernedContainersResponse" + + "\"T\202\323\344\223\0024\0222/v1/{scope=*/*}:analyzeOrgPoli" + + "cyGovernedContainers\332A\027scope,constraint," + + "filter\022\357\001\n\036AnalyzeOrgPolicyGovernedAsset" + + "s\022<.google.cloud.asset.v1.AnalyzeOrgPoli" + + "cyGovernedAssetsRequest\032=.google.cloud.a" + + "sset.v1.AnalyzeOrgPolicyGovernedAssetsRe" + + "sponse\"P\202\323\344\223\0020\022./v1/{scope=*/*}:analyzeO" + + "rgPolicyGovernedAssets\332A\027scope,constrain" + + "t,filter\032M\312A\031cloudasset.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\221\001\n\031com.google.cloud.asset.v1B\021A" + + "ssetServiceProtoP\001Z/cloud.google.com/go/" + + "asset/apiv1/assetpb;assetpb\252\002\025Google.Clo" + + "ud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V1b\006pro" + + "to3" + }; + 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.StructProto.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_QueryAssetsOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor, + new java.lang.String[] { + "BigqueryDestination", + }); + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor = + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor, + new java.lang.String[] { + "Dataset", "Table", "WriteDisposition", + }); + internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor, + new java.lang.String[] { + "Parent", + "Statement", + "JobReference", + "PageSize", + "PageToken", + "Timeout", + "ReadTimeWindow", + "ReadTime", + "OutputConfig", + "Query", + "Time", + }); + internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor, + new java.lang.String[] { + "JobReference", "Done", "Error", "QueryResult", "OutputConfig", "Response", + }); + internal_static_google_cloud_asset_v1_QueryResult_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_QueryResult_descriptor, + new java.lang.String[] { + "Rows", "Schema", "NextPageToken", "TotalRows", + }); + internal_static_google_cloud_asset_v1_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TableSchema_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor, + new java.lang.String[] { + "Field", "Type", "Mode", "Fields", + }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + 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(51); + 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", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor, + new java.lang.String[] { + "AttachedResource", "AppliedResource", "Rules", "InheritFromParent", "Reset", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor, + new java.lang.String[] { + "Values", "AllowAll", "DenyAll", "Enforce", "Condition", "Kind", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor, + new java.lang.String[] { + "AllowedValues", "DeniedValues", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor, + new java.lang.String[] { + "GoogleDefinedConstraint", "CustomConstraint", "ConstraintDefinition", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Description", + "ConstraintDefault", + "ListConstraint", + "BooleanConstraint", + "ConstraintType", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor, + new java.lang.String[] { + "SupportsIn", "SupportsUnder", + }); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor = + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor, + new java.lang.String[] { + "Name", + "ResourceTypes", + "MethodTypes", + "Condition", + "ActionType", + "DisplayName", + "Description", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor, + new java.lang.String[] { + "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor, + new java.lang.String[] { + "OrgPolicyResults", "Constraint", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor, + new java.lang.String[] { + "ConsolidatedPolicy", "PolicyBundle", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor, + new java.lang.String[] { + "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor, + new java.lang.String[] { + "GovernedContainers", "Constraint", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor, + new java.lang.String[] { + "FullResourceName", "Parent", "ConsolidatedPolicy", "PolicyBundle", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor, + new java.lang.String[] { + "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor, + new java.lang.String[] { + "GovernedAssets", "Constraint", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor, + new java.lang.String[] { + "FullResourceName", "Parent", "Project", "Folders", "Organization", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor, + new java.lang.String[] { + "AttachedResource", "Policy", "Project", "Folders", "Organization", + }); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor, + new java.lang.String[] { + "GovernedResource", + "GovernedIamPolicy", + "ConsolidatedPolicy", + "PolicyBundle", + "GovernedAsset", + }); + 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.StructProto.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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java similarity index 76% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java index 192bb676cc29..e6b69a3b795e 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java +++ b/java-asset/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,33 +45,37 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object assetType_ = "";
   /**
+   *
+   *
    * 
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -63,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset_type = 1; + * * @return The assetType. */ @java.lang.Override @@ -71,14 +94,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`
@@ -88,16 +112,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 { @@ -106,9 +129,12 @@ public java.lang.String getAssetType() { } public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -122,6 +148,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
@@ -131,11 +159,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
@@ -149,6 +179,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
@@ -162,6 +194,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
@@ -177,6 +211,7 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,8 +223,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_);
     }
@@ -209,8 +243,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,17 +254,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -253,97 +286,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.
@@ -351,33 +391,32 @@ 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()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -394,9 +433,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
@@ -415,9 +454,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -445,38 +487,39 @@ private void buildPartial0(com.google.cloud.asset.v1.AttachedResource result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -508,9 +551,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AttachedResource other) {
             versionedResourcesBuilder_ = null;
             versionedResources_ = other.versionedResources_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            versionedResourcesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVersionedResourcesFieldBuilder() : null;
+            versionedResourcesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVersionedResourcesFieldBuilder()
+                    : null;
           } else {
             versionedResourcesBuilder_.addAllMessages(other.versionedResources_);
           }
@@ -542,30 +586,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              com.google.cloud.asset.v1.VersionedResource m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.VersionedResource.parser(),
-                      extensionRegistry);
-              if (versionedResourcesBuilder_ == null) {
-                ensureVersionedResourcesIsMutable();
-                versionedResources_.add(m);
-              } else {
-                versionedResourcesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                com.google.cloud.asset.v1.VersionedResource m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry);
+                if (versionedResourcesBuilder_ == null) {
+                  ensureVersionedResourcesIsMutable();
+                  versionedResources_.add(m);
+                } else {
+                  versionedResourcesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -575,10 +621,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object assetType_ = "";
     /**
+     *
+     *
      * 
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -588,13 +637,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; @@ -603,6 +652,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -612,15 +663,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 { @@ -628,6 +678,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -637,18 +689,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -658,6 +714,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 1; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -667,6 +724,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -676,12 +735,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000001; @@ -690,18 +751,26 @@ public Builder setAssetTypeBytes( } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - versionedResources_ = new java.util.ArrayList(versionedResources_); + versionedResources_ = + new java.util.ArrayList( + versionedResources_); bitField0_ |= 0x00000002; - } + } } 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
@@ -718,6 +787,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
@@ -734,6 +805,8 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -750,6 +823,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
@@ -773,6 +848,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
@@ -793,6 +870,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
@@ -815,6 +894,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
@@ -838,6 +919,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
@@ -858,6 +941,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
@@ -878,6 +963,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
@@ -890,8 +977,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);
@@ -899,6 +985,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
@@ -918,6 +1006,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
@@ -937,6 +1027,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
@@ -950,6 +1042,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
@@ -961,11 +1055,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
@@ -974,8 +1071,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 {
@@ -983,6 +1080,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
@@ -992,10 +1091,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
@@ -1006,10 +1107,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
@@ -1018,16 +1121,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_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1036,9 +1145,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);
     }
 
@@ -1048,12 +1157,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();
   }
@@ -1062,27 +1171,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttachedResource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1097,6 +1206,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AttachedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
index 15fc2826e2e8..3b927c8731fc 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
similarity index 75%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
index 31dda9955d3a..4db51c413174 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
+++ b/java-asset/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,40 +46,47 @@ 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; } - 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; + @SuppressWarnings("serial") 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 @@ -70,31 +95,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 { @@ -103,9 +130,12 @@ public java.lang.String getParent() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -116,13 +146,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
@@ -133,12 +165,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
@@ -149,6 +184,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. */ @@ -156,6 +192,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
@@ -166,43 +204,58 @@ 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_ = 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]; + * + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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
@@ -212,7 +265,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 @@ -220,6 +276,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
@@ -229,14 +287,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
@@ -246,17 +311,24 @@ 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() { - return readTimeWindow_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; + return readTimeWindow_ == null + ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() + : readTimeWindow_; } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") 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
@@ -277,13 +349,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
@@ -304,12 +378,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
@@ -330,6 +407,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. */ @@ -337,6 +415,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
@@ -357,15 +437,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; @@ -377,15 +458,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) { @@ -414,13 +495,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; @@ -438,25 +518,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -490,129 +567,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -632,9 +716,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 @@ -653,14 +737,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result) { if (((bitField0_ & 0x00000002) != 0)) { assetNames_ = assetNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -682,9 +770,8 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetAssetsHistoryReques result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.readTimeWindow_ = readTimeWindowBuilder_ == null - ? readTimeWindow_ - : readTimeWindowBuilder_.build(); + result.readTimeWindow_ = + readTimeWindowBuilder_ == null ? readTimeWindow_ : readTimeWindowBuilder_.build(); } } @@ -692,38 +779,39 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetAssetsHistoryReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -731,7 +819,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_; bitField0_ |= 0x00000001; @@ -789,41 +878,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetNamesIsMutable(); - assetNames_.add(s); - break; - } // case 18 - case 24: { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - input.readMessage( - getReadTimeWindowFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetNamesIsMutable(); + assetNames_.add(s); + break; + } // case 18 + case 24: + { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getReadTimeWindowFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -833,24 +926,29 @@ public Builder mergeFrom( } // finally 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; @@ -859,22 +957,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 { @@ -882,32 +983,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The 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() { @@ -917,19 +1029,25 @@ public Builder clearParent() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -937,14 +1055,18 @@ public Builder setParentBytes( 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_ & 0x00000002) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -955,13 +1077,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
@@ -972,12 +1096,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
@@ -988,6 +1115,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. */ @@ -995,6 +1123,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
@@ -1005,14 +1135,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
@@ -1023,19 +1155,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetNames(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1046,18 +1182,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetNames(java.lang.String value) { + if (value == null) { + 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
@@ -1068,18 +1208,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
@@ -1090,6 +1231,7 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1099,6 +1241,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
@@ -1109,12 +1253,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); @@ -1124,22 +1270,33 @@ 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. */ @@ -1150,24 +1307,35 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1181,11 +1349,16 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1197,8 +1370,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
@@ -1208,13 +1386,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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
@@ -1224,17 +1407,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
@@ -1244,7 +1434,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) { @@ -1260,6 +1452,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
@@ -1269,10 +1463,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(); } else { @@ -1283,6 +1478,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
@@ -1292,13 +1489,15 @@ 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 (((bitField0_ & 0x00000008) != 0) && - readTimeWindow_ != null && - readTimeWindow_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && readTimeWindow_ != null + && readTimeWindow_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { getReadTimeWindowBuilder().mergeFrom(value); } else { readTimeWindow_ = value; @@ -1311,6 +1510,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
@@ -1320,7 +1521,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1333,6 +1536,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
@@ -1342,7 +1547,9 @@ 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() { bitField0_ |= 0x00000008; @@ -1350,6 +1557,8 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() { 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
@@ -1359,17 +1568,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
@@ -1379,30 +1593,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_ & 0x00000010) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1422,14 +1645,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
@@ -1449,13 +1675,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
@@ -1475,7 +1705,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. */ @@ -1483,6 +1715,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
@@ -1502,15 +1736,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
@@ -1530,20 +1767,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1563,19 +1805,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1595,19 +1842,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
@@ -1627,7 +1876,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() { @@ -1637,6 +1888,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
@@ -1656,22 +1909,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -1681,12 +1937,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(); } @@ -1695,27 +1951,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1730,6 +1986,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java index cfc137961ccd..eec14316902c 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java index c1661748a766..5f7bd7836753 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -63,6 +85,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -70,11 +94,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.
    * 
@@ -86,6 +112,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -104,12 +134,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; @@ -121,8 +151,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)); } @@ -136,8 +165,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +350,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 @@ -336,14 +371,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -363,38 +402,39 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetAssetsHistoryRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -402,7 +442,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()) { @@ -421,9 +462,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_); } @@ -455,25 +497,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.TemporalAsset m = - input.readMessage( - com.google.cloud.asset.v1.TemporalAsset.parser(), - extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.TemporalAsset m = + input.readMessage( + com.google.cloud.asset.v1.TemporalAsset.parser(), extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,21 +526,28 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -512,6 +562,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -526,6 +578,8 @@ public int getAssetsCount() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -540,14 +594,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(); @@ -561,6 +616,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -579,6 +636,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -599,14 +658,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(); @@ -620,14 +680,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()); @@ -638,6 +699,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -656,6 +719,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -666,8 +731,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); @@ -675,6 +739,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -692,6 +758,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -709,39 +777,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 { @@ -749,6 +822,8 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -756,49 +831,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); } @@ -808,12 +888,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(); } @@ -822,27 +902,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +937,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java index 70e9d55a250e..22976e616b9e 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java similarity index 68% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java index e9d842c2ac13..457cc20dc507 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java +++ b/java-asset/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,33 +47,37 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   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
@@ -65,7 +89,10 @@ protected java.lang.Object newInstance(
    * ](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 @@ -74,14 +101,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
@@ -93,17 +121,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 { @@ -112,9 +141,12 @@ public java.lang.String getScope() { } public static final int NAMES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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)
@@ -123,14 +155,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)
@@ -139,13 +175,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)
@@ -154,7 +195,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. */ @@ -162,6 +206,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)
@@ -170,16 +216,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; @@ -191,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -227,17 +275,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,96 +308,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].
@@ -358,33 +413,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -396,13 +450,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();
     }
 
@@ -417,14 +472,18 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         names_ = names_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -432,7 +491,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffect
       result.names_ = names_;
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.scope_ = scope_;
@@ -443,38 +503,39 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPolicie
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -482,7 +543,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_;
         bitField0_ |= 0x00000001;
@@ -524,23 +587,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              scope_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureNamesIsMutable();
-              names_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                scope_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureNamesIsMutable();
+                names_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,10 +616,13 @@ public Builder mergeFrom(
       } // finally
       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
@@ -565,14 +634,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; @@ -581,6 +652,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
@@ -592,16 +665,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 { @@ -609,6 +683,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
@@ -620,19 +696,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; 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
@@ -644,7 +726,10 @@ 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() { @@ -654,6 +739,8 @@ public Builder clearScope() { 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
@@ -665,13 +752,17 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -679,14 +770,18 @@ public Builder setScopeBytes( 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_ & 0x00000002) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -695,14 +790,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)
@@ -711,13 +810,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)
@@ -726,7 +830,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. */ @@ -734,6 +841,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)
@@ -742,15 +851,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)
@@ -759,20 +872,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNames(int index, java.lang.String value) { + if (value == null) { + 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)
@@ -781,19 +900,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addNames(java.lang.String value) { + if (value == null) { + 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)
@@ -802,19 +927,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)
@@ -823,7 +951,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() { @@ -833,6 +964,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)
@@ -841,22 +974,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -866,12 +1003,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(); } @@ -880,27 +1018,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,6 +1053,4 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java index f75a8b07cda0..90bbc28f3afd 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java index bd257c8b6014..5f3436a16eba 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java +++ b/java-asset/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,49 +28,56 @@
  *
  * 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;
   }
-  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)
@@ -65,10 +89,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)
@@ -80,12 +107,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].
@@ -107,11 +136,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].
@@ -133,10 +168,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].
@@ -158,10 +198,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].
@@ -183,11 +227,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].
@@ -209,27 +260,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(); @@ -237,34 +295,40 @@ 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; } - 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]
@@ -272,10 +336,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]
@@ -283,32 +350,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].
@@ -319,54 +394,64 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object attachedResource_ = ""; /** + * + * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -374,6 +459,7 @@ protected java.lang.Object newInstance(
        * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -382,14 +468,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]
@@ -397,16 +484,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 { @@ -417,12 +503,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 @@ -430,12 +519,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 @@ -443,6 +535,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].
@@ -456,6 +550,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -467,8 +562,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_);
         }
@@ -488,8 +582,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 += getUnknownFields().getSerializedSize();
         memoizedSize = size;
@@ -499,19 +592,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
         return true;
@@ -535,88 +633,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
@@ -626,39 +753,46 @@ 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() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -673,19 +807,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); } @@ -693,22 +834,31 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + 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); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo result) { + private void buildPartial0( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attachedResource_ = attachedResource_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.policy_ = policyBuilder_ == null - ? policy_ - : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); } } @@ -716,46 +866,60 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPolicie public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; bitField0_ |= 0x00000001; @@ -790,24 +954,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - attachedResource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + attachedResource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -817,10 +982,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object attachedResource_ = ""; /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -828,13 +996,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; @@ -843,6 +1011,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -850,15 +1020,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 { @@ -866,6 +1035,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -873,18 +1044,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedResource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -892,6 +1067,7 @@ public Builder setAttachedResource(
          * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -901,6 +1077,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -908,12 +1086,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedResource_ = value; bitField0_ |= 0x00000001; @@ -923,26 +1103,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
          * 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() { @@ -953,6 +1142,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].
@@ -974,6 +1165,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].
@@ -981,8 +1174,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();
           } else {
@@ -993,6 +1185,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].
@@ -1002,9 +1196,9 @@ public Builder setPolicy(
          */
         public Builder mergePolicy(com.google.iam.v1.Policy value) {
           if (policyBuilder_ == null) {
-            if (((bitField0_ & 0x00000002) != 0) &&
-              policy_ != null &&
-              policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+            if (((bitField0_ & 0x00000002) != 0)
+                && policy_ != null
+                && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
               getPolicyBuilder().mergeFrom(value);
             } else {
               policy_ = value;
@@ -1017,6 +1211,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].
@@ -1035,6 +1231,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].
@@ -1048,6 +1246,8 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
           return getPolicyFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1059,11 +1259,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].
@@ -1072,18 +1273,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) {
@@ -1096,41 +1301,48 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public PolicyInfo parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              Builder builder = newBuilder();
+              try {
+                builder.mergeFrom(input, extensionRegistry);
+              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+                throw e.setUnfinishedMessage(builder.buildPartial());
+              } catch (com.google.protobuf.UninitializedMessageException e) {
+                throw e.asInvalidProtocolBufferException()
+                    .setUnfinishedMessage(builder.buildPartial());
+              } catch (java.io.IOException e) {
+                throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                    .setUnfinishedMessage(builder.buildPartial());
+              }
+              return builder.buildPartial();
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -1142,16 +1354,20 @@ 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;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object fullResourceName_ = "";
     /**
+     *
+     *
      * 
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1163,6 +1379,7 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -1171,14 +1388,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)
@@ -1190,16 +1408,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 { @@ -1208,9 +1425,15 @@ public java.lang.String getFullResourceName() { } public static final int POLICIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - 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].
@@ -1232,13 +1455,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].
@@ -1260,14 +1490,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].
@@ -1289,13 +1526,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].
@@ -1317,13 +1558,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].
@@ -1345,15 +1592,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; @@ -1365,8 +1616,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_); } @@ -1386,8 +1636,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1397,17 +1646,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1430,88 +1680,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 @@ -1521,39 +1785,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() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1570,19 +1840,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); } @@ -1590,15 +1864,22 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + result) { if (policiesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { policies_ = java.util.Collections.unmodifiableList(policies_); @@ -1610,7 +1891,9 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffect } } - private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result) { + private void buildPartial0( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; @@ -1621,46 +1904,56 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPolicie public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; bitField0_ |= 0x00000001; @@ -1684,9 +1977,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesR policiesBuilder_ = null; policies_ = other.policies_; bitField0_ = (bitField0_ & ~0x00000002); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPoliciesFieldBuilder() : null; + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPoliciesFieldBuilder() + : null; } else { policiesBuilder_.addAllMessages(other.policies_); } @@ -1718,30 +2012,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo m = - input.readMessage( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.parser(), - extensionRegistry); - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(m); - } else { - policiesBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + m = + input.readMessage( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy.PolicyInfo.parser(), + extensionRegistry); + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(m); + } else { + policiesBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1751,10 +2051,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1766,13 +2069,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; @@ -1781,6 +2084,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1792,15 +2097,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 { @@ -1808,6 +2112,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1819,18 +2125,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1842,6 +2152,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1851,6 +2162,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1862,12 +2175,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -1875,19 +2190,33 @@ public Builder setFullResourceNameBytes( 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_ & 0x00000002) != 0)) { - policies_ = new java.util.ArrayList(policies_); + policies_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo>(policies_); bitField0_ |= 0x00000002; - } + } } 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].
@@ -1909,9 +2238,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 { @@ -1919,6 +2253,8 @@ public java.util.List * The effective policies for the * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]. @@ -1940,7 +2276,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) { @@ -1950,6 +2288,8 @@ public int getPoliciesCount() { } } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1971,9 +2311,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 { @@ -1981,6 +2325,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].
@@ -2002,10 +2348,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(); @@ -2019,6 +2370,8 @@ public Builder setPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2040,10 +2393,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()); @@ -2054,6 +2412,8 @@ public Builder setPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2075,9 +2435,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(); @@ -2091,6 +2456,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].
@@ -2112,10 +2479,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(); @@ -2129,6 +2501,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2150,10 +2524,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()); @@ -2164,6 +2542,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2185,10 +2565,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()); @@ -2199,6 +2584,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2220,14 +2607,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); @@ -2235,6 +2627,8 @@ public Builder addAllPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2256,7 +2650,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) { @@ -2269,6 +2665,8 @@ public Builder clearPolicies() { return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2290,7 +2688,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) { @@ -2303,6 +2703,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].
@@ -2324,13 +2726,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].
@@ -2352,16 +2759,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].
@@ -2383,10 +2796,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 { @@ -2394,6 +2812,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].
@@ -2415,13 +2835,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].
@@ -2443,14 +2871,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].
@@ -2472,26 +2908,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_ & 0x00000002) != 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_ & 0x00000002) != 0), getParentForChildren(), isClean()); policies_ = null; } return policiesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2504,41 +2954,46 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EffectiveIamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2550,16 +3005,21 @@ 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; + @SuppressWarnings("serial") - 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
@@ -2569,13 +3029,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
@@ -2585,14 +3051,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
@@ -2602,13 +3075,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
@@ -2618,13 +3095,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
@@ -2634,15 +3116,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; @@ -2654,8 +3139,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)); } @@ -2669,8 +3153,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2680,15 +3163,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2710,96 +3193,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].
@@ -2807,33 +3298,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2849,13 +3339,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();
     }
 
@@ -2870,14 +3361,18 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
       if (policyResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           policyResults_ = java.util.Collections.unmodifiableList(policyResults_);
@@ -2889,7 +3384,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.BatchGetEffect
       }
     }
 
-    private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
+    private void buildPartial0(
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result) {
       int from_bitField0_ = bitField0_;
     }
 
@@ -2897,38 +3393,39 @@ private void buildPartial0(com.google.cloud.asset.v1.BatchGetEffectiveIamPolicie
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -2936,7 +3433,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()) {
@@ -2955,9 +3454,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_);
           }
@@ -2989,25 +3489,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.parser(),
-                      extensionRegistry);
-              if (policyResultsBuilder_ == null) {
-                ensurePolicyResultsIsMutable();
-                policyResults_.add(m);
-              } else {
-                policyResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                    m =
+                        input.readMessage(
+                            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+                                .EffectiveIamPolicy.parser(),
+                            extensionRegistry);
+                if (policyResultsBuilder_ == null) {
+                  ensurePolicyResultsIsMutable();
+                  policyResults_.add(m);
+                } else {
+                  policyResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3017,21 +3521,34 @@ public Builder mergeFrom(
       } // finally
       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
@@ -3041,9 +3558,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 { @@ -3051,6 +3572,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 @@ -3060,7 +3583,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) { @@ -3070,6 +3595,8 @@ public int getPolicyResultsCount() { } } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3079,9 +3606,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 { @@ -3089,6 +3619,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
@@ -3098,10 +3630,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(); @@ -3115,6 +3650,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
@@ -3124,10 +3661,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()); @@ -3138,6 +3679,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
@@ -3147,9 +3690,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(); @@ -3163,6 +3709,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
@@ -3172,10 +3720,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(); @@ -3189,6 +3740,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
@@ -3198,10 +3751,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()); @@ -3212,6 +3768,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
@@ -3221,10 +3779,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()); @@ -3235,6 +3797,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
@@ -3244,14 +3808,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); @@ -3259,6 +3828,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
@@ -3268,7 +3839,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) { @@ -3281,6 +3854,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
@@ -3290,7 +3865,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) { @@ -3303,6 +3880,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
@@ -3312,13 +3891,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
@@ -3328,16 +3911,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
@@ -3347,10 +3936,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 { @@ -3358,6 +3952,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
@@ -3367,13 +3963,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
@@ -3383,14 +3986,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
@@ -3400,18 +4010,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(), @@ -3420,9 +4044,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); } @@ -3432,41 +4056,43 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3478,9 +4104,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java index 55cd6994abb1..8a5e5c2540f8 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java similarity index 81% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java index f2ba07fc962f..4ce3260791b4 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -65,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -73,14 +96,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
@@ -93,16 +117,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 { @@ -111,9 +134,12 @@ public java.lang.String getDataset() { } public static final int TABLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -121,6 +147,7 @@ public java.lang.String getDataset() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -129,14 +156,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
@@ -144,16 +172,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 { @@ -164,6 +191,8 @@ public java.lang.String getTable() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_ = false; /** + * + * *
    * 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
@@ -172,6 +201,7 @@ public java.lang.String getTable() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -182,6 +212,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.
@@ -201,6 +233,7 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -208,6 +241,8 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -227,13 +262,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.
@@ -256,12 +296,16 @@ public com.google.cloud.asset.v1.PartitionSpec getPartitionSpec() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilder() {
-    return partitionSpec_ == null ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_;
+    return partitionSpec_ == null
+        ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()
+        : partitionSpec_;
   }
 
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_ = false;
   /**
+   *
+   *
    * 
    * 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
@@ -290,6 +334,7 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -298,6 +343,7 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,8 +355,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_); } @@ -342,16 +387,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -361,26 +403,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -397,144 +435,148 @@ 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) + getUnknownFields().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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +594,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 @@ -573,8 +615,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.BigQueryDestination result = + new com.google.cloud.asset.v1.BigQueryDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -591,9 +636,8 @@ private void buildPartial0(com.google.cloud.asset.v1.BigQueryDestination result) result.force_ = force_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.partitionSpec_ = partitionSpecBuilder_ == null - ? partitionSpec_ - : partitionSpecBuilder_.build(); + result.partitionSpec_ = + partitionSpecBuilder_ == null ? partitionSpec_ : partitionSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.separateTablesPerAssetType_ = separateTablesPerAssetType_; @@ -604,38 +648,39 @@ private void buildPartial0(com.google.cloud.asset.v1.BigQueryDestination result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -689,39 +734,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - force_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - input.readMessage( - getPartitionSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - separateTablesPerAssetType_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + force_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getPartitionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + separateTablesPerAssetType_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,10 +780,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dataset_ = ""; /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -747,13 +799,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; @@ -762,6 +814,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -774,15 +828,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 { @@ -790,6 +843,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -802,18 +857,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -826,6 +885,7 @@ public Builder setDataset(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -835,6 +895,8 @@ public Builder clearDataset() { return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -847,12 +909,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -862,6 +926,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
@@ -869,13 +935,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; @@ -884,6 +950,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
@@ -891,15 +959,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 { @@ -907,6 +974,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
@@ -914,18 +983,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000002; 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
@@ -933,6 +1006,7 @@ public Builder setTable(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -942,6 +1016,8 @@ public Builder clearTable() { 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
@@ -949,12 +1025,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000002; @@ -962,8 +1040,10 @@ public Builder setTableBytes( 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
@@ -972,6 +1052,7 @@ public Builder setTableBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -979,6 +1060,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
@@ -987,17 +1070,20 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; bitField0_ |= 0x00000004; 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
@@ -1006,6 +1092,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1017,8 +1104,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.
@@ -1038,12 +1130,15 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1063,16 +1158,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.
@@ -1107,6 +1207,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.
@@ -1139,6 +1241,8 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1161,9 +1265,9 @@ public Builder setPartitionSpec(
      */
     public Builder mergePartitionSpec(com.google.cloud.asset.v1.PartitionSpec value) {
       if (partitionSpecBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          partitionSpec_ != null &&
-          partitionSpec_ != com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && partitionSpec_ != null
+            && partitionSpec_ != com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()) {
           getPartitionSpecBuilder().mergeFrom(value);
         } else {
           partitionSpec_ = value;
@@ -1176,6 +1280,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.
@@ -1207,6 +1313,8 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1233,6 +1341,8 @@ public com.google.cloud.asset.v1.PartitionSpec.Builder getPartitionSpecBuilder()
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1257,11 +1367,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.
@@ -1283,21 +1396,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
@@ -1326,6 +1444,7 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1333,6 +1452,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
@@ -1361,17 +1482,20 @@ 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; bitField0_ |= 0x00000010; 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
@@ -1400,6 +1524,7 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { @@ -1408,9 +1533,9 @@ public Builder clearSeparateTablesPerAssetType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1420,12 +1545,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(); } @@ -1434,27 +1559,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1469,6 +1594,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java similarity index 90% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java index 2b70f211fc51..b5571d295fbd 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java index 8c235ce218b0..e1688440d409 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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.
      * 
@@ -66,6 +88,8 @@ public enum EvaluationValue */ EVALUATION_VALUE_UNSPECIFIED(0), /** + * + * *
      * The evaluation result is `true`.
      * 
@@ -74,6 +98,8 @@ public enum EvaluationValue */ TRUE(1), /** + * + * *
      * The evaluation result is `false`.
      * 
@@ -82,6 +108,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
@@ -95,6 +123,8 @@ public enum EvaluationValue
     ;
 
     /**
+     *
+     *
      * 
      * Reserved for future use.
      * 
@@ -103,6 +133,8 @@ public enum EvaluationValue */ public static final int EVALUATION_VALUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The evaluation result is `true`.
      * 
@@ -111,6 +143,8 @@ public enum EvaluationValue */ public static final int TRUE_VALUE = 1; /** + * + * *
      * The evaluation result is `false`.
      * 
@@ -119,6 +153,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
@@ -129,7 +165,6 @@ public enum EvaluationValue
      */
     public static final int CONDITIONAL_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,40 +189,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);
     }
 
@@ -196,8 +235,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;
@@ -217,30 +255,42 @@ private EvaluationValue(int value) {
   public static final int EVALUATION_VALUE_FIELD_NUMBER = 1;
   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; + * * @return The evaluationValue. */ - @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.forNumber(evaluationValue_); - return result == null ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.forNumber(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; @@ -252,9 +302,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_); } getUnknownFields().writeTo(output); @@ -266,9 +318,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,12 +332,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -304,130 +359,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +498,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 @@ -458,8 +519,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.ConditionEvaluation result = + new com.google.cloud.asset.v1.ConditionEvaluation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -475,38 +539,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ConditionEvaluation result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -544,17 +609,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - evaluationValue_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + evaluationValue_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,26 +631,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. */ @@ -594,28 +669,38 @@ public Builder setEvaluationValueValue(int value) { 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() { - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.forNumber(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.forNumber(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(); } @@ -625,11 +710,14 @@ public Builder setEvaluationValue(com.google.cloud.asset.v1.ConditionEvaluation. return this; } /** + * + * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return This builder for chaining. */ public Builder clearEvaluationValue() { @@ -638,9 +726,9 @@ public Builder clearEvaluationValue() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -650,12 +738,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(); } @@ -664,27 +752,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConditionEvaluation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -699,6 +787,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ConditionEvaluation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java similarity index 55% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java index 999084a21084..316a06ba4cd8 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java index 9c18d28f8423..b266ac01c870 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java +++ b/java-asset/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 organization policy set on an asset.
    * 
@@ -45,6 +69,8 @@ public enum ContentType */ ORG_POLICY(4), /** + * + * *
    * The 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 organization policy set on an asset.
    * 
@@ -104,6 +142,8 @@ public enum ContentType */ public static final int ORG_POLICY_VALUE = 4; /** + * + * *
    * The 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java index fe62efb6de3c..019ae33da5c9 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -70,14 +93,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
@@ -87,16 +111,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 { @@ -105,15 +128,19 @@ public java.lang.String getParent() { } public static final int FEED_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -122,30 +149,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 { @@ -156,6 +183,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
@@ -164,6 +193,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 @@ -171,6 +201,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
@@ -179,6 +211,7 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ @java.lang.Override @@ -186,6 +219,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
@@ -201,6 +236,7 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -212,8 +248,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_);
     }
@@ -239,8 +274,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -250,21 +284,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,130 +322,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +467,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 @@ -450,8 +488,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.CreateFeedRequest result = + new com.google.cloud.asset.v1.CreateFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -465,9 +506,7 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateFeedRequest result) { result.feedId_ = feedId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.feed_ = feedBuilder_ == null - ? feed_ - : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); } } @@ -475,38 +514,39 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateFeedRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -554,29 +594,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - feedId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getFeedFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + feedId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,10 +628,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -599,13 +644,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; @@ -614,6 +659,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
@@ -623,15 +670,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 { @@ -639,6 +685,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
@@ -648,18 +696,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -669,6 +721,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -678,6 +731,8 @@ public Builder clearParent() { 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
@@ -687,12 +742,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -702,19 +759,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; @@ -723,21 +782,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 { @@ -745,30 +805,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFeedId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } feedId_ = value; bitField0_ |= 0x00000002; 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() { @@ -778,18 +845,22 @@ public Builder clearFeedId() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); feedId_ = value; bitField0_ |= 0x00000002; @@ -799,8 +870,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
@@ -809,12 +885,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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
@@ -823,6 +902,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() { @@ -833,6 +913,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
@@ -856,6 +938,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
@@ -865,8 +949,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();
       } else {
@@ -877,6 +960,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
@@ -888,9 +973,9 @@ public Builder setFeed(
      */
     public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       if (feedBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          feed_ != null &&
-          feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && feed_ != null
+            && feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
           getFeedBuilder().mergeFrom(value);
         } else {
           feed_ = value;
@@ -903,6 +988,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
@@ -923,6 +1010,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
@@ -938,6 +1027,8 @@ public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
       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
@@ -951,11 +1042,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
@@ -966,21 +1058,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);
     }
 
@@ -990,12 +1085,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();
   }
@@ -1004,27 +1099,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CreateFeedRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1039,6 +1134,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.CreateFeedRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
index 0de45d4c94de..ff53a396bb64 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
similarity index 67%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
index d958b02015f9..c1f52328c651 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
+++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -61,7 +83,10 @@ protected java.lang.Object newInstance(
    * "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 @@ -70,14 +95,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
@@ -86,17 +112,18 @@ public java.lang.String getParent() {
    * "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 { @@ -107,12 +134,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 @@ -120,35 +152,51 @@ 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() { - return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } public static final int SAVED_QUERY_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -160,6 +208,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 @@ -168,14 +217,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
@@ -187,16 +237,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 { @@ -205,6 +254,7 @@ public java.lang.String getSavedQueryId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -240,8 +289,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_); @@ -254,22 +302,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -295,129 +341,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -433,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_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 @@ -454,8 +506,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.CreateSavedQueryRequest result = + new com.google.cloud.asset.v1.CreateSavedQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -466,9 +521,7 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateSavedQueryRequest res result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.savedQuery_ = savedQueryBuilder_ == null - ? savedQuery_ - : savedQueryBuilder_.build(); + result.savedQuery_ = savedQueryBuilder_ == null ? savedQuery_ : savedQueryBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.savedQueryId_ = savedQueryId_; @@ -479,38 +532,39 @@ private void buildPartial0(com.google.cloud.asset.v1.CreateSavedQueryRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -518,7 +572,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_; bitField0_ |= 0x00000001; @@ -558,29 +613,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSavedQueryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - savedQueryId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getSavedQueryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + savedQueryId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -590,10 +647,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -602,14 +662,16 @@ public Builder mergeFrom(
      * "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; @@ -618,6 +680,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
@@ -626,16 +690,17 @@ public java.lang.String getParent() {
      * "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 { @@ -643,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
@@ -651,19 +718,25 @@ public java.lang.String getParent() {
      * "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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -672,7 +745,10 @@ public Builder setParent(
      * "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() { @@ -682,6 +758,8 @@ public Builder clearParent() { 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
@@ -690,13 +768,17 @@ public Builder clearParent() {
      * "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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,42 +788,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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) { @@ -757,15 +858,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(); } else { @@ -776,18 +880,22 @@ 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 (((bitField0_ & 0x00000002) != 0) && - savedQuery_ != null && - savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && savedQuery_ != null + && savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { getSavedQueryBuilder().mergeFrom(value); } else { savedQuery_ = value; @@ -800,12 +908,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -818,12 +930,16 @@ 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() { bitField0_ |= 0x00000002; @@ -831,38 +947,50 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { 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_; @@ -870,6 +998,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
@@ -881,13 +1011,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; @@ -896,6 +1026,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
@@ -907,15 +1039,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 { @@ -923,6 +1054,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
@@ -934,18 +1067,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSavedQueryId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } savedQueryId_ = value; bitField0_ |= 0x00000004; 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
@@ -957,6 +1094,7 @@ public Builder setSavedQueryId(
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSavedQueryId() { @@ -966,6 +1104,8 @@ public Builder clearSavedQueryId() { 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
@@ -977,21 +1117,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSavedQueryIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); savedQueryId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1001,12 +1143,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(); } @@ -1015,27 +1157,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1050,6 +1192,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.CreateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java index 968203b54d36..139231bdb7e6 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java +++ b/java-asset/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
    * "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
    * "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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java similarity index 62% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java index 32b7c43bcac0..c50b2ed1c9d9 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java @@ -1,53 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; + @SuppressWarnings("serial") 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
@@ -55,7 +73,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -64,14 +85,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
@@ -79,17 +101,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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +133,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_); } @@ -134,15 +157,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,126 +184,128 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +315,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 @@ -311,8 +336,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.DeleteFeedRequest result = + new com.google.cloud.asset.v1.DeleteFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +356,39 @@ private void buildPartial0(com.google.cloud.asset.v1.DeleteFeedRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -399,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,10 +450,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -430,14 +464,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; @@ -446,6 +482,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
@@ -453,16 +491,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 { @@ -470,6 +509,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
@@ -477,19 +518,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -497,7 +544,10 @@ 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() { @@ -507,6 +557,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -514,22 +566,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +595,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(); } @@ -553,27 +609,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +644,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000000..8212768a5565 --- /dev/null +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java similarity index 64% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java index a850aa8bd682..b733540f04bb 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * * 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 @@ -69,14 +94,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:
@@ -85,17 +111,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 { @@ -104,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +143,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_); } @@ -140,15 +167,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,129 +195,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -300,9 +333,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 @@ -321,8 +354,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.DeleteSavedQueryRequest result = + new com.google.cloud.asset.v1.DeleteSavedQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -338,38 +374,39 @@ private void buildPartial0(com.google.cloud.asset.v1.DeleteSavedQueryRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -377,7 +414,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_; bitField0_ |= 0x00000001; @@ -409,17 +447,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -429,10 +469,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -441,14 +484,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; @@ -457,6 +502,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -465,16 +512,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 { @@ -482,6 +530,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -490,19 +540,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -511,7 +567,10 @@ 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() { @@ -521,6 +580,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -529,22 +590,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -554,12 +619,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(); } @@ -568,27 +633,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,6 +668,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java index 80e6bbfad869..eba137a41a0a 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java similarity index 79% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java index 459fde788330..2a0a053db434 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java +++ b/java-asset/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,33 +46,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -62,7 +84,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -71,14 +96,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
@@ -86,17 +112,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 { @@ -107,6 +134,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).
@@ -116,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -123,6 +153,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).
@@ -132,6 +164,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -139,6 +172,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).
@@ -155,9 +190,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -176,13 +214,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".
@@ -201,12 +241,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".
@@ -225,6 +268,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. */ @@ -232,6 +276,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".
@@ -250,51 +296,65 @@ 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_ = 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; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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 @@ -302,35 +362,51 @@ 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() { - return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -350,13 +426,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
@@ -376,12 +454,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
@@ -401,6 +482,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. */ @@ -408,6 +490,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
@@ -427,15 +511,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; @@ -447,8 +532,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_); } @@ -458,7 +542,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) { @@ -480,8 +565,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; @@ -491,13 +575,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; @@ -515,30 +598,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -575,130 +654,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -723,9 +808,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 @@ -744,9 +829,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -770,17 +858,14 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsRequest result) result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.outputConfig_ = outputConfigBuilder_ == null - ? outputConfig_ - : outputConfigBuilder_.build(); + result.outputConfig_ = + outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); } } @@ -788,38 +873,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -888,48 +974,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - input.readMessage( - getOutputConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: + { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -939,10 +1028,13 @@ public Builder mergeFrom( } // finally 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
@@ -950,14 +1042,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; @@ -966,6 +1060,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
@@ -973,16 +1069,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 { @@ -990,6 +1087,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
@@ -997,19 +1096,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1017,7 +1122,10 @@ 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() { @@ -1027,6 +1135,8 @@ public Builder clearParent() { 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
@@ -1034,13 +1144,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1050,8 +1164,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).
@@ -1061,12 +1180,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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).
@@ -1076,6 +1198,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1086,6 +1209,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).
@@ -1110,6 +1235,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).
@@ -1120,8 +1247,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();
       } else {
@@ -1132,6 +1258,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).
@@ -1144,9 +1272,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1159,6 +1287,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).
@@ -1180,6 +1310,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).
@@ -1196,6 +1328,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1210,11 +1344,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).
@@ -1226,27 +1361,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1265,13 +1407,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".
@@ -1290,12 +1434,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".
@@ -1314,6 +1461,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. */ @@ -1321,6 +1469,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".
@@ -1339,14 +1489,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".
@@ -1365,19 +1517,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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".
@@ -1396,18 +1552,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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".
@@ -1426,18 +1586,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".
@@ -1456,6 +1617,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1465,6 +1627,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1483,12 +1647,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1498,24 +1664,31 @@ 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. */ @@ -1526,26 +1699,33 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1559,12 +1739,15 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1576,42 +1759,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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) { @@ -1627,15 +1829,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(); } else { @@ -1646,18 +1851,22 @@ 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 (((bitField0_ & 0x00000010) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && outputConfig_ != null + && outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -1670,12 +1879,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1688,12 +1901,16 @@ 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() { bitField0_ |= 0x00000010; @@ -1701,51 +1918,67 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { 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_ & 0x00000020) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1765,13 +1998,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
@@ -1791,12 +2026,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
@@ -1816,6 +2054,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. */ @@ -1823,6 +2062,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
@@ -1842,14 +2083,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
@@ -1869,19 +2112,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1901,18 +2148,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1932,18 +2183,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
@@ -1963,6 +2215,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -1972,6 +2225,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
@@ -1991,21 +2246,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -2015,12 +2272,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(); } @@ -2029,27 +2286,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2064,6 +2321,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java index 46cabddf1f1e..01284605acd9 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java index 8f4176b986fb..299dcae3866d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java +++ b/java-asset/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,51 +31,55 @@
  *
  * 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;
   }
-  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 @@ -66,11 +87,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -78,6 +102,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -92,11 +118,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 @@ -104,18 +133,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.
    * 
@@ -124,12 +160,16 @@ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } 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 Cloud Storage object URIs where the assets are exported to.
@@ -139,6 +179,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 @@ -146,6 +187,8 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -155,13 +198,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 Cloud Storage object URIs where the assets are exported to.
@@ -174,10 +222,13 @@ public com.google.cloud.asset.v1.OutputResult getOutputResult() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder() {
-    return outputResult_ == null ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_;
+    return outputResult_ == null
+        ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance()
+        : outputResult_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -189,8 +240,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (readTime_ != null) {
       output.writeMessage(1, getReadTime());
     }
@@ -210,16 +260,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -229,27 +276,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -279,97 +324,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]
@@ -380,33 +432,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +481,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
@@ -451,8 +502,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.ExportAssetsResponse result =
+          new com.google.cloud.asset.v1.ExportAssetsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -460,19 +514,15 @@ public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.outputConfig_ = outputConfigBuilder_ == null
-            ? outputConfig_
-            : outputConfigBuilder_.build();
+        result.outputConfig_ =
+            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.outputResult_ = outputResultBuilder_ == null
-            ? outputResult_
-            : outputResultBuilder_.build();
+        result.outputResult_ =
+            outputResultBuilder_ == null ? outputResult_ : outputResultBuilder_.build();
       }
     }
 
@@ -480,38 +530,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsResponse result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -555,33 +606,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOutputConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getOutputResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getOutputResultFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -591,28 +640,38 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -623,6 +682,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -643,14 +704,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(); } else { @@ -661,6 +723,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -669,9 +733,9 @@ public Builder setReadTime( */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - readTime_ != null && - readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && readTime_ != null + && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -684,6 +748,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -701,6 +767,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -713,6 +781,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -723,11 +793,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.
      * 
@@ -735,14 +806,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_; @@ -750,34 +824,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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.
      * 
@@ -798,14 +885,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(); } else { @@ -816,6 +904,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -824,9 +914,9 @@ public Builder setOutputConfig( */ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && outputConfig_ != null + && outputConfig_ != com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -839,6 +929,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -856,6 +948,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -868,6 +962,8 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -878,11 +974,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.
      * 
@@ -890,14 +989,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_; @@ -905,8 +1007,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 Cloud Storage object URIs where the assets are exported to.
@@ -916,12 +1023,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -931,16 +1041,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 Cloud Storage object URIs where the assets are exported to.
@@ -965,6 +1080,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 Cloud Storage object URIs where the assets are exported to.
@@ -975,8 +1092,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();
       } else {
@@ -987,6 +1103,8 @@ public Builder setOutputResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -999,9 +1117,9 @@ public Builder setOutputResult(
      */
     public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       if (outputResultBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          outputResult_ != null &&
-          outputResult_ != com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && outputResult_ != null
+            && outputResult_ != com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) {
           getOutputResultBuilder().mergeFrom(value);
         } else {
           outputResult_ = value;
@@ -1014,6 +1132,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 Cloud Storage object URIs where the assets are exported to.
@@ -1035,6 +1155,8 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -1051,6 +1173,8 @@ public com.google.cloud.asset.v1.OutputResult.Builder getOutputResultBuilder() {
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are exported to.
@@ -1065,11 +1189,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 Cloud Storage object URIs where the assets are exported to.
@@ -1081,21 +1208,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);
     }
 
@@ -1105,12 +1235,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();
   }
@@ -1119,27 +1249,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExportAssetsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1154,6 +1284,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
index ce36f5c20b45..62697c8d889d 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
+++ b/java-asset/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 Cloud Storage object URIs where the assets are exported to.
@@ -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 Cloud Storage object URIs where the assets are exported to.
@@ -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 Cloud Storage object URIs where the assets are exported to.
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
similarity index 81%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
index 92ba5086d5a6..2024eaf76889 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
+++ b/java-asset/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,33 +51,36 @@ 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;
   }
-  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);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -78,14 +100,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
@@ -96,16 +119,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 { @@ -114,9 +136,12 @@ public java.lang.String getName() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -128,13 +153,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
@@ -146,12 +173,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
@@ -163,6 +193,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. */ @@ -170,6 +201,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
@@ -181,18 +214,21 @@ 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; + @SuppressWarnings("serial") 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
@@ -203,13 +239,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
@@ -220,12 +258,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
@@ -236,6 +277,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. */ @@ -243,6 +285,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
@@ -253,51 +297,65 @@ 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_ = 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; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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 @@ -305,34 +363,49 @@ 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() { - return feedOutputConfig_ == null ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } 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
@@ -348,6 +421,7 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
    * 
* * .google.type.Expr condition = 6; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -355,6 +429,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
@@ -370,6 +446,7 @@ public boolean hasCondition() {
    * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ @java.lang.Override @@ -377,6 +454,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
@@ -399,9 +478,12 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
   }
 
   public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   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
@@ -422,13 +504,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
@@ -449,12 +533,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
@@ -475,6 +562,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. */ @@ -482,6 +570,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
@@ -502,15 +592,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; @@ -522,8 +613,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_); } @@ -533,7 +623,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) { @@ -573,17 +664,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; @@ -601,32 +690,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -667,97 +750,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.
@@ -768,33 +857,31 @@ 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);
     }
 
     // Construct using com.google.cloud.asset.v1.Feed.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -821,9 +908,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
@@ -844,7 +931,9 @@ public com.google.cloud.asset.v1.Feed build() {
     public com.google.cloud.asset.v1.Feed buildPartial() {
       com.google.cloud.asset.v1.Feed result = new com.google.cloud.asset.v1.Feed(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -876,14 +965,11 @@ private void buildPartial0(com.google.cloud.asset.v1.Feed result) {
         result.contentType_ = contentType_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.feedOutputConfig_ = feedOutputConfigBuilder_ == null
-            ? feedOutputConfig_
-            : feedOutputConfigBuilder_.build();
+        result.feedOutputConfig_ =
+            feedOutputConfigBuilder_ == null ? feedOutputConfig_ : feedOutputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.condition_ = conditionBuilder_ == null
-            ? condition_
-            : conditionBuilder_.build();
+        result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
       }
     }
 
@@ -891,38 +977,39 @@ private void buildPartial0(com.google.cloud.asset.v1.Feed result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1001,54 +1088,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAssetNamesIsMutable();
-              assetNames_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAssetTypesIsMutable();
-              assetTypes_.add(s);
-              break;
-            } // case 26
-            case 32: {
-              contentType_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getFeedOutputConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureRelationshipTypesIsMutable();
-              relationshipTypes_.add(s);
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAssetNamesIsMutable();
+                assetNames_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAssetTypesIsMutable();
+                assetTypes_.add(s);
+                break;
+              } // case 26
+            case 32:
+              {
+                contentType_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getFeedOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRelationshipTypesIsMutable();
+                relationshipTypes_.add(s);
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1058,10 +1150,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1072,13 +1167,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; @@ -1087,6 +1182,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1097,15 +1194,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 { @@ -1113,6 +1209,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1123,18 +1221,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1145,6 +1247,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1154,6 +1257,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1164,12 +1269,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1177,14 +1284,18 @@ public Builder setNameBytes( 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_ & 0x00000002) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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
@@ -1196,13 +1307,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
@@ -1214,12 +1327,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
@@ -1231,6 +1347,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. */ @@ -1238,6 +1355,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
@@ -1249,14 +1368,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
@@ -1268,19 +1389,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetNames(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1292,18 +1417,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetNames(java.lang.String value) { + if (value == null) { + 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
@@ -1315,18 +1444,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
@@ -1338,6 +1468,7 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1347,6 +1478,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
@@ -1358,12 +1491,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); @@ -1371,14 +1506,18 @@ public Builder addAssetNamesBytes( 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * 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
@@ -1389,13 +1528,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
@@ -1406,12 +1547,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
@@ -1422,6 +1566,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. */ @@ -1429,6 +1574,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
@@ -1439,14 +1586,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
@@ -1457,19 +1606,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1480,18 +1633,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1502,18 +1659,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
@@ -1524,6 +1682,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1533,6 +1692,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
@@ -1543,12 +1704,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1558,24 +1721,31 @@ 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. */ @@ -1586,26 +1756,33 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1619,12 +1796,15 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1636,42 +1816,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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) { @@ -1687,12 +1886,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) { @@ -1706,18 +1909,23 @@ 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 (((bitField0_ & 0x00000010) != 0) && - feedOutputConfig_ != null && - feedOutputConfig_ != com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && feedOutputConfig_ != null + && feedOutputConfig_ + != com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance()) { getFeedOutputConfigBuilder().mergeFrom(value); } else { feedOutputConfig_ = value; @@ -1730,12 +1938,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1748,12 +1960,16 @@ 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() { bitField0_ |= 0x00000010; @@ -1761,38 +1977,50 @@ public com.google.cloud.asset.v1.FeedOutputConfig.Builder getFeedOutputConfigBui 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_; @@ -1800,8 +2028,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
@@ -1817,12 +2048,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 ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -1838,6 +2072,7 @@ public boolean hasCondition() {
      * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -1848,6 +2083,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
@@ -1878,6 +2115,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
@@ -1894,8 +2133,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();
       } else {
@@ -1906,6 +2144,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
@@ -1924,9 +2164,9 @@ public Builder setCondition(
      */
     public Builder mergeCondition(com.google.type.Expr value) {
       if (conditionBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          condition_ != null &&
-          condition_ != com.google.type.Expr.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && condition_ != null
+            && condition_ != com.google.type.Expr.getDefaultInstance()) {
           getConditionBuilder().mergeFrom(value);
         } else {
           condition_ = value;
@@ -1939,6 +2179,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
@@ -1966,6 +2208,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
@@ -1988,6 +2232,8 @@ public com.google.type.Expr.Builder getConditionBuilder() {
       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
@@ -2008,11 +2254,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
@@ -2030,27 +2277,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_ & 0x00000040) != 0)) {
         relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_);
         bitField0_ |= 0x00000040;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2071,13 +2321,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
@@ -2098,12 +2350,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
@@ -2124,6 +2379,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. */ @@ -2131,6 +2387,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
@@ -2151,14 +2409,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
@@ -2179,19 +2439,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -2212,18 +2476,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypes(java.lang.String value) { + if (value == null) { + 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
@@ -2244,18 +2512,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
@@ -2276,6 +2545,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2285,6 +2555,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
@@ -2305,21 +2577,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -2329,12 +2603,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(); } @@ -2343,27 +2617,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2378,6 +2652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java similarity index 100% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java similarity index 89% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java index 1086910dc923..3a9a8f7e2632 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java similarity index 68% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java index e76d51e489bc..8c94e8411aed 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; } @@ -70,29 +91,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 @@ -100,21 +126,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.
    * 
@@ -124,12 +155,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; @@ -141,8 +173,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_); } @@ -156,8 +187,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +199,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: @@ -207,130 +239,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,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_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 @@ -365,8 +403,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.FeedOutputConfig result = + new com.google.cloud.asset.v1.FeedOutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -379,8 +420,7 @@ private void buildPartial0(com.google.cloud.asset.v1.FeedOutputConfig result) { private void buildPartialOneofs(com.google.cloud.asset.v1.FeedOutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && - pubsubDestinationBuilder_ != null) { + if (destinationCase_ == 1 && pubsubDestinationBuilder_ != null) { result.destination_ = pubsubDestinationBuilder_.build(); } } @@ -389,38 +429,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.FeedOutputConfig resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -430,13 +471,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.getUnknownFields()); onChanged(); @@ -464,19 +507,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPubsubDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getPubsubDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,12 +530,12 @@ public Builder mergeFrom( } // finally 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() { @@ -504,13 +548,19 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -518,11 +568,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 @@ -540,6 +593,8 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -560,6 +615,8 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1.PubsubDestination return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -578,6 +635,8 @@ public Builder setPubsubDestination( return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -586,10 +645,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; } @@ -605,6 +667,8 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestinatio return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -628,6 +692,8 @@ public Builder clearPubsubDestination() { return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -638,6 +704,8 @@ public com.google.cloud.asset.v1.PubsubDestination.Builder getPubsubDestinationB return getPubsubDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -656,6 +724,8 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -663,14 +733,19 @@ 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()); @@ -680,9 +755,9 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination 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); } @@ -692,12 +767,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(); } @@ -706,27 +781,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +816,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java similarity index 61% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java index ac8bae6335c6..4d58fa3e40f0 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java similarity index 100% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java similarity index 75% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java index 60b6c02ff59d..0e13b33240c8 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java @@ -1,61 +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; /** + * + * *
  * 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; } - 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; } @@ -71,25 +92,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
@@ -102,12 +128,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
@@ -120,6 +149,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -130,8 +160,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; @@ -140,6 +169,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
@@ -152,18 +183,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; } @@ -175,6 +205,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:
@@ -188,12 +220,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:
@@ -207,6 +242,7 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -217,8 +253,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; @@ -227,6 +262,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:
@@ -240,18 +277,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; } @@ -262,6 +298,7 @@ public java.lang.String getUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +310,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_); } @@ -304,7 +340,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); @@ -314,12 +350,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: @@ -352,130 +386,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +526,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 @@ -507,8 +547,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.GcsDestination result = + new com.google.cloud.asset.v1.GcsDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -527,38 +570,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.GcsDestination result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -568,21 +612,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.getUnknownFields()); onChanged(); @@ -610,24 +657,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -637,12 +687,12 @@ public Builder mergeFrom( } // finally 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() { @@ -655,6 +705,8 @@ public Builder clearObjectUri() { private int bitField0_; /** + * + * *
      * 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
@@ -667,6 +719,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -674,6 +727,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
@@ -686,6 +741,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -695,8 +751,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; @@ -707,6 +762,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
@@ -719,19 +776,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; } @@ -741,6 +797,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
@@ -753,18 +811,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + 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
@@ -777,6 +839,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -788,6 +851,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,12 +865,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); objectUriCase_ = 1; objectUri_ = value; @@ -814,6 +881,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:
@@ -827,6 +896,7 @@ public Builder setUriBytes(
      * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -834,6 +904,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:
@@ -847,6 +919,7 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ @java.lang.Override @@ -856,8 +929,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; @@ -868,6 +940,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:
@@ -881,19 +955,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; } @@ -903,6 +976,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:
@@ -916,18 +991,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriPrefix(java.lang.String value) { + if (value == null) { + 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:
@@ -941,6 +1020,7 @@ public Builder setUriPrefix(
      * 
* * string uri_prefix = 2; + * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -952,6 +1032,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:
@@ -965,21 +1047,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -989,12 +1073,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(); } @@ -1003,27 +1087,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java similarity index 84% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java index 0786b7825bce..33667bef0680 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java index 233d62e38d0d..89719f6d9000 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java @@ -1,88 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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. */ @@ -90,21 +118,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; @@ -116,8 +147,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)); } @@ -146,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,130 +205,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -309,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_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 @@ -330,9 +366,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -353,38 +392,39 @@ private void buildPartial0(com.google.cloud.asset.v1.GcsOutputResult result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -429,18 +469,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,47 +492,58 @@ public Builder mergeFrom( } // finally 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. */ @@ -498,81 +551,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUris(int index, java.lang.String value) { + if (value == null) { + 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addUris(java.lang.String value) { + if (value == null) { + 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() { @@ -582,27 +649,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -612,12 +683,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(); } @@ -626,27 +697,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,6 +732,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java similarity index 62% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java index e1f765036b18..d6fce58aad33 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java similarity index 63% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java index b353d52ef1f7..18df0bfd799a 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -68,14 +93,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
@@ -83,17 +109,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 { @@ -102,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +141,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_); } @@ -138,15 +165,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,130 +191,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,9 +330,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 @@ -319,8 +351,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.GetFeedRequest result = + new com.google.cloud.asset.v1.GetFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -336,38 +371,39 @@ private void buildPartial0(com.google.cloud.asset.v1.GetFeedRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -407,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,10 +465,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -438,14 +479,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; @@ -454,6 +497,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
@@ -461,16 +506,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 { @@ -478,6 +524,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
@@ -485,19 +533,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -505,7 +559,10 @@ 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() { @@ -515,6 +572,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -522,22 +581,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,12 +610,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(); } @@ -561,27 +624,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -596,6 +659,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000000..4ed4a558438e --- /dev/null +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java similarity index 64% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java index 9145fe4bca16..4c71c2766186 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * * 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 @@ -68,14 +93,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
@@ -83,17 +109,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 { @@ -102,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +141,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_); } @@ -138,15 +165,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,130 +192,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,9 +331,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 @@ -319,8 +352,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.GetSavedQueryRequest result = + new com.google.cloud.asset.v1.GetSavedQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -336,38 +372,39 @@ private void buildPartial0(com.google.cloud.asset.v1.GetSavedQueryRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -407,17 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,10 +466,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -438,14 +480,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; @@ -454,6 +498,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
@@ -461,16 +507,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 { @@ -478,6 +525,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
@@ -485,19 +534,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -505,7 +560,10 @@ 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() { @@ -515,6 +573,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -522,22 +582,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,12 +611,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(); } @@ -561,27 +625,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -596,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java new file mode 100644 index 000000000000..d22338aace06 --- /dev/null +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java similarity index 66% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java index 35a7c76e23e2..d2950c6caa31 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java @@ -1,57 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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
@@ -64,10 +85,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
@@ -80,60 +104,67 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -146,6 +177,7 @@ protected java.lang.Object newInstance(
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -154,14 +186,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
@@ -174,16 +207,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 { @@ -192,6 +224,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +236,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_); } @@ -228,15 +260,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,87 +289,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 @@ -346,39 +387,43 @@ 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() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,19 +433,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); } @@ -409,13 +457,17 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.uri_ = uri_; @@ -426,46 +478,54 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; bitField0_ |= 0x00000001; @@ -497,17 +557,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - uri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -517,10 +579,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -533,13 +598,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; @@ -548,6 +613,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
@@ -560,15 +627,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 { @@ -576,6 +642,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
@@ -588,18 +656,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uri_ = value; bitField0_ |= 0x00000001; 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
@@ -612,6 +684,7 @@ public Builder setUri(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -621,6 +694,8 @@ public Builder clearUri() { 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
@@ -633,18 +708,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -657,41 +735,45 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -703,17 +785,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
@@ -722,10 +807,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
@@ -734,12 +822,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
@@ -752,10 +842,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
@@ -768,31 +861,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:
@@ -808,10 +914,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:
@@ -827,27 +936,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_ = ""; @@ -857,30 +969,34 @@ 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; } - 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
@@ -888,11 +1004,13 @@ protected java.lang.Object newInstance(
      * 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.
@@ -902,6 +1020,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
@@ -915,6 +1035,8 @@ public enum PartitionKey
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -924,6 +1046,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
@@ -934,7 +1058,6 @@ public enum PartitionKey
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -959,48 +1082,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;
@@ -1018,9 +1143,12 @@ private PartitionKey(int value) {
     }
 
     public static final int DATASET_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object dataset_ = "";
     /**
+     *
+     *
      * 
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1029,6 +1157,7 @@ private PartitionKey(int value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -1037,14 +1166,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
@@ -1053,16 +1183,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 { @@ -1071,9 +1200,12 @@ public java.lang.String getDataset() { } public static final int TABLE_PREFIX_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -1086,6 +1218,7 @@ public java.lang.String getDataset() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tablePrefix. */ @java.lang.Override @@ -1094,14 +1227,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
@@ -1114,16 +1248,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 { @@ -1134,33 +1267,55 @@ public java.lang.String getTablePrefix() { public static final int PARTITION_KEY_FIELD_NUMBER = 3; 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; + * + * * @return The partitionKey. */ - @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.forNumber(partitionKey_); - return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + getPartitionKey() { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + result = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.forNumber(partitionKey_); + return result == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + .UNRECOGNIZED + : result; } public static final int WRITE_DISPOSITION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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:
@@ -1176,6 +1331,7 @@ public java.lang.String getTablePrefix() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The writeDisposition. */ @java.lang.Override @@ -1184,14 +1340,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:
@@ -1207,16 +1364,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 { @@ -1225,6 +1381,7 @@ public java.lang.String getWriteDisposition() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1236,15 +1393,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_)) { @@ -1265,9 +1424,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_); @@ -1280,20 +1441,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1318,88 +1478,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 @@ -1409,39 +1582,43 @@ 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() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1454,19 +1631,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); } @@ -1474,14 +1654,19 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + 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); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataset_ = dataset_; @@ -1501,46 +1686,55 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; bitField0_ |= 0x00000001; @@ -1585,32 +1779,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - tablePrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - partitionKey_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - writeDisposition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tablePrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + partitionKey_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + writeDisposition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1620,10 +1819,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dataset_ = ""; /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1632,13 +1834,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; @@ -1647,6 +1849,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1655,15 +1859,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 { @@ -1671,6 +1874,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1679,18 +1884,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1699,6 +1908,7 @@ public Builder setDataset(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -1708,6 +1918,8 @@ public Builder clearDataset() { return this; } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1716,12 +1928,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -1731,6 +1945,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
@@ -1743,13 +1959,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; @@ -1758,6 +1974,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
@@ -1770,15 +1988,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 { @@ -1786,6 +2003,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
@@ -1798,18 +2017,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTablePrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tablePrefix_ = value; bitField0_ |= 0x00000002; 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
@@ -1822,6 +2045,7 @@ public Builder setTablePrefix(
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -1831,6 +2055,8 @@ public Builder clearTablePrefix() { 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
@@ -1843,12 +2069,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tablePrefix_ = value; bitField0_ |= 0x00000002; @@ -1858,22 +2086,33 @@ 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. */ @@ -1884,28 +2123,48 @@ public Builder setPartitionKeyValue(int value) { 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() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.forNumber(partitionKey_); - return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey + getPartitionKey() { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + result = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.forNumber(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(); } @@ -1915,11 +2174,16 @@ public Builder setPartitionKey(com.google.cloud.asset.v1.IamPolicyAnalysisOutput 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() { @@ -1931,6 +2195,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:
@@ -1946,13 +2212,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; @@ -1961,6 +2227,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:
@@ -1976,15 +2244,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 { @@ -1992,6 +2259,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:
@@ -2007,18 +2276,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteDisposition(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeDisposition_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2034,6 +2307,7 @@ public Builder setWriteDisposition(
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -2043,6 +2317,8 @@ public Builder clearWriteDisposition() { return this; } /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2058,18 +2334,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteDispositionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeDisposition_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2082,41 +2361,45 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2128,21 +2411,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; } @@ -2158,30 +2444,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 @@ -2189,42 +2482,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 @@ -2232,36 +2541,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; @@ -2273,13 +2598,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_); } getUnknownFields().writeTo(output); } @@ -2291,12 +2619,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2306,22 +2640,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: @@ -2355,129 +2688,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2494,9 +2834,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 @@ -2515,8 +2855,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2526,15 +2869,14 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConf int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result) { + private void buildPartialOneofs( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && - gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } - if (destinationCase_ == 2 && - bigqueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && bigqueryDestinationBuilder_ != null) { result.destination_ = bigqueryDestinationBuilder_.build(); } } @@ -2543,38 +2885,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisOutpu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -2582,19 +2925,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.getUnknownFields()); onChanged(); @@ -2622,26 +2969,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2651,12 +2998,12 @@ public Builder mergeFrom( } // finally 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() { @@ -2669,13 +3016,21 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -2683,35 +3038,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(); @@ -2725,14 +3094,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(); @@ -2743,18 +3117,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; } @@ -2770,11 +3155,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) { @@ -2793,50 +3182,74 @@ 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; @@ -2847,13 +3260,21 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrB } 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 @@ -2861,35 +3282,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(); @@ -2903,14 +3338,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(); @@ -2921,18 +3361,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; } @@ -2948,11 +3400,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) { @@ -2971,50 +3427,75 @@ 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; @@ -3023,9 +3504,9 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinati 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); } @@ -3035,12 +3516,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(); } @@ -3049,27 +3530,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3084,6 +3565,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java index 044214c54096..0e02268b9e46 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java index 7b40a8470aa8..3b5cb1bcd02c 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java @@ -1,58 +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; /** + * + * *
  * 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; } - 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)
@@ -61,10 +83,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)
@@ -73,12 +98,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
@@ -87,48 +114,53 @@ 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;
     }
-    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;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object fullResourceName_ = "";
     /**
+     *
+     *
      * 
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -137,6 +169,7 @@ protected java.lang.Object newInstance(
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ @java.lang.Override @@ -145,14 +178,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)
@@ -161,16 +195,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 { @@ -179,6 +212,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +224,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_); } @@ -215,15 +248,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,87 +276,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 @@ -333,6 +374,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
@@ -341,33 +384,34 @@ 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()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -377,14 +421,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
@@ -398,13 +444,17 @@ 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);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result) {
+      private void buildPartial0(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.fullResourceName_ = fullResourceName_;
@@ -415,46 +465,53 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Reso
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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_;
           bitField0_ |= 0x00000001;
@@ -486,17 +543,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                fullResourceName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  fullResourceName_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -506,10 +565,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object fullResourceName_ = "";
       /**
+       *
+       *
        * 
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -518,13 +580,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; @@ -533,6 +595,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -541,15 +605,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 { @@ -557,6 +620,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -565,18 +630,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -585,6 +654,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -594,6 +664,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -602,18 +674,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -626,41 +701,44 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,17 +750,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
@@ -697,10 +778,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
@@ -715,12 +799,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,
@@ -729,48 +815,53 @@ 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;
     }
-    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;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object identity_ = "";
     /**
+     *
+     *
      * 
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -785,6 +876,7 @@ protected java.lang.Object newInstance(
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ @java.lang.Override @@ -793,14 +885,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
@@ -815,16 +908,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 { @@ -833,6 +925,7 @@ public java.lang.String getIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -844,8 +937,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_); } @@ -869,15 +961,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -897,87 +989,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 @@ -987,6 +1087,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,
@@ -995,33 +1097,34 @@ 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()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1031,14 +1134,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
@@ -1052,13 +1157,17 @@ 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);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result) {
+      private void buildPartial0(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.identity_ = identity_;
@@ -1069,46 +1178,53 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Iden
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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_;
           bitField0_ |= 0x00000001;
@@ -1140,17 +1256,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                identity_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  identity_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1160,10 +1278,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object identity_ = "";
       /**
+       *
+       *
        * 
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1178,13 +1299,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; @@ -1193,6 +1314,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1207,15 +1330,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 { @@ -1223,6 +1345,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1237,18 +1361,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } identity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1263,6 +1391,7 @@ public Builder setIdentity(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIdentity() { @@ -1272,6 +1401,8 @@ public Builder clearIdentity() { return this; } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1286,18 +1417,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); identity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1310,41 +1444,44 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentitySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1356,99 +1493,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
@@ -1459,15 +1619,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;
@@ -1475,61 +1636,71 @@ 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;
     }
-    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;
+
     @SuppressWarnings("serial")
     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. */ @@ -1537,51 +1708,62 @@ 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; + @SuppressWarnings("serial") 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. */ @@ -1589,20 +1771,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; @@ -1614,8 +1799,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)); } @@ -1655,17 +1839,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1691,87 +1874,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 @@ -1781,6 +1972,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
@@ -1791,33 +1984,34 @@ 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()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1830,13 +2024,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();
       }
 
@@ -1851,14 +2046,18 @@ 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);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
+      private void buildPartialRepeatedFields(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
         if (((bitField0_ & 0x00000001) != 0)) {
           roles_ = roles_.getUnmodifiableView();
           bitField0_ = (bitField0_ & ~0x00000001);
@@ -1871,7 +2070,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnaly
         result.permissions_ = permissions_;
       }
 
-      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
+      private void buildPartial0(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -1879,46 +2079,52 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Acce
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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_;
@@ -1965,24 +2171,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureRolesIsMutable();
-                roles_.add(s);
-                break;
-              } // case 10
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensurePermissionsIsMutable();
-                permissions_.add(s);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureRolesIsMutable();
+                  roles_.add(s);
+                  break;
+                } // case 10
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensurePermissionsIsMutable();
+                  permissions_.add(s);
+                  break;
+                } // case 18
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1992,44 +2201,55 @@ public Builder mergeFrom(
         } // finally
         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. */ @@ -2037,76 +2257,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoles(int index, java.lang.String value) { + if (value == null) { + 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRoles(java.lang.String value) { + if (value == null) { + 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() { @@ -2116,17 +2350,21 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); @@ -2134,42 +2372,52 @@ public Builder addRolesBytes( 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. */ @@ -2177,76 +2425,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPermissions(int index, java.lang.String value) { + if (value == null) { + 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addPermissions(java.lang.String value) { + if (value == null) { + 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() { @@ -2256,23 +2518,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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) { @@ -2285,41 +2552,44 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2331,17 +2601,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.
@@ -2355,11 +2628,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.
@@ -2371,11 +2647,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]
@@ -2402,22 +2681,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
@@ -2425,11 +2710,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
@@ -2463,58 +2751,66 @@ 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; } - 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_ = false; /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -2528,6 +2824,7 @@ protected java.lang.Object newInstance(
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -2538,6 +2835,8 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_ = false; /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -2549,6 +2848,7 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -2559,6 +2859,8 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_ = false; /** + * + * *
      * Optional. If true and
      * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -2585,6 +2887,7 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -2595,12 +2898,15 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_ = false; /** + * + * *
      * 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 @@ -2611,6 +2917,8 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_ = false; /** + * + * *
      * Optional. If true, the result will output the relevant membership
      * relationships between groups and other groups, and between groups and
@@ -2618,6 +2926,7 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -2628,6 +2937,8 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_ = false; /** + * + * *
      * Optional. If true, the response will include access analysis from
      * identities to resources via service account impersonation. This is a very
@@ -2661,7 +2972,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 @@ -2670,6 +2984,7 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2681,8 +2996,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_); } @@ -2711,28 +3025,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2742,25 +3052,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2773,110 +3079,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) + getUnknownFields().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 @@ -2886,39 +3195,41 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2933,9 +3244,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 @@ -2954,8 +3265,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options result = + new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2986,38 +3300,41 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Opti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -3025,7 +3342,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()); } @@ -3070,42 +3388,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - expandGroups_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - expandRoles_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - expandResources_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - outputResourceEdges_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - outputGroupEdges_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - analyzeServiceAccountImpersonation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + expandGroups_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + expandRoles_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + expandResources_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + outputResourceEdges_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + outputGroupEdges_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + analyzeServiceAccountImpersonation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3115,10 +3440,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - 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.
@@ -3132,6 +3460,7 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -3139,6 +3468,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.
@@ -3152,17 +3483,20 @@ 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; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3176,6 +3510,7 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandGroups() { @@ -3185,8 +3520,10 @@ public Builder clearExpandGroups() { 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.
@@ -3198,6 +3535,7 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -3205,6 +3543,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.
@@ -3216,17 +3556,20 @@ 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3238,6 +3581,7 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandRoles() { @@ -3247,8 +3591,10 @@ public Builder clearExpandRoles() { return this; } - private boolean expandResources_ ; + private boolean expandResources_; /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3275,6 +3621,7 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -3282,6 +3629,8 @@ public boolean getExpandResources() { return expandResources_; } /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3308,17 +3657,20 @@ 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3345,6 +3697,7 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandResources() { @@ -3354,14 +3707,17 @@ public Builder clearExpandResources() { 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 @@ -3369,29 +3725,35 @@ 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; bitField0_ |= 0x00000008; 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() { @@ -3401,8 +3763,10 @@ public Builder clearOutputResourceEdges() { 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
@@ -3410,6 +3774,7 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -3417,6 +3782,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
@@ -3424,17 +3791,20 @@ 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; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3442,6 +3812,7 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { @@ -3451,8 +3822,10 @@ public Builder clearOutputGroupEdges() { 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
@@ -3486,7 +3859,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 @@ -3494,6 +3870,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
@@ -3527,18 +3905,23 @@ 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; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -3572,7 +3955,10 @@ 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() { @@ -3581,6 +3967,7 @@ public Builder clearAnalyzeServiceAccountImpersonation() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3593,12 +3980,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(); } @@ -3607,27 +3994,28 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3642,14 +4030,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
@@ -3657,10 +4047,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
@@ -3668,10 +4061,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
@@ -3682,60 +4078,67 @@ 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; } - 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; } @@ -3751,24 +4154,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
@@ -3776,6 +4183,7 @@ public int getNumber() {
      * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -3783,6 +4191,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
@@ -3790,16 +4200,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
@@ -3811,12 +4224,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;
@@ -3828,8 +4242,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_);
       }
@@ -3843,8 +4256,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3854,18 +4268,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:
@@ -3895,87 +4309,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
@@ -3985,39 +4407,42 @@ 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() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4031,14 +4456,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 @@ -4052,22 +4479,26 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result = + new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { + private void buildPartialOneofs( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result) { result.timeContextCase_ = timeContextCase_; result.timeContext_ = this.timeContext_; - if (timeContextCase_ == 1 && - accessTimeBuilder_ != null) { + if (timeContextCase_ == 1 && accessTimeBuilder_ != null) { result.timeContext_ = accessTimeBuilder_.build(); } } @@ -4076,54 +4507,63 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisQuery public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.getUnknownFields()); onChanged(); @@ -4151,19 +4591,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccessTimeFieldBuilder().getBuilder(), - extensionRegistry); - timeContextCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAccessTimeFieldBuilder().getBuilder(), extensionRegistry); + timeContextCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4173,12 +4613,12 @@ public Builder mergeFrom( } // finally 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() { @@ -4191,8 +4631,13 @@ public Builder clearTimeContext() { private int bitField0_; 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
@@ -4200,6 +4645,7 @@ public Builder clearTimeContext() {
        * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4207,6 +4653,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
@@ -4214,6 +4662,7 @@ public boolean hasAccessTime() {
        * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return The accessTime. */ @java.lang.Override @@ -4231,6 +4680,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
@@ -4253,6 +4704,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
@@ -4261,8 +4714,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();
@@ -4273,6 +4725,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
@@ -4283,10 +4737,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;
           }
@@ -4302,6 +4759,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
@@ -4327,6 +4786,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
@@ -4339,6 +4800,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
@@ -4359,6 +4822,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
@@ -4368,23 +4833,27 @@ 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();
         return accessTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4397,41 +4866,44 @@ 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 {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ConditionContext parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4443,16 +4915,19 @@ 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;
+
   @SuppressWarnings("serial")
   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.
@@ -4466,6 +4941,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefa
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -4474,14 +4950,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.
@@ -4495,16 +4972,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 { @@ -4515,11 +4991,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 @@ -4527,37 +5008,56 @@ 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() { - return resourceSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder() { + return resourceSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() + : resourceSelector_; } 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 @@ -4565,37 +5065,56 @@ 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() { - return identitySelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder() { + return identitySelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() + : identitySelector_; } 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 @@ -4603,37 +5122,56 @@ 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() { - return accessSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder() { + return accessSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() + : accessSelector_; } 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 @@ -4641,37 +5179,55 @@ 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() { - return options_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() + : options_; } 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 @@ -4679,30 +5235,45 @@ 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() { - return conditionContext_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder + getConditionContextOrBuilder() { + return conditionContext_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() + : conditionContext_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4714,8 +5285,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_); } @@ -4747,24 +5317,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4774,39 +5339,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4846,130 +5406,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5004,9 +5570,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 @@ -5025,8 +5591,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisQuery result = + new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -5037,29 +5606,23 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery resu result.scope_ = scope_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.resourceSelector_ = resourceSelectorBuilder_ == null - ? resourceSelector_ - : resourceSelectorBuilder_.build(); + result.resourceSelector_ = + resourceSelectorBuilder_ == null ? resourceSelector_ : resourceSelectorBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.identitySelector_ = identitySelectorBuilder_ == null - ? identitySelector_ - : identitySelectorBuilder_.build(); + result.identitySelector_ = + identitySelectorBuilder_ == null ? identitySelector_ : identitySelectorBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.accessSelector_ = accessSelectorBuilder_ == null - ? accessSelector_ - : accessSelectorBuilder_.build(); + result.accessSelector_ = + accessSelectorBuilder_ == null ? accessSelector_ : accessSelectorBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.options_ = optionsBuilder_ == null - ? options_ - : optionsBuilder_.build(); + result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.conditionContext_ = conditionContextBuilder_ == null - ? conditionContext_ - : conditionContextBuilder_.build(); + result.conditionContext_ = + conditionContextBuilder_ == null ? conditionContext_ : conditionContextBuilder_.build(); } } @@ -5067,38 +5630,39 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisQuery resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -5106,7 +5670,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_; bitField0_ |= 0x00000001; @@ -5153,52 +5718,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getResourceSelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getIdentitySelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getAccessSelectorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getConditionContextFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getResourceSelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getIdentitySelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getAccessSelectorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage( + getConditionContextFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5208,10 +5773,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object scope_ = ""; /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5225,13 +5793,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; @@ -5240,6 +5808,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.
@@ -5253,15 +5823,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 { @@ -5269,6 +5838,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.
@@ -5282,18 +5853,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5307,6 +5882,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -5316,6 +5892,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5329,12 +5907,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -5344,41 +5924,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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(); @@ -5392,11 +5992,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) { @@ -5410,17 +6014,24 @@ 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 (((bitField0_ & 0x00000002) != 0) && - resourceSelector_ != null && - resourceSelector_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && resourceSelector_ != null + && resourceSelector_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector + .getDefaultInstance()) { getResourceSelectorBuilder().mergeFrom(value); } else { resourceSelector_ = value; @@ -5433,11 +6044,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5450,48 +6065,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() { bitField0_ |= 0x00000002; 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_; @@ -5499,41 +6132,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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(); @@ -5547,11 +6200,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) { @@ -5565,17 +6222,24 @@ 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 (((bitField0_ & 0x00000004) != 0) && - identitySelector_ != null && - identitySelector_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && identitySelector_ != null + && identitySelector_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector + .getDefaultInstance()) { getIdentitySelectorBuilder().mergeFrom(value); } else { identitySelector_ = value; @@ -5588,11 +6252,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -5605,48 +6273,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() { bitField0_ |= 0x00000004; 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_; @@ -5654,41 +6340,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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(); @@ -5702,11 +6408,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) { @@ -5720,17 +6430,24 @@ 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 (((bitField0_ & 0x00000008) != 0) && - accessSelector_ != null && - accessSelector_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && accessSelector_ != null + && accessSelector_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector + .getDefaultInstance()) { getAccessSelectorBuilder().mergeFrom(value); } else { accessSelector_ = value; @@ -5743,11 +6460,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -5760,48 +6481,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() { bitField0_ |= 0x00000008; 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_; @@ -5809,39 +6548,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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) { @@ -5857,11 +6615,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) { @@ -5875,17 +6637,22 @@ 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 (((bitField0_ & 0x00000010) != 0) && - options_ != null && - options_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && options_ != null + && options_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -5898,11 +6665,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -5915,11 +6686,15 @@ 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() { bitField0_ |= 0x00000010; @@ -5927,36 +6702,48 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder getOptio 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_; @@ -5964,41 +6751,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 ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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(); @@ -6012,11 +6819,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) { @@ -6030,17 +6841,24 @@ 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 (((bitField0_ & 0x00000020) != 0) && - conditionContext_ != null && - conditionContext_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && conditionContext_ != null + && conditionContext_ + != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext + .getDefaultInstance()) { getConditionContextBuilder().mergeFrom(value); } else { conditionContext_ = value; @@ -6053,11 +6871,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() { bitField0_ = (bitField0_ & ~0x00000020); @@ -6070,55 +6892,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() { bitField0_ |= 0x00000020; 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); } @@ -6128,12 +6968,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(); } @@ -6142,27 +6982,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6177,6 +7017,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java similarity index 58% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java index ed674b9206e1..9d5e56d5946d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java similarity index 75% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java index 96d911c57d72..94d18249a9ae 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java +++ b/java-asset/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,74 +45,89 @@ 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;
   }
-  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.
      * 
@@ -104,60 +137,68 @@ 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; } - 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; + @SuppressWarnings("serial") 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 @@ -166,30 +207,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 { @@ -200,11 +241,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 @@ -212,18 +256,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.
      * 
@@ -232,10 +283,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder() { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +301,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_); } @@ -268,8 +321,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -279,19 +331,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -316,87 +367,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 @@ -406,39 +464,41 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -453,13 +513,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(); } @@ -474,21 +535,24 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fullResourceName_ = fullResourceName_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.analysisState_ = analysisStateBuilder_ == null - ? analysisState_ - : analysisStateBuilder_.build(); + result.analysisState_ = + analysisStateBuilder_ == null ? analysisState_ : analysisStateBuilder_.build(); } } @@ -496,38 +560,41 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -535,7 +602,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_; bitField0_ |= 0x00000001; @@ -570,24 +639,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAnalysisStateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAnalysisStateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -597,23 +667,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -622,21 +695,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 { @@ -644,30 +718,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000001; 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() { @@ -677,18 +758,22 @@ public Builder clearFullResourceName() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; @@ -698,34 +783,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * 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.
        * 
@@ -746,6 +844,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -764,6 +864,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -772,9 +874,10 @@ public Builder setAnalysisState( */ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (analysisStateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - analysisState_ != null && - analysisState_ != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && analysisState_ != null + && analysisState_ + != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { getAnalysisStateBuilder().mergeFrom(value); } else { analysisState_ = value; @@ -787,6 +890,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -804,6 +909,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -816,6 +923,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -826,11 +935,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.
        * 
@@ -838,18 +950,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) { @@ -862,12 +978,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(); } @@ -876,27 +993,28 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,90 +1029,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.
      * 
@@ -1003,61 +1145,68 @@ 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; } - 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; } @@ -1073,41 +1222,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() { @@ -1118,8 +1276,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; @@ -1128,23 +1285,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; } @@ -1156,22 +1314,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() { @@ -1182,8 +1346,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; @@ -1192,23 +1355,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; } @@ -1221,11 +1385,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 @@ -1233,18 +1400,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.
      * 
@@ -1253,10 +1427,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder() { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1268,8 +1445,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_); } @@ -1295,8 +1471,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1306,27 +1481,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: @@ -1364,87 +1537,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 @@ -1454,39 +1634,41 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1502,9 +1684,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 @@ -1523,8 +1705,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1533,13 +1718,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.analysisState_ = analysisStateBuilder_ == null - ? analysisState_ - : analysisStateBuilder_.build(); + result.analysisState_ = + analysisStateBuilder_ == null ? analysisState_ : analysisStateBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result) { + private void buildPartialOneofs( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result) { result.oneofAccessCase_ = oneofAccessCase_; result.oneofAccess_ = this.oneofAccess_; } @@ -1548,38 +1733,41 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.IamPolicyAnalysisResul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -1587,26 +1775,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.getUnknownFields()); onChanged(); @@ -1634,31 +1826,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 1; - oneofAccess_ = s; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 2; - oneofAccess_ = s; - break; - } // case 18 - case 26: { - input.readMessage( - getAnalysisStateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 1; + oneofAccess_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 2; + oneofAccess_ = s; + break; + } // case 18 + case 26: + { + input.readMessage(getAnalysisStateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1668,12 +1862,12 @@ public Builder mergeFrom( } // finally 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() { @@ -1686,11 +1880,14 @@ public Builder clearOneofAccess() { private int bitField0_; /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return Whether the role field is set. */ @java.lang.Override @@ -1698,11 +1895,14 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return The role. */ @java.lang.Override @@ -1712,8 +1912,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; @@ -1724,24 +1923,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; } @@ -1751,28 +1951,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRole(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); return this; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return This builder for chaining. */ public Builder clearRole() { @@ -1784,17 +1991,21 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); oneofAccessCase_ = 1; oneofAccess_ = value; @@ -1803,11 +2014,14 @@ public Builder setRoleBytes( } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return Whether the permission field is set. */ @java.lang.Override @@ -1815,11 +2029,14 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return The permission. */ @java.lang.Override @@ -1829,8 +2046,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; @@ -1841,24 +2057,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; } @@ -1868,28 +2085,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPermission(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); return this; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return This builder for chaining. */ public Builder clearPermission() { @@ -1901,17 +2125,21 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPermissionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); oneofAccessCase_ = 2; oneofAccess_ = value; @@ -1921,34 +2149,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * 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.
        * 
@@ -1969,6 +2210,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -1987,6 +2230,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -1995,9 +2240,10 @@ public Builder setAnalysisState( */ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (analysisStateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - analysisState_ != null && - analysisState_ != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && analysisState_ != null + && analysisState_ + != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { getAnalysisStateBuilder().mergeFrom(value); } else { analysisState_ = value; @@ -2010,6 +2256,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2027,6 +2275,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2039,6 +2289,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2049,11 +2301,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.
        * 
@@ -2061,18 +2316,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) { @@ -2085,12 +2344,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(); } @@ -2099,27 +2358,28 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Access parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2134,14 +2394,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
@@ -2157,10 +2419,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
@@ -2176,30 +2441,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.
      * 
@@ -2209,54 +2482,61 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2272,6 +2552,7 @@ protected java.lang.Object newInstance(
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2280,14 +2561,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
@@ -2303,16 +2585,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 { @@ -2323,11 +2604,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 @@ -2335,18 +2619,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.
      * 
@@ -2355,10 +2646,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder() { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2370,8 +2664,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_); } @@ -2391,8 +2684,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2402,19 +2694,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2439,87 +2730,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 @@ -2529,39 +2827,41 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2576,13 +2876,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(); } @@ -2597,21 +2898,24 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.analysisState_ = analysisStateBuilder_ == null - ? analysisState_ - : analysisStateBuilder_.build(); + result.analysisState_ = + analysisStateBuilder_ == null ? analysisState_ : analysisStateBuilder_.build(); } } @@ -2619,38 +2923,41 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Ide public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -2658,7 +2965,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_; bitField0_ |= 0x00000001; @@ -2693,24 +3002,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAnalysisStateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAnalysisStateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2720,10 +3030,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2739,13 +3052,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; @@ -2754,6 +3067,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2769,15 +3084,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 { @@ -2785,6 +3099,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2800,18 +3116,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2827,6 +3147,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2836,6 +3157,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2851,12 +3174,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2866,34 +3191,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * 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.
        * 
@@ -2914,6 +3252,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2932,6 +3272,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2940,9 +3282,10 @@ public Builder setAnalysisState( */ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (analysisStateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - analysisState_ != null && - analysisState_ != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && analysisState_ != null + && analysisState_ + != com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) { getAnalysisStateBuilder().mergeFrom(value); } else { analysisState_ = value; @@ -2955,6 +3298,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2972,6 +3317,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2984,6 +3331,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2994,11 +3343,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.
        * 
@@ -3006,18 +3358,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) { @@ -3030,12 +3386,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(); } @@ -3044,27 +3401,28 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Identity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3079,73 +3437,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_ = ""; @@ -3153,39 +3524,44 @@ 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; } - 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; + @SuppressWarnings("serial") 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 @@ -3194,30 +3570,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 { @@ -3226,15 +3602,19 @@ public java.lang.String getSourceNode() { } public static final int TARGET_NODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -3243,30 +3623,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 { @@ -3275,6 +3655,7 @@ public java.lang.String getTargetNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3286,8 +3667,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_); } @@ -3317,17 +3697,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3349,87 +3728,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 @@ -3439,39 +3825,41 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3482,9 +3870,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 @@ -3503,8 +3891,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3523,38 +3914,41 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edg public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -3562,7 +3956,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_; bitField0_ |= 0x00000001; @@ -3599,22 +3994,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - sourceNode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - targetNode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + sourceNode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + targetNode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3624,23 +4022,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -3649,21 +4050,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 { @@ -3671,30 +4073,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceNode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceNode_ = value; bitField0_ |= 0x00000001; 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() { @@ -3704,18 +4113,22 @@ public Builder clearSourceNode() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceNode_ = value; bitField0_ |= 0x00000001; @@ -3725,19 +4138,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; @@ -3746,21 +4161,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 { @@ -3768,30 +4184,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetNode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetNode_ = value; bitField0_ |= 0x00000002; 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() { @@ -3801,24 +4224,29 @@ public Builder clearTargetNode() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetNodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetNode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3831,12 +4259,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(); } @@ -3845,27 +4273,28 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Edge parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3880,14 +4309,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;
@@ -3896,9 +4327,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;
@@ -3909,6 +4341,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;
@@ -3919,6 +4353,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;
@@ -3927,9 +4363,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;
@@ -3942,6 +4380,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;
@@ -3950,9 +4390,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;
@@ -3963,6 +4404,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;
@@ -3973,6 +4416,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;
@@ -3981,9 +4426,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;
@@ -3996,6 +4443,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
@@ -4008,9 +4457,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
@@ -4025,6 +4475,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
@@ -4039,6 +4491,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
@@ -4051,9 +4505,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
@@ -4070,26 +4526,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.
@@ -4100,6 +4564,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
@@ -4117,15 +4583,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();
@@ -4134,33 +4601,37 @@ 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;
     }
-    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;
+
     @SuppressWarnings("serial")
     private java.util.List resources_;
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4170,10 +4641,13 @@ protected java.lang.Object newInstance(
      * 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;
@@ -4183,11 +4657,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;
@@ -4201,6 +4678,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;
@@ -4214,6 +4693,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;
@@ -4223,15 +4704,18 @@ 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;
+
     @SuppressWarnings("serial")
     private java.util.List accesses_;
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4241,10 +4725,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;
@@ -4254,11 +4741,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;
@@ -4272,6 +4762,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;
@@ -4285,6 +4777,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;
@@ -4300,9 +4794,12 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
     }
 
     public static final int RESOURCE_EDGES_FIELD_NUMBER = 3;
+
     @SuppressWarnings("serial")
     private java.util.List resourceEdges_;
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4316,10 +4813,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
@@ -4333,11 +4833,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
@@ -4355,6 +4857,8 @@ public int getResourceEdgesCount() {
       return resourceEdges_.size();
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4372,6 +4876,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
@@ -4385,20 +4891,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 @@ -4406,19 +4915,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.
@@ -4427,11 +4943,15 @@ 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() {
-      return conditionEvaluation_ == null ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_;
+    public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder
+        getConditionEvaluationOrBuilder() {
+      return conditionEvaluation_ == null
+          ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()
+          : conditionEvaluation_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4443,8 +4963,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));
       }
@@ -4467,20 +4986,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -4490,23 +5006,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -4541,87 +5054,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
@@ -4631,6 +5152,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
@@ -4648,33 +5171,34 @@ 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()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4709,14 +5233,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
@@ -4730,14 +5256,18 @@ 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);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
+      private void buildPartialRepeatedFields(
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
         if (resourcesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -4767,12 +5297,14 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnaly
         }
       }
 
-      private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
+      private void buildPartial0(
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.conditionEvaluation_ = conditionEvaluationBuilder_ == null
-              ? conditionEvaluation_
-              : conditionEvaluationBuilder_.build();
+          result.conditionEvaluation_ =
+              conditionEvaluationBuilder_ == null
+                  ? conditionEvaluation_
+                  : conditionEvaluationBuilder_.build();
         }
       }
 
@@ -4780,46 +5312,53 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Acc
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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()) {
@@ -4838,9 +5377,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_);
             }
@@ -4864,9 +5404,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_);
             }
@@ -4890,9 +5431,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_);
             }
@@ -4927,58 +5469,62 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(),
-                        extensionRegistry);
-                if (resourcesBuilder_ == null) {
-                  ensureResourcesIsMutable();
-                  resources_.add(m);
-                } else {
-                  resourcesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-              case 18: {
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(),
-                        extensionRegistry);
-                if (accessesBuilder_ == null) {
-                  ensureAccessesIsMutable();
-                  accesses_.add(m);
-                } else {
-                  accessesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-              case 26: {
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(),
-                        extensionRegistry);
-                if (resourceEdgesBuilder_ == null) {
-                  ensureResourceEdgesIsMutable();
-                  resourceEdges_.add(m);
-                } else {
-                  resourceEdgesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getConditionEvaluationFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource m =
+                      input.readMessage(
+                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(),
+                          extensionRegistry);
+                  if (resourcesBuilder_ == null) {
+                    ensureResourcesIsMutable();
+                    resources_.add(m);
+                  } else {
+                    resourcesBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 10
+              case 18:
+                {
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access m =
+                      input.readMessage(
+                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(),
+                          extensionRegistry);
+                  if (accessesBuilder_ == null) {
+                    ensureAccessesIsMutable();
+                    accesses_.add(m);
+                  } else {
+                    accessesBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 18
+              case 26:
+                {
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m =
+                      input.readMessage(
+                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(),
+                          extensionRegistry);
+                  if (resourceEdgesBuilder_ == null) {
+                    ensureResourceEdgesIsMutable();
+                    resourceEdges_.add(m);
+                  } else {
+                    resourceEdgesBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(
+                      getConditionEvaluationFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4988,30 +5534,41 @@ public Builder mergeFrom(
         } // finally
         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 { @@ -5019,13 +5576,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) { @@ -5035,13 +5595,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) { @@ -5051,13 +5614,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) { @@ -5074,16 +5640,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()); @@ -5094,15 +5664,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(); @@ -5116,13 +5690,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) { @@ -5139,13 +5716,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) { @@ -5159,16 +5739,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()); @@ -5179,20 +5763,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); @@ -5200,13 +5787,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) { @@ -5219,13 +5809,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) { @@ -5238,45 +5831,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 { @@ -5284,73 +5888,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;
@@ -5359,7 +5987,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 {
@@ -5367,6 +5996,8 @@ public java.util.List
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5383,6 +6014,8 @@ public int getAccessesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5399,6 +6032,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;
@@ -5422,6 +6057,8 @@ public Builder setAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5431,7 +6068,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());
@@ -5442,6 +6080,8 @@ public Builder setAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5464,6 +6104,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;
@@ -5487,6 +6129,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5507,6 +6151,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5516,7 +6162,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());
@@ -5527,6 +6174,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5536,11 +6185,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);
@@ -5548,6 +6197,8 @@ public Builder addAllAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5567,6 +6218,8 @@ public Builder clearAccesses() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5586,6 +6239,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;
@@ -5599,6 +6254,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;
@@ -5610,11 +6267,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;
@@ -5623,8 +6283,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 {
@@ -5632,6 +6293,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;
@@ -5641,10 +6304,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;
@@ -5655,10 +6321,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;
@@ -5667,38 +6337,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
@@ -5709,9 +6390,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 { @@ -5719,6 +6402,8 @@ public java.util.List ge } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5729,7 +6414,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) { @@ -5739,6 +6425,8 @@ public int getResourceEdgesCount() { } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5749,7 +6437,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) { @@ -5759,6 +6448,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
@@ -5769,7 +6460,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) { @@ -5786,6 +6478,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5796,10 +6490,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()); @@ -5810,6 +6506,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5820,9 +6518,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(); @@ -5836,6 +6536,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
@@ -5846,7 +6548,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) { @@ -5863,6 +6566,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5873,7 +6578,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) { @@ -5887,6 +6593,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5897,10 +6605,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()); @@ -5911,6 +6621,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5921,14 +6633,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); @@ -5936,6 +6649,8 @@ public Builder addAllResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5946,7 +6661,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) { @@ -5959,6 +6675,8 @@ public Builder clearResourceEdges() { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5969,7 +6687,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) { @@ -5982,6 +6701,8 @@ public Builder removeResourceEdges(int index) { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5992,13 +6713,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
@@ -6009,16 +6733,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
@@ -6029,10 +6757,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 { @@ -6040,6 +6770,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
@@ -6050,13 +6782,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
@@ -6067,14 +6804,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
@@ -6085,18 +6826,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(), @@ -6108,36 +6856,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * 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.
@@ -6159,6 +6920,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.
@@ -6178,6 +6941,8 @@ public Builder setConditionEvaluation(
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6187,9 +6952,10 @@ public Builder setConditionEvaluation(
        */
       public Builder mergeConditionEvaluation(com.google.cloud.asset.v1.ConditionEvaluation value) {
         if (conditionEvaluationBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) != 0) &&
-            conditionEvaluation_ != null &&
-            conditionEvaluation_ != com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000008) != 0)
+              && conditionEvaluation_ != null
+              && conditionEvaluation_
+                  != com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()) {
             getConditionEvaluationBuilder().mergeFrom(value);
           } else {
             conditionEvaluation_ = value;
@@ -6202,6 +6968,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.
@@ -6220,6 +6988,8 @@ public Builder clearConditionEvaluation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6233,6 +7003,8 @@ public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluat
         return getConditionEvaluationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6240,15 +7012,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.
@@ -6257,18 +7033,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) {
@@ -6281,41 +7061,44 @@ 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 {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AccessControlList parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6327,17 +7110,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:
@@ -6347,9 +7133,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:
@@ -6361,6 +7148,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:
@@ -6372,6 +7161,8 @@ public interface IdentityListOrBuilder extends
      */
     int getIdentitiesCount();
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6381,9 +7172,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:
@@ -6397,6 +7190,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
@@ -6412,9 +7207,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
@@ -6432,6 +7228,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
@@ -6449,6 +7247,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
@@ -6464,9 +7264,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
@@ -6486,21 +7288,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(); @@ -6508,33 +7313,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List identities_; /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6545,10 +7354,13 @@ protected java.lang.Object newInstance(
      * 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:
@@ -6559,11 +7371,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:
@@ -6578,6 +7393,8 @@ public int getIdentitiesCount() {
       return identities_.size();
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6592,6 +7409,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:
@@ -6602,15 +7421,18 @@ 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;
+
     @SuppressWarnings("serial")
     private java.util.List groupEdges_;
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6627,10 +7449,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
@@ -6647,11 +7472,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
@@ -6672,6 +7499,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
@@ -6692,6 +7521,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
@@ -6714,6 +7545,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6725,8 +7557,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));
       }
@@ -6743,12 +7574,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -6758,17 +7587,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -6794,87 +7622,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
@@ -6884,39 +7719,41 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6939,13 +7776,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(); } @@ -6960,14 +7798,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { if (identitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { identities_ = java.util.Collections.unmodifiableList(identities_); @@ -6988,7 +7830,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnaly } } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result) { int from_bitField0_ = bitField0_; } @@ -6996,46 +7839,52 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Ide public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()) { @@ -7054,9 +7903,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_); } @@ -7080,9 +7930,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_); } @@ -7114,38 +7965,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), - extensionRegistry); - if (identitiesBuilder_ == null) { - ensureIdentitiesIsMutable(); - identities_.add(m); - } else { - identitiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), - extensionRegistry); - if (groupEdgesBuilder_ == null) { - ensureGroupEdgesIsMutable(); - groupEdges_.add(m); - } else { - groupEdgesBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), + extensionRegistry); + if (identitiesBuilder_ == null) { + ensureIdentitiesIsMutable(); + identities_.add(m); + } else { + identitiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), + extensionRegistry); + if (groupEdgesBuilder_ == null) { + ensureGroupEdgesIsMutable(); + groupEdges_.add(m); + } else { + groupEdgesBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7155,21 +8009,30 @@ public Builder mergeFrom( } // finally 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:
@@ -7177,9 +8040,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 { @@ -7187,6 +8052,8 @@ public java.util.List * Only the identities that match one of the following conditions will be * presented: @@ -7194,7 +8061,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) { @@ -7204,6 +8072,8 @@ public int getIdentitiesCount() { } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7211,7 +8081,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) { @@ -7221,6 +8092,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities( } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7228,7 +8101,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) { @@ -7245,6 +8119,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7252,10 +8128,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()); @@ -7266,6 +8144,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7273,9 +8153,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(); @@ -7289,6 +8171,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:
@@ -7296,7 +8180,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) { @@ -7313,6 +8198,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7320,7 +8207,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) { @@ -7334,6 +8222,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7341,10 +8231,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()); @@ -7355,6 +8247,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7362,14 +8256,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); @@ -7377,6 +8272,8 @@ public Builder addAllIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7384,7 +8281,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) { @@ -7397,6 +8295,8 @@ public Builder clearIdentities() { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7404,7 +8304,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) { @@ -7417,6 +8318,8 @@ public Builder removeIdentities(int index) { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7424,13 +8327,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:
@@ -7438,16 +8344,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:
@@ -7455,10 +8365,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 { @@ -7466,6 +8378,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getId } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7473,13 +8387,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:
@@ -7487,14 +8406,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:
@@ -7502,40 +8426,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
@@ -7551,7 +8487,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 {
@@ -7559,6 +8496,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7582,6 +8521,8 @@ public int getGroupEdgesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7605,6 +8546,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
@@ -7635,6 +8578,8 @@ public Builder setGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7651,7 +8596,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());
@@ -7662,6 +8608,8 @@ public Builder setGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7691,6 +8639,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
@@ -7721,6 +8671,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7748,6 +8700,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7764,7 +8718,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());
@@ -7775,6 +8730,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7791,11 +8748,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);
@@ -7803,6 +8760,8 @@ public Builder addAllGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7829,6 +8788,8 @@ public Builder clearGroupEdges() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7855,6 +8816,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
@@ -7875,6 +8838,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
@@ -7893,11 +8858,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
@@ -7913,8 +8881,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 {
@@ -7922,6 +8891,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
@@ -7938,10 +8909,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
@@ -7959,10 +8933,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
@@ -7978,24 +8955,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) {
@@ -8008,41 +8989,44 @@ 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 {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public IdentityList parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -8054,16 +9038,19 @@ 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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object attachedResourceFullName_ = "";
   /**
+   *
+   *
    * 
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8073,6 +9060,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefault
    * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ @java.lang.Override @@ -8081,14 +9069,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)
@@ -8098,16 +9087,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 { @@ -8118,11 +9106,14 @@ public java.lang.String getAttachedResourceFullName() { public static final int IAM_BINDING_FIELD_NUMBER = 2; private com.google.iam.v1.Binding iamBinding_; /** + * + * *
    * The IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ @java.lang.Override @@ -8130,11 +9121,14 @@ public boolean hasIamBinding() { return iamBinding_ != null; } /** + * + * *
    * The IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ @java.lang.Override @@ -8142,6 +9136,8 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** + * + * *
    * The IAM policy binding under analysis.
    * 
@@ -8154,9 +9150,13 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { } public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") - 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]
@@ -8164,13 +9164,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]
@@ -8178,14 +9183,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]
@@ -8193,13 +9203,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]
@@ -8207,13 +9221,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]
@@ -8221,17 +9240,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]
@@ -8239,6 +9262,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 @@ -8246,6 +9270,8 @@ public boolean hasIdentityList() { return identityList_ != null; } /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8253,13 +9279,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]
@@ -8269,13 +9300,18 @@ 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() {
-    return identityList_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_;
+  public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
+      getIdentityListOrBuilder() {
+    return identityList_ == null
+        ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()
+        : identityList_;
   }
 
   public static final int FULLY_EXPLORED_FIELD_NUMBER = 5;
   private boolean fullyExplored_ = false;
   /**
+   *
+   *
    * 
    * Represents whether all analyses on the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8283,6 +9319,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
    * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -8291,6 +9328,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8302,8 +9340,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_); } @@ -8329,23 +9366,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8355,29 +9390,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8404,104 +9435,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) + getUnknownFields().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.
@@ -8509,33 +9546,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8563,9 +9599,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
@@ -8584,14 +9620,18 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicyAnalysisResult result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult result) {
       if (accessControlListsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           accessControlLists_ = java.util.Collections.unmodifiableList(accessControlLists_);
@@ -8609,14 +9649,11 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult res
         result.attachedResourceFullName_ = attachedResourceFullName_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.iamBinding_ = iamBindingBuilder_ == null
-            ? iamBinding_
-            : iamBindingBuilder_.build();
+        result.iamBinding_ = iamBindingBuilder_ == null ? iamBinding_ : iamBindingBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.identityList_ = identityListBuilder_ == null
-            ? identityList_
-            : identityListBuilder_.build();
+        result.identityList_ =
+            identityListBuilder_ == null ? identityList_ : identityListBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.fullyExplored_ = fullyExplored_;
@@ -8627,38 +9664,39 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisResult res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -8666,7 +9704,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_;
         bitField0_ |= 0x00000001;
@@ -8693,9 +9732,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult other
             accessControlListsBuilder_ = null;
             accessControlLists_ = other.accessControlLists_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            accessControlListsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAccessControlListsFieldBuilder() : null;
+            accessControlListsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAccessControlListsFieldBuilder()
+                    : null;
           } else {
             accessControlListsBuilder_.addAllMessages(other.accessControlLists_);
           }
@@ -8733,49 +9773,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              attachedResourceFullName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getIamBindingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.parser(),
-                      extensionRegistry);
-              if (accessControlListsBuilder_ == null) {
-                ensureAccessControlListsIsMutable();
-                accessControlLists_.add(m);
-              } else {
-                accessControlListsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getIdentityListFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              fullyExplored_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                attachedResourceFullName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getIamBindingFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+                            .parser(),
+                        extensionRegistry);
+                if (accessControlListsBuilder_ == null) {
+                  ensureAccessControlListsIsMutable();
+                  accessControlLists_.add(m);
+                } else {
+                  accessControlListsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getIdentityListFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                fullyExplored_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8785,10 +9828,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object attachedResourceFullName_ = "";
     /**
+     *
+     *
      * 
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8798,13 +9844,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; @@ -8813,6 +9859,8 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8822,15 +9870,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 { @@ -8838,6 +9885,8 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8847,18 +9896,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResourceFullName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedResourceFullName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8868,6 +9921,7 @@ public Builder setAttachedResourceFullName(
      * 
* * string attached_resource_full_name = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { @@ -8877,6 +9931,8 @@ public Builder clearAttachedResourceFullName() { return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8886,12 +9942,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedResourceFullName_ = value; bitField0_ |= 0x00000001; @@ -8901,24 +9959,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 IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ public boolean hasIamBinding() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ public com.google.iam.v1.Binding getIamBinding() { @@ -8929,6 +9996,8 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -8949,14 +10018,15 @@ public Builder setIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The 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(); } else { @@ -8967,6 +10037,8 @@ public Builder setIamBinding( return this; } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -8975,9 +10047,9 @@ public Builder setIamBinding( */ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { if (iamBindingBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - iamBinding_ != null && - iamBinding_ != com.google.iam.v1.Binding.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && iamBinding_ != null + && iamBinding_ != com.google.iam.v1.Binding.getDefaultInstance()) { getIamBindingBuilder().mergeFrom(value); } else { iamBinding_ = value; @@ -8990,6 +10062,8 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -9007,6 +10081,8 @@ public Builder clearIamBinding() { return this; } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -9019,6 +10095,8 @@ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { return getIamBindingFieldBuilder().getBuilder(); } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -9029,11 +10107,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 IAM policy binding under analysis.
      * 
@@ -9041,32 +10120,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_ & 0x00000004) != 0)) { - accessControlLists_ = new java.util.ArrayList(accessControlLists_); + accessControlLists_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList>( + accessControlLists_); bitField0_ |= 0x00000004; - } + } } 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]
@@ -9074,9 +10165,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 { @@ -9084,6 +10178,8 @@ public java.util.List * The access control lists derived from the * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] @@ -9091,7 +10187,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) { @@ -9101,6 +10199,8 @@ public int getAccessControlListsCount() { } } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9108,9 +10208,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 { @@ -9118,6 +10221,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]
@@ -9125,7 +10230,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) { @@ -9142,6 +10249,8 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9149,10 +10258,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()); @@ -9163,6 +10276,8 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9170,9 +10285,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(); @@ -9186,6 +10304,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]
@@ -9193,7 +10313,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) { @@ -9210,6 +10332,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9217,10 +10341,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()); @@ -9231,6 +10358,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9238,10 +10367,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()); @@ -9252,6 +10385,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9259,14 +10394,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); @@ -9274,6 +10412,8 @@ public Builder addAllAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9281,7 +10421,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) { @@ -9294,6 +10436,8 @@ public Builder clearAccessControlLists() { return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9301,7 +10445,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) { @@ -9314,6 +10460,8 @@ public Builder removeAccessControlLists(int index) { return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9321,13 +10469,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]
@@ -9335,16 +10487,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]
@@ -9352,10 +10509,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 { @@ -9363,6 +10523,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]
@@ -9370,13 +10532,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]
@@ -9384,14 +10553,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]
@@ -9399,18 +10575,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_ & 0x00000004) != 0), getParentForChildren(), @@ -9422,8 +10607,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]
@@ -9431,12 +10621,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9444,16 +10637,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]
@@ -9462,7 +10660,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();
@@ -9476,6 +10675,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]
@@ -9496,6 +10697,8 @@ public Builder setIdentityList(
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9504,11 +10707,14 @@ 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 (((bitField0_ & 0x00000008) != 0) &&
-          identityList_ != null &&
-          identityList_ != com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && identityList_ != null
+            && identityList_
+                != com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
+                    .getDefaultInstance()) {
           getIdentityListBuilder().mergeFrom(value);
         } else {
           identityList_ = value;
@@ -9521,6 +10727,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]
@@ -9540,6 +10748,8 @@ public Builder clearIdentityList() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9548,12 +10758,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() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getIdentityListFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9562,15 +10775,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]
@@ -9580,21 +10797,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]
@@ -9602,6 +10824,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
      * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -9609,6 +10832,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9616,17 +10841,20 @@ 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; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9634,6 +10862,7 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 5; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -9642,9 +10871,9 @@ public Builder clearFullyExplored() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9654,12 +10883,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(); } @@ -9668,27 +10897,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9703,6 +10932,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java index 0598c4d01573..c8965f7e7c92 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java +++ b/java-asset/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 IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ boolean hasIamBinding(); /** + * + * *
    * The IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ com.google.iam.v1.Binding getIamBinding(); /** + * + * *
    * The 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java index a36ba87256ae..1468e7f16c19 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java +++ b/java-asset/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,32 +45,35 @@ 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;
   }
-  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_ = 0;
   /**
+   *
+   *
    * 
    * The Google standard error code that best describes the state.
    * For example:
@@ -63,12 +84,16 @@ protected java.lang.Object newInstance(
    * 
* * .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:
@@ -79,22 +104,28 @@ protected java.lang.Object newInstance(
    * 
* * .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() { com.google.rpc.Code result = com.google.rpc.Code.forNumber(code_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } public static final int CAUSE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object cause_ = ""; /** + * + * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; + * * @return The cause. */ @java.lang.Override @@ -103,29 +134,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 { @@ -134,6 +165,7 @@ public java.lang.String getCause() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (code_ != com.google.rpc.Code.OK.getNumber()) { output.writeEnum(1, code_); } @@ -163,8 +194,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_); @@ -177,16 +207,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -207,97 +237,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.
@@ -305,33 +342,32 @@ 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()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -342,9 +378,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
@@ -363,8 +399,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.IamPolicyAnalysisState result =
+          new com.google.cloud.asset.v1.IamPolicyAnalysisState(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -383,38 +422,39 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicyAnalysisState resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -422,7 +462,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());
       }
@@ -457,22 +498,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              cause_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                code_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                cause_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -482,10 +526,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -496,12 +543,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:
@@ -512,6 +563,7 @@ 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. */ @@ -522,6 +574,8 @@ public Builder setCodeValue(int value) { return this; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -532,6 +586,7 @@ public Builder setCodeValue(int value) {
      * 
* * .google.rpc.Code code = 1; + * * @return The code. */ @java.lang.Override @@ -540,6 +595,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:
@@ -550,6 +607,7 @@ public com.google.rpc.Code getCode() {
      * 
* * .google.rpc.Code code = 1; + * * @param value The code to set. * @return This builder for chaining. */ @@ -563,6 +621,8 @@ public Builder setCode(com.google.rpc.Code value) { return this; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -573,6 +633,7 @@ public Builder setCode(com.google.rpc.Code value) {
      * 
* * .google.rpc.Code code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { @@ -584,18 +645,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; @@ -604,20 +667,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 { @@ -625,28 +689,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setCause(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cause_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return This builder for chaining. */ public Builder clearCause() { @@ -656,26 +727,30 @@ public Builder clearCause() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setCauseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cause_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -685,12 +760,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(); } @@ -699,27 +774,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -734,6 +809,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java index 6208f59f108b..be06b9be5648 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java index 46ea4155063e..1ef16e956287 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java +++ b/java-asset/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,34 +47,38 @@ 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; } - 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:`).
@@ -67,10 +89,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:`).
@@ -81,17 +107,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:`).
@@ -102,11 +131,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:`).
@@ -117,14 +152,19 @@ 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:`).
@@ -135,189 +175,218 @@ 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; } - 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; } - 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; + @SuppressWarnings("serial") 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. */ @@ -325,20 +394,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; @@ -350,8 +422,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)); } @@ -380,15 +451,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,88 +481,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 @@ -500,39 +587,43 @@ 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() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -543,19 +634,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); } @@ -563,15 +657,20 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -579,7 +678,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicySearc result.permissions_ = permissions_; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result) { int from_bitField0_ = bitField0_; } @@ -587,46 +687,54 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult.Expla public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; @@ -663,18 +771,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePermissionsIsMutable(); - permissions_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePermissionsIsMutable(); + permissions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -684,44 +794,55 @@ public Builder mergeFrom( } // finally 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. */ @@ -729,76 +850,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPermissions(int index, java.lang.String value) { + if (value == null) { + 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addPermissions(java.lang.String value) { + if (value == null) { + 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() { @@ -808,23 +943,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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) { @@ -837,41 +977,45 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,39 +1027,55 @@ 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()); } + @SuppressWarnings("serial") 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_; } + 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:`).
@@ -926,23 +1086,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:`).
@@ -953,13 +1119,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:`).
@@ -970,20 +1143,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 /* nullable */
-com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMatchedPermissions().getMap();
+    public /* nullable */ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions
+        getMatchedPermissionsOrDefault(
+            java.lang.String key,
+            /* nullable */
+            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:`).
@@ -994,14 +1175,20 @@ 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; + * */ @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(); } @@ -1009,6 +1196,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; @@ -1020,10 +1208,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, @@ -1037,15 +1223,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1055,15 +1246,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1085,87 +1277,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 @@ -1175,61 +1374,61 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1239,13 +1438,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(); } @@ -1260,13 +1460,17 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result = + new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result) { + private void buildPartial0( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchedPermissions_ = internalGetMatchedPermissions(); @@ -1278,38 +1482,41 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult.Expla public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -1317,9 +1524,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()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1347,21 +1555,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - matchedPermissions__ = input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMatchedPermissions().getMutableMap().put( - matchedPermissions__.getKey(), matchedPermissions__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + matchedPermissions__ = + input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMatchedPermissions() + .getMutableMap() + .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1371,11 +1586,17 @@ public Builder mergeFrom( } // finally 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> + 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( @@ -1383,11 +1604,15 @@ public Builder mergeFrom( } return matchedPermissions_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> internalGetMutableMatchedPermissions() { 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(); @@ -1396,10 +1621,13 @@ public Builder mergeFrom( onChanged(); return matchedPermissions_; } + 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:`).
@@ -1410,23 +1638,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:`).
@@ -1437,13 +1671,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:`).
@@ -1454,20 +1695,29 @@ 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 /* nullable */
-com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault(
-          java.lang.String key,
-          /* nullable */
-com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetMatchedPermissions().getMap();
+      public /* nullable */ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions
+          getMatchedPermissionsOrDefault(
+              java.lang.String key,
+              /* nullable */
+              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:`).
@@ -1478,26 +1728,34 @@ 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; + * */ @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(); } return map.get(key); } + public Builder clearMatchedPermissions() { bitField0_ = (bitField0_ & ~0x00000001); - 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:`).
@@ -1508,25 +1766,29 @@ 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 + public java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> getMutableMatchedPermissions() { bitField0_ |= 0x00000001; return internalGetMutableMatchedPermissions().getMutableMap(); } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1537,19 +1799,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 (value == null) { throw new NullPointerException("map value"); } - internalGetMutableMatchedPermissions().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableMatchedPermissions().getMutableMap().put(key, value); bitField0_ |= 0x00000001; return this; } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1560,15 +1829,20 @@ 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); bitField0_ |= 0x00000001; return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1581,12 +1855,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(); } @@ -1595,27 +1870,28 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1630,13 +1906,15 @@ 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; + @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** + * + * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -1649,6 +1927,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultIns
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -1657,14 +1936,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:
@@ -1677,16 +1957,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 { @@ -1695,9 +1974,12 @@ public java.lang.String getResource() { } public static final int ASSET_TYPE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -1706,6 +1988,7 @@ public java.lang.String getResource() {
    * 
* * string asset_type = 5; + * * @return The assetType. */ @java.lang.Override @@ -1714,14 +1997,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`.
@@ -1730,16 +2014,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 { @@ -1748,9 +2031,12 @@ public java.lang.String getAssetType() { } public static final int PROJECT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -1762,6 +2048,7 @@ public java.lang.String getAssetType() {
    * 
* * string project = 2; + * * @return The project. */ @java.lang.Override @@ -1770,14 +2057,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 Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -1789,16 +2077,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 { @@ -1807,9 +2094,12 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -1821,13 +2111,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
@@ -1839,12 +2131,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
@@ -1856,6 +2151,7 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1863,6 +2159,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
@@ -1874,18 +2172,21 @@ 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; + @SuppressWarnings("serial") 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
@@ -1897,6 +2198,7 @@ public java.lang.String getFolders(int index) {
    * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -1905,14 +2207,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
@@ -1924,16 +2227,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 { @@ -1944,6 +2246,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
@@ -1960,6 +2264,7 @@ public java.lang.String getOrganization() {
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -1967,6 +2272,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
@@ -1983,6 +2290,7 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ @java.lang.Override @@ -1990,6 +2298,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
@@ -2015,12 +2325,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 @@ -2028,19 +2341,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.
@@ -2049,11 +2369,15 @@ 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() {
-    return explanation_ == null ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
+  public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder
+      getExplanationOrBuilder() {
+    return explanation_ == null
+        ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()
+        : explanation_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2065,8 +2389,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_);
     }
@@ -2104,12 +2427,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_);
@@ -2133,32 +2454,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2196,130 +2511,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2344,9 +2665,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 @@ -2365,14 +2686,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.IamPolicySearchResult result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.IamPolicySearchResult result) { if (((bitField0_ & 0x00000008) != 0)) { folders_ = folders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -2395,14 +2720,11 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult resul result.organization_ = organization_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.policy_ = policyBuilder_ == null - ? policy_ - : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.explanation_ = explanationBuilder_ == null - ? explanation_ - : explanationBuilder_.build(); + result.explanation_ = + explanationBuilder_ == null ? explanation_ : explanationBuilder_.build(); } } @@ -2410,38 +2732,39 @@ private void buildPartial0(com.google.cloud.asset.v1.IamPolicySearchResult resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -2449,7 +2772,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_; bitField0_ |= 0x00000001; @@ -2512,52 +2836,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - input.readMessage( - getPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: { - input.readMessage( - getExplanationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFoldersIsMutable(); - folders_.add(s); - break; - } // case 50 - case 58: { - organization_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: + { + input.readMessage(getExplanationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: + { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFoldersIsMutable(); + folders_.add(s); + break; + } // case 50 + case 58: + { + organization_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2567,10 +2895,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2583,13 +2914,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; @@ -2598,6 +2929,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2610,15 +2943,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 { @@ -2626,6 +2958,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2638,18 +2972,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2662,6 +3000,7 @@ public Builder setResource(
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -2671,6 +3010,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2683,12 +3024,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -2698,6 +3041,8 @@ public Builder setResourceBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2706,13 +3051,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; @@ -2721,6 +3066,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2729,15 +3076,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 { @@ -2745,6 +3091,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2753,18 +3101,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2773,6 +3125,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 5; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -2782,6 +3135,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2790,12 +3145,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -2805,6 +3162,8 @@ public Builder setAssetTypeBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2816,13 +3175,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; @@ -2831,6 +3190,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2842,15 +3203,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 { @@ -2858,6 +3218,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2869,18 +3231,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2892,6 +3258,7 @@ public Builder setProject(
      * 
* * string project = 2; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -2901,6 +3268,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -2912,12 +3281,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -2925,14 +3296,18 @@ public Builder setProjectBytes( 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2944,13 +3319,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
@@ -2962,12 +3339,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
@@ -2979,6 +3359,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2986,6 +3367,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
@@ -2997,14 +3380,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
@@ -3016,19 +3401,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFolders(int index, java.lang.String value) { + if (value == null) { + 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
@@ -3040,18 +3429,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFolders(java.lang.String value) { + if (value == null) { + 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
@@ -3063,18 +3456,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
@@ -3086,6 +3480,7 @@ public Builder addAllFolders(
      * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3095,6 +3490,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
@@ -3106,12 +3503,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFoldersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -3121,6 +3520,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
@@ -3132,13 +3533,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; @@ -3147,6 +3548,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
@@ -3158,15 +3561,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 { @@ -3174,6 +3576,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
@@ -3185,18 +3589,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganization(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3208,6 +3616,7 @@ public Builder setOrganization(
      * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3217,6 +3626,8 @@ public Builder clearOrganization() { return this; } /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3228,12 +3639,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; @@ -3243,8 +3656,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
@@ -3261,12 +3679,15 @@ public Builder setOrganizationBytes(
      * 
* * .google.iam.v1.Policy policy = 3; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3283,6 +3704,7 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -3293,6 +3715,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
@@ -3324,6 +3748,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
@@ -3341,8 +3767,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();
       } else {
@@ -3353,6 +3778,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
@@ -3372,9 +3799,9 @@ public Builder setPolicy(
      */
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          policy_ != null &&
-          policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && policy_ != null
+            && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getPolicyBuilder().mergeFrom(value);
         } else {
           policy_ = value;
@@ -3387,6 +3814,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
@@ -3415,6 +3844,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
@@ -3438,6 +3869,8 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
       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
@@ -3459,11 +3892,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
@@ -3482,14 +3916,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_;
@@ -3497,36 +3933,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 ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * 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.
@@ -3534,7 +3983,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();
@@ -3548,6 +3998,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.
@@ -3567,6 +4019,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.
@@ -3574,11 +4028,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 (((bitField0_ & 0x00000040) != 0) &&
-          explanation_ != null &&
-          explanation_ != com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && explanation_ != null
+            && explanation_
+                != com.google.cloud.asset.v1.IamPolicySearchResult.Explanation
+                    .getDefaultInstance()) {
           getExplanationBuilder().mergeFrom(value);
         } else {
           explanation_ = value;
@@ -3591,6 +4048,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.
@@ -3609,6 +4068,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.
@@ -3616,12 +4077,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() {
       bitField0_ |= 0x00000040;
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3629,15 +4093,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.
@@ -3646,21 +4114,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);
     }
 
@@ -3670,12 +4141,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();
   }
@@ -3684,27 +4155,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public IamPolicySearchResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3719,6 +4190,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
similarity index 89%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
index 27c65a3ea601..bc119d233936 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
+++ b/java-asset/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 Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -79,10 +107,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string project = 2; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
@@ -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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
similarity index 81%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
index 9aa03a47436e..3b6a5508c2e8 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
+++ b/java-asset/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,33 +47,37 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -64,7 +86,10 @@ protected java.lang.Object newInstance(
    * "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 @@ -73,14 +98,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
@@ -89,17 +115,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 { @@ -110,6 +137,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).
@@ -119,6 +148,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -126,6 +156,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).
@@ -135,6 +167,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -142,6 +175,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).
@@ -158,9 +193,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -179,13 +217,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".
@@ -204,12 +244,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".
@@ -228,6 +271,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. */ @@ -235,6 +279,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".
@@ -253,51 +299,63 @@ 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_ = 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; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** + * + * *
    * 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 @@ -306,9 +364,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -316,6 +377,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -324,14 +386,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
@@ -339,16 +402,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 { @@ -357,9 +419,12 @@ public java.lang.String getPageToken() { } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") 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
@@ -379,13 +444,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
@@ -405,12 +472,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
@@ -430,6 +500,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. */ @@ -437,6 +508,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
@@ -456,15 +529,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; @@ -476,8 +550,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_); } @@ -487,7 +560,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) { @@ -512,8 +586,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; @@ -523,13 +596,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_); @@ -550,29 +622,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -609,130 +676,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -754,9 +827,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 @@ -775,9 +848,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -801,9 +877,7 @@ private void buildPartial0(com.google.cloud.asset.v1.ListAssetsRequest result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; @@ -820,38 +894,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ListAssetsRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -925,51 +1000,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: + { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -979,10 +1060,13 @@ public Builder mergeFrom( } // finally 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
@@ -991,14 +1075,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; @@ -1007,6 +1093,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1015,16 +1103,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 { @@ -1032,6 +1121,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1040,19 +1131,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1061,7 +1158,10 @@ 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() { @@ -1071,6 +1171,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1079,13 +1181,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1095,8 +1201,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).
@@ -1106,12 +1217,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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).
@@ -1121,6 +1235,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1131,6 +1246,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).
@@ -1155,6 +1272,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).
@@ -1165,8 +1284,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();
       } else {
@@ -1177,6 +1295,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).
@@ -1189,9 +1309,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1204,6 +1324,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).
@@ -1225,6 +1347,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,6 +1365,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1255,11 +1381,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).
@@ -1271,27 +1398,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1310,13 +1444,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".
@@ -1335,12 +1471,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".
@@ -1359,6 +1498,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. */ @@ -1366,6 +1506,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".
@@ -1384,14 +1526,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".
@@ -1410,19 +1554,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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".
@@ -1441,18 +1589,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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".
@@ -1471,18 +1623,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".
@@ -1501,6 +1654,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1510,6 +1664,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1528,12 +1684,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1543,24 +1701,31 @@ 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. */ @@ -1571,26 +1736,33 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.forNumber(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. */ @@ -1604,12 +1776,15 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { 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() { @@ -1619,14 +1794,17 @@ public Builder clearContentType() { 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 @@ -1634,29 +1812,35 @@ 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; bitField0_ |= 0x00000010; 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() { @@ -1668,6 +1852,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
@@ -1675,13 +1861,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; @@ -1690,6 +1876,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
@@ -1697,15 +1885,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 { @@ -1713,6 +1900,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
@@ -1720,18 +1909,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1739,6 +1932,7 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1748,6 +1942,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1755,12 +1951,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000020; @@ -1768,14 +1966,18 @@ public Builder setPageTokenBytes( 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_ & 0x00000040) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000040; - } + } } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1795,13 +1997,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
@@ -1821,12 +2025,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
@@ -1846,6 +2053,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. */ @@ -1853,6 +2061,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
@@ -1872,14 +2082,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
@@ -1899,19 +2111,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1931,18 +2147,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1962,18 +2182,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
@@ -1993,6 +2214,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2002,6 +2224,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
@@ -2021,21 +2245,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -2045,12 +2271,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(); } @@ -2059,27 +2285,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2094,6 +2320,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java similarity index 89% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java index 570a4d9a58ea..d54ad45a57c0 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java index 49293e352c59..5018e899d650 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java +++ b/java-asset/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,37 +44,41 @@ 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; } - 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 @@ -64,11 +86,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -76,6 +101,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -88,9 +115,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } public static final int ASSETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * Assets.
    * 
@@ -102,6 +132,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -109,11 +141,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.
    * 
@@ -125,6 +159,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Assets.
    * 
@@ -136,6 +172,8 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Assets.
    * 
@@ -143,15 +181,17 @@ 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; + @SuppressWarnings("serial") 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
@@ -159,6 +199,7 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -167,14 +208,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
@@ -182,16 +224,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 { @@ -200,6 +241,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,8 +253,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()); } @@ -232,12 +273,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_); @@ -250,22 +289,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,130 +329,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,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 @@ -458,9 +501,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -480,9 +526,7 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.ListAssetsResp private void buildPartial0(com.google.cloud.asset.v1.ListAssetsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -493,38 +537,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ListAssetsResponse result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -554,9 +599,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListAssetsResponse other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000002); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -593,37 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1.Asset m = - input.readMessage( - com.google.cloud.asset.v1.Asset.parser(), - extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1.Asset m = + input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -633,28 +679,38 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -665,6 +721,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -685,14 +743,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(); } else { @@ -703,6 +762,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -711,9 +772,9 @@ public Builder setReadTime( */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - readTime_ != null && - readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && readTime_ != null + && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -726,6 +787,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -743,6 +806,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -755,6 +820,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -765,11 +832,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.
      * 
@@ -777,32 +845,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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -817,6 +894,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Assets.
      * 
@@ -831,6 +910,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Assets.
      * 
@@ -845,14 +926,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(); @@ -866,14 +948,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()); @@ -884,6 +967,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -904,14 +989,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(); @@ -925,14 +1011,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()); @@ -943,14 +1030,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()); @@ -961,6 +1049,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -971,8 +1061,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); @@ -980,6 +1069,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -997,6 +1088,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Assets.
      * 
@@ -1014,39 +1107,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 { @@ -1054,6 +1152,8 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Assets.
      * 
@@ -1061,42 +1161,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_ & 0x00000002) != 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_ & 0x00000002) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; @@ -1104,6 +1209,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
@@ -1111,13 +1218,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; @@ -1126,6 +1233,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
@@ -1133,15 +1242,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 { @@ -1149,6 +1257,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
@@ -1156,18 +1266,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; 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
@@ -1175,6 +1289,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1184,6 +1299,8 @@ public Builder clearNextPageToken() { 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
@@ -1191,21 +1308,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,12 +1334,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(); } @@ -1229,27 +1348,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1264,6 +1383,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java index 788d4a5158c7..f44c37ceea77 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java index dd6b7b66b90b..6f6a34639762 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -67,14 +90,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
@@ -82,16 +106,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 { @@ -100,6 +123,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -136,15 +159,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,130 +186,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +325,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 @@ -317,8 +346,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.ListFeedsRequest result = + new com.google.cloud.asset.v1.ListFeedsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +366,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ListFeedsRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -405,17 +438,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +460,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -436,13 +474,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; @@ -451,6 +489,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
@@ -458,15 +498,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 { @@ -474,6 +513,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
@@ -481,18 +522,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -500,6 +545,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -509,6 +555,8 @@ public Builder clearParent() { 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
@@ -516,21 +564,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +590,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(); } @@ -554,27 +604,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java index be5ab6097189..7c4e5f3cb8b3 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java similarity index 69% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java index 9189d9f8ddac..595d69688c11 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java @@ -1,53 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; + @SuppressWarnings("serial") private java.util.List feeds_; /** + * + * *
    * A list of feeds.
    * 
@@ -59,6 +77,8 @@ public java.util.List getFeedsList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -66,11 +86,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.
    * 
@@ -82,6 +103,8 @@ public int getFeedsCount() { return feeds_.size(); } /** + * + * *
    * A list of feeds.
    * 
@@ -93,6 +116,8 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { return feeds_.get(index); } /** + * + * *
    * A list of feeds.
    * 
@@ -100,12 +125,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; @@ -117,8 +142,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)); } @@ -132,8 +156,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,126 +195,128 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -307,9 +332,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 @@ -328,9 +353,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -355,38 +383,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ListFeedsResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -413,9 +442,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_); } @@ -447,25 +477,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.Feed m = - input.readMessage( - com.google.cloud.asset.v1.Feed.parser(), - extensionRegistry); - if (feedsBuilder_ == null) { - ensureFeedsIsMutable(); - feeds_.add(m); - } else { - feedsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.Feed m = + input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(m); + } else { + feedsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -475,21 +505,28 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -504,6 +541,8 @@ public java.util.List getFeedsList() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -518,6 +557,8 @@ public int getFeedsCount() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -532,14 +573,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(); @@ -553,14 +595,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()); @@ -571,6 +614,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -591,14 +636,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(); @@ -612,14 +658,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()); @@ -630,14 +677,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()); @@ -648,6 +696,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -658,8 +708,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); @@ -667,6 +716,8 @@ public Builder addAllFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -684,6 +735,8 @@ public Builder clearFeeds() { return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -701,39 +754,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 { @@ -741,6 +799,8 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( } } /** + * + * *
      * A list of feeds.
      * 
@@ -748,49 +808,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); } @@ -800,12 +864,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(); } @@ -814,27 +878,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +913,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java index d5bb75ca2b75..6cbe869863db 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java index 2712c6d8207b..0dc964a8ad4d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java +++ b/java-asset/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,40 +45,47 @@ 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; } - 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; + @SuppressWarnings("serial") 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 @@ -69,31 +94,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 { @@ -102,9 +129,12 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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
@@ -115,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -123,14 +154,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
@@ -141,16 +173,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 { @@ -161,6 +192,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * 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
@@ -169,6 +202,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -177,9 +211,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -188,6 +225,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -196,14 +234,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.
@@ -212,16 +251,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 { @@ -230,6 +268,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +280,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_); } @@ -268,8 +306,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_); @@ -285,21 +322,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,129 +359,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -460,9 +500,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 @@ -481,8 +521,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.ListSavedQueriesRequest result = + new com.google.cloud.asset.v1.ListSavedQueriesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -507,38 +550,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ListSavedQueriesRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -546,7 +590,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_; bitField0_ |= 0x00000001; @@ -591,32 +636,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -626,24 +676,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -652,22 +707,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 { @@ -675,32 +733,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent 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() { @@ -710,19 +779,25 @@ public Builder clearParent() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -732,6 +807,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
@@ -742,13 +819,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; @@ -757,6 +834,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
@@ -767,15 +846,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 { @@ -783,6 +861,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
@@ -793,18 +873,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -815,6 +899,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -824,6 +909,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -834,12 +921,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -847,8 +936,10 @@ public Builder setFilterBytes( 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
@@ -857,6 +948,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -864,6 +956,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
@@ -872,17 +966,20 @@ 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; bitField0_ |= 0x00000004; 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
@@ -891,6 +988,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -902,6 +1000,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.
@@ -910,13 +1010,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; @@ -925,6 +1025,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -933,15 +1035,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 { @@ -949,6 +1050,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -957,18 +1060,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -977,6 +1084,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -986,6 +1094,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -994,21 +1104,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1018,12 +1130,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(); } @@ -1032,27 +1144,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1067,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java index cfa43dc786e9..e80558f375dd 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java index 93d86c250835..10b47a701f7c 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List savedQueries_; /** + * + * *
    * A list of savedQueries.
    * 
@@ -64,6 +86,8 @@ public java.util.List getSavedQueriesList( return savedQueries_; } /** + * + * *
    * A list of savedQueries.
    * 
@@ -71,11 +95,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.
    * 
@@ -87,6 +113,8 @@ public int getSavedQueriesCount() { return savedQueries_.size(); } /** + * + * *
    * A list of savedQueries.
    * 
@@ -98,6 +126,8 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { return savedQueries_.get(index); } /** + * + * *
    * A list of savedQueries.
    * 
@@ -105,21 +135,24 @@ 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; + @SuppressWarnings("serial") 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 @@ -128,30 +161,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 { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,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 < savedQueries_.size(); i++) { output.writeMessage(1, savedQueries_.get(i)); } @@ -189,8 +222,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_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,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_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 @@ -397,14 +434,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.ListSavedQueriesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.ListSavedQueriesResponse result) { if (savedQueriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { savedQueries_ = java.util.Collections.unmodifiableList(savedQueries_); @@ -427,38 +468,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ListSavedQueriesResponse re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -466,7 +508,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()) { @@ -485,9 +528,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_); } @@ -524,30 +568,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.SavedQuery m = - input.readMessage( - com.google.cloud.asset.v1.SavedQuery.parser(), - extensionRegistry); - if (savedQueriesBuilder_ == null) { - ensureSavedQueriesIsMutable(); - savedQueries_.add(m); - } else { - savedQueriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.SavedQuery m = + input.readMessage( + com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); + if (savedQueriesBuilder_ == null) { + ensureSavedQueriesIsMutable(); + savedQueries_.add(m); + } else { + savedQueriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,21 +603,29 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -586,6 +640,8 @@ public java.util.List getSavedQueriesList( } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -600,6 +656,8 @@ public int getSavedQueriesCount() { } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -614,14 +672,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(); @@ -635,6 +694,8 @@ public Builder setSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -653,6 +714,8 @@ public Builder setSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -673,14 +736,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(); @@ -694,14 +758,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()); @@ -712,6 +777,8 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -730,6 +797,8 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -740,8 +809,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); @@ -749,6 +817,8 @@ public Builder addAllSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -766,6 +836,8 @@ public Builder clearSavedQueries() { return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -783,39 +855,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 { @@ -823,6 +900,8 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -830,42 +909,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_; @@ -873,19 +958,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; @@ -894,21 +981,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 { @@ -916,30 +1004,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, 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() { @@ -949,27 +1044,31 @@ public Builder clearNextPageToken() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1078,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(); } @@ -993,27 +1092,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java index 9c5fbc9067d6..4bd03e463e93 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java index 696fc633ebc8..8bc018c5792f 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java @@ -1,62 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; } @@ -72,33 +94,40 @@ 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; + @SuppressWarnings("serial") 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 @@ -107,30 +136,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 { @@ -140,11 +169,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 @@ -152,21 +184,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.
    * 
@@ -176,18 +213,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 @@ -195,21 +235,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.
    * 
@@ -219,12 +264,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; @@ -236,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -260,12 +305,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,24 +322,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: @@ -327,130 +371,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +518,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 @@ -489,8 +539,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.MoveAnalysis result = + new com.google.cloud.asset.v1.MoveAnalysis(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -506,12 +559,10 @@ private void buildPartial0(com.google.cloud.asset.v1.MoveAnalysis result) { private void buildPartialOneofs(com.google.cloud.asset.v1.MoveAnalysis result) { result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 2 && - analysisBuilder_ != null) { + if (resultCase_ == 2 && analysisBuilder_ != null) { result.result_ = analysisBuilder_.build(); } - if (resultCase_ == 3 && - errorBuilder_ != null) { + if (resultCase_ == 3 && errorBuilder_ != null) { result.result_ = errorBuilder_.build(); } } @@ -520,38 +571,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.MoveAnalysis result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -566,17 +618,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.getUnknownFields()); onChanged(); @@ -604,31 +659,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAnalysisFieldBuilder().getBuilder(), - extensionRegistry); - resultCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - resultCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAnalysisFieldBuilder().getBuilder(), extensionRegistry); + resultCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + resultCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,12 +693,12 @@ public Builder mergeFrom( } // finally 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() { @@ -657,19 +712,21 @@ public Builder clearResult() { 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; @@ -678,21 +735,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 { @@ -700,30 +758,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000001; 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() { @@ -733,18 +798,22 @@ public Builder clearDisplayName() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000001; @@ -753,13 +822,19 @@ public Builder setDisplayNameBytes( } 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 @@ -767,11 +842,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 @@ -789,6 +867,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { } } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -809,6 +889,8 @@ public Builder setAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -827,6 +909,8 @@ public Builder setAnalysis( return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -835,10 +919,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; } @@ -854,6 +941,8 @@ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -877,6 +966,8 @@ public Builder clearAnalysis() { return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -887,6 +978,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult.Builder getAnalysisBuilder() return getAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -905,6 +998,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -912,14 +1007,19 @@ 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()); @@ -931,13 +1031,17 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } 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 @@ -945,11 +1049,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 @@ -967,6 +1074,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -987,14 +1096,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(); @@ -1005,6 +1115,8 @@ public Builder setError( return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1013,10 +1125,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; } @@ -1032,6 +1145,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1055,6 +1170,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1065,6 +1182,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1083,6 +1202,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1090,26 +1211,27 @@ 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(); 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); } @@ -1119,12 +1241,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(); } @@ -1133,27 +1255,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1168,6 +1290,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveAnalysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java index 48368546d561..9f164624c726 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java similarity index 77% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java index 4cfa3727fe4a..0b2763f9a1ff 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List blockers_; /** + * + * *
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -65,6 +87,8 @@ public java.util.List getBlockersList() {
     return blockers_;
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -73,11 +97,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.
@@ -90,6 +116,8 @@ public int getBlockersCount() {
     return blockers_.size();
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -102,6 +130,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.
@@ -110,15 +140,17 @@ 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;
+
   @SuppressWarnings("serial")
   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
@@ -132,6 +164,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
@@ -141,11 +175,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
@@ -159,6 +195,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
@@ -172,6 +210,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
@@ -181,12 +221,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;
@@ -198,8 +238,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < blockers_.size(); i++) {
       output.writeMessage(1, blockers_.get(i));
     }
@@ -216,12 +255,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -231,17 +268,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -266,130 +302,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +454,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 @@ -433,9 +475,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -469,38 +514,39 @@ private void buildPartial0(com.google.cloud.asset.v1.MoveAnalysisResult result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -527,9 +573,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_); } @@ -553,9 +600,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_); } @@ -587,38 +635,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.MoveImpact m = - input.readMessage( - com.google.cloud.asset.v1.MoveImpact.parser(), - extensionRegistry); - if (blockersBuilder_ == null) { - ensureBlockersIsMutable(); - blockers_.add(m); - } else { - blockersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1.MoveImpact m = - input.readMessage( - com.google.cloud.asset.v1.MoveImpact.parser(), - extensionRegistry); - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.add(m); - } else { - warningsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.MoveImpact m = + input.readMessage( + com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry); + if (blockersBuilder_ == null) { + ensureBlockersIsMutable(); + blockers_.add(m); + } else { + blockersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1.MoveImpact m = + input.readMessage( + com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry); + if (warningsBuilder_ == null) { + ensureWarningsIsMutable(); + warnings_.add(m); + } else { + warningsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -628,21 +677,28 @@ public Builder mergeFrom( } // finally 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.
@@ -658,6 +714,8 @@ public java.util.List getBlockersList() {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -673,6 +731,8 @@ public int getBlockersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -688,6 +748,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.
@@ -695,8 +757,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();
@@ -710,6 +771,8 @@ public Builder setBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -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.
@@ -750,6 +815,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.
@@ -757,8 +824,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();
@@ -772,6 +838,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -779,8 +847,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());
@@ -791,6 +858,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -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.
@@ -821,8 +892,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);
@@ -830,6 +900,8 @@ public Builder addAllBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -848,6 +920,8 @@ public Builder clearBlockers() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -866,6 +940,8 @@ public Builder removeBlockers(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -873,11 +949,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.
@@ -885,14 +962,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.
@@ -900,8 +979,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 {
@@ -909,6 +988,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.
@@ -917,10 +998,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.
@@ -928,12 +1011,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.
@@ -941,38 +1025,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
@@ -989,6 +1081,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
@@ -1005,6 +1099,8 @@ public int getWarningsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1021,6 +1117,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
@@ -1029,8 +1127,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();
@@ -1044,6 +1141,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
@@ -1064,6 +1163,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
@@ -1086,6 +1187,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
@@ -1094,8 +1197,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();
@@ -1109,6 +1211,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
@@ -1117,8 +1221,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());
@@ -1129,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
@@ -1149,6 +1254,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
@@ -1161,8 +1268,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);
@@ -1170,6 +1276,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
@@ -1189,6 +1297,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
@@ -1208,6 +1318,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
@@ -1216,11 +1328,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
@@ -1229,14 +1342,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
@@ -1245,8 +1360,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 {
@@ -1254,6 +1369,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
@@ -1263,10 +1380,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
@@ -1275,12 +1394,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
@@ -1289,27 +1409,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);
     }
 
@@ -1319,12 +1441,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();
   }
@@ -1333,27 +1455,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MoveAnalysisResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1368,6 +1490,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.MoveAnalysisResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
index 2d63ef150fcd..d8b667ad2f22 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
similarity index 64%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
index 0f31a539673f..6222b95a0d23 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
@@ -1,62 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object detail_ = ""; /** + * + * *
    * User friendly impact detail in a free form message.
    * 
* * string detail = 1; + * * @return The detail. */ @java.lang.Override @@ -65,29 +88,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 { @@ -96,6 +119,7 @@ public java.lang.String getDetail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,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_); } @@ -132,15 +155,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,130 +181,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +319,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 @@ -314,7 +341,9 @@ public com.google.cloud.asset.v1.MoveImpact build() { @java.lang.Override public com.google.cloud.asset.v1.MoveImpact buildPartial() { com.google.cloud.asset.v1.MoveImpact result = new com.google.cloud.asset.v1.MoveImpact(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +359,39 @@ private void buildPartial0(com.google.cloud.asset.v1.MoveImpact result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -401,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - detail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + detail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,22 +453,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -445,20 +480,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 { @@ -466,28 +502,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } detail_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; + * * @return This builder for chaining. */ public Builder clearDetail() { @@ -497,26 +540,30 @@ public Builder clearDetail() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); detail_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +573,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(); } @@ -540,27 +587,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveImpact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveImpact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java new file mode 100644 index 000000000000..c6ae2623efc2 --- /dev/null +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java similarity index 100% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java index 1d8e7206793c..8c0b1c859ab3 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java @@ -1,61 +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; /** + * + * *
  * 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; } - 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; } @@ -71,30 +92,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 @@ -102,21 +129,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.
    * 
@@ -126,19 +158,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 @@ -146,22 +181,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.
@@ -172,12 +212,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;
@@ -189,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.v1.GcsDestination) destination_);
     }
@@ -207,12 +247,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -222,7 +264,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);
@@ -232,12 +274,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:
@@ -270,130 +310,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +456,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 @@ -431,8 +477,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.OutputConfig result = + new com.google.cloud.asset.v1.OutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -445,12 +494,10 @@ private void buildPartial0(com.google.cloud.asset.v1.OutputConfig result) { private void buildPartialOneofs(com.google.cloud.asset.v1.OutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && - gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } - if (destinationCase_ == 2 && - bigqueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && bigqueryDestinationBuilder_ != null) { result.destination_ = bigqueryDestinationBuilder_.build(); } } @@ -459,38 +506,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.OutputConfig result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -500,17 +548,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.getUnknownFields()); onChanged(); @@ -538,26 +589,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,12 +618,12 @@ public Builder mergeFrom( } // finally 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() { @@ -585,13 +636,19 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -599,11 +656,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 @@ -621,6 +681,8 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -641,6 +703,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1.GcsDestination value) return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -659,6 +723,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -667,10 +733,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; } @@ -686,6 +755,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination valu return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -709,6 +780,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -719,6 +792,8 @@ public com.google.cloud.asset.v1.GcsDestination.Builder getGcsDestinationBuilder return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -737,6 +812,8 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -744,14 +821,19 @@ 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()); @@ -763,14 +845,20 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } 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 @@ -778,12 +866,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 @@ -801,6 +892,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.
@@ -822,6 +915,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.
@@ -841,6 +936,8 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -850,10 +947,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;
         }
@@ -869,6 +969,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.
@@ -893,6 +995,8 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -904,6 +1008,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.
@@ -912,7 +1018,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 {
@@ -923,6 +1030,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.
@@ -931,14 +1040,19 @@ 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());
@@ -948,9 +1062,9 @@ public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestina
       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);
     }
 
@@ -960,12 +1074,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();
   }
@@ -974,27 +1088,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public OutputConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1009,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
index de717d5a0d5d..ce0fc0dedae4 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
similarity index 67%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
index be38c94fd2f2..8e143f2ce871 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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; } - 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; } @@ -70,29 +91,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 @@ -100,21 +126,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.
    * 
@@ -124,12 +155,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; @@ -141,8 +173,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_); } @@ -156,8 +187,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,7 +199,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); @@ -177,8 +209,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: @@ -207,130 +238,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,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_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 @@ -365,8 +402,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.OutputResult result = + new com.google.cloud.asset.v1.OutputResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -379,8 +419,7 @@ private void buildPartial0(com.google.cloud.asset.v1.OutputResult result) { private void buildPartialOneofs(com.google.cloud.asset.v1.OutputResult result) { result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 1 && - gcsResultBuilder_ != null) { + if (resultCase_ == 1 && gcsResultBuilder_ != null) { result.result_ = gcsResultBuilder_.build(); } } @@ -389,38 +428,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.OutputResult result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -430,13 +470,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.getUnknownFields()); onChanged(); @@ -464,19 +506,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsResultFieldBuilder().getBuilder(), - extensionRegistry); - resultCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsResultFieldBuilder().getBuilder(), extensionRegistry); + resultCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,12 +528,12 @@ public Builder mergeFrom( } // finally 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() { @@ -504,13 +546,19 @@ public Builder clearResult() { private int bitField0_; 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 @@ -518,11 +566,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 @@ -540,6 +591,8 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -560,14 +613,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(); @@ -578,6 +632,8 @@ public Builder setGcsResult( return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -586,10 +642,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; } @@ -605,6 +664,8 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -628,6 +689,8 @@ public Builder clearGcsResult() { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -638,6 +701,8 @@ public com.google.cloud.asset.v1.GcsOutputResult.Builder getGcsResultBuilder() { return getGcsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -656,6 +721,8 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -663,14 +730,19 @@ 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()); @@ -680,9 +752,9 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( 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); } @@ -692,12 +764,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(); } @@ -706,27 +778,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +813,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java similarity index 60% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java index 68dc7c1ed1ae..454ff49af346 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java similarity index 68% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java index e277155c5560..37188c3df996 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * 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.
      * 
@@ -70,6 +92,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,
@@ -82,6 +106,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
@@ -96,6 +122,8 @@ public enum PartitionKey
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -104,6 +132,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,
@@ -116,6 +146,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
@@ -127,7 +159,6 @@ public enum PartitionKey
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -152,49 +183,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;
@@ -214,30 +245,42 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   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; + * * @return The partitionKey. */ - @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.forNumber(partitionKey_); - return result == null ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { + com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = + com.google.cloud.asset.v1.PartitionSpec.PartitionKey.forNumber(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; @@ -249,9 +292,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_); } getUnknownFields().writeTo(output); @@ -263,9 +307,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,7 +320,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); @@ -301,130 +346,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,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 @@ -455,8 +506,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.PartitionSpec result = + new com.google.cloud.asset.v1.PartitionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -472,38 +526,39 @@ private void buildPartial0(com.google.cloud.asset.v1.PartitionSpec result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -541,17 +596,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - partitionKey_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + partitionKey_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,26 +618,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. */ @@ -591,24 +656,33 @@ public Builder setPartitionKeyValue(int value) { 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() { - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.forNumber(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.forNumber(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. */ @@ -622,11 +696,14 @@ public Builder setPartitionKey(com.google.cloud.asset.v1.PartitionSpec.Partition 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() { @@ -635,9 +712,9 @@ public Builder clearPartitionKey() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -647,12 +724,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(); } @@ -661,27 +738,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -696,6 +773,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java similarity index 55% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java index 0dd5bf8780fd..78bec335e2aa 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java similarity index 65% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java index a1023d111114..56f7943330d9 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; + @SuppressWarnings("serial") 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 @@ -66,30 +89,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 { @@ -98,6 +121,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +133,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_); } @@ -134,15 +157,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +184,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +323,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 @@ -315,8 +344,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.PubsubDestination result = + new com.google.cloud.asset.v1.PubsubDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +364,39 @@ private void buildPartial0(com.google.cloud.asset.v1.PubsubDestination result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -403,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - topic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + topic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +458,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -448,21 +486,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 { @@ -470,30 +509,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTopic(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } topic_ = value; bitField0_ |= 0x00000001; 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() { @@ -503,27 +549,31 @@ public Builder clearTopic() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTopicBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); topic_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +583,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(); } @@ -547,27 +597,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java similarity index 50% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java index 05bb241e5e96..ba1e2e54c2b7 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java similarity index 68% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java index c326563be666..2d628595d719 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfig.java @@ -1,79 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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 query assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig} */ -public final class QueryAssetsOutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryAssetsOutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryAssetsOutputConfig) QueryAssetsOutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryAssetsOutputConfig.newBuilder() to construct. private QueryAssetsOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryAssetsOutputConfig() { - } + + private QueryAssetsOutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryAssetsOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); } - public interface BigQueryDestinationOrBuilder extends + public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The BigQuery dataset where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
      * Required. The BigQuery dataset where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * 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 where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -81,10 +107,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
      * Required. The BigQuery table where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -92,12 +121,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(); /** + * + * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -111,10 +142,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string write_disposition = 3; + * * @return The writeDisposition. */ java.lang.String getWriteDisposition(); /** + * + * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -128,27 +162,30 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string write_disposition = 3; + * * @return The bytes for writeDisposition. */ - com.google.protobuf.ByteString - getWriteDispositionBytes(); + com.google.protobuf.ByteString getWriteDispositionBytes(); } /** + * + * *
    * BigQuery destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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_ = ""; @@ -157,39 +194,44 @@ 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; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_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_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder.class); } public static final int DATASET_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** + * + * *
      * Required. The BigQuery dataset where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -198,30 +240,30 @@ 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 where the query results will be saved. It
      * has the format of "projects/{projectId}/datasets/{datasetId}".
      * 
* * 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 { @@ -230,9 +272,12 @@ public java.lang.String getDataset() { } public static final int TABLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** + * + * *
      * Required. The BigQuery table where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -240,6 +285,7 @@ public java.lang.String getDataset() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -248,14 +294,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 where the query results will be saved. If
      * this table does not exist, a new table with the given name will be
@@ -263,16 +310,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 { @@ -281,9 +327,12 @@ public java.lang.String getTable() { } public static final int WRITE_DISPOSITION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object writeDisposition_ = ""; /** + * + * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -297,6 +346,7 @@ public java.lang.String getTable() {
      * 
* * string write_disposition = 3; + * * @return The writeDisposition. */ @java.lang.Override @@ -305,14 +355,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; } } /** + * + * *
      * Specifies the action that occurs if the destination table or partition
      * already exists. The following values are supported:
@@ -326,16 +377,15 @@ public java.lang.String getWriteDisposition() {
      * 
* * string write_disposition = 3; + * * @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 { @@ -344,6 +394,7 @@ public java.lang.String getWriteDisposition() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,8 +406,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_); } @@ -392,19 +442,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.QueryAssetsOutputConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other = (com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) obj; + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other = + (com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) obj; - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTable() - .equals(other.getTable())) return false; - if (!getWriteDisposition() - .equals(other.getWriteDisposition())) return false; + if (!getDataset().equals(other.getDataset())) return false; + if (!getTable().equals(other.getTable())) return false; + if (!getWriteDisposition().equals(other.getWriteDisposition())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -428,87 +476,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.QueryAssetsOutputConfig.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 @@ -518,39 +574,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * BigQuery destination.
      * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig.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.QueryAssetsOutputConfig.BigQueryDestination) com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_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_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.class, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder + .class); } - // Construct using com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -562,19 +622,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_QueryAssetsOutputConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getDefaultInstanceForType() { - return com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance(); + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination build() { - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = buildPartial(); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -583,13 +646,17 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bui @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result = + new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result) { + private void buildPartial0( + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataset_ = dataset_; @@ -606,46 +673,54 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig.Big public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.QueryAssetsOutputConfig.BigQueryDestination) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination)other); + if (other + instanceof com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) { + return mergeFrom( + (com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other) { - if (other == com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination other) { + if (other + == com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + .getDefaultInstance()) return this; if (!other.getDataset().isEmpty()) { dataset_ = other.dataset_; bitField0_ |= 0x00000001; @@ -687,27 +762,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - writeDisposition_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + writeDisposition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -717,23 +796,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dataset_ = ""; /** + * + * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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; @@ -742,21 +824,22 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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 { @@ -764,30 +847,37 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -797,18 +887,22 @@ public Builder clearDataset() { return this; } /** + * + * *
        * Required. The BigQuery dataset where the query results will be saved. It
        * has the format of "projects/{projectId}/datasets/{datasetId}".
        * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -818,6 +912,8 @@ public Builder setDatasetBytes( private java.lang.Object table_ = ""; /** + * + * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -825,13 +921,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; @@ -840,6 +936,8 @@ public java.lang.String getTable() { } } /** + * + * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -847,15 +945,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 { @@ -863,6 +960,8 @@ public java.lang.String getTable() { } } /** + * + * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -870,18 +969,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -889,6 +992,7 @@ public Builder setTable(
        * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -898,6 +1002,8 @@ public Builder clearTable() { return this; } /** + * + * *
        * Required. The BigQuery table where the query results will be saved. If
        * this table does not exist, a new table with the given name will be
@@ -905,12 +1011,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000002; @@ -920,6 +1028,8 @@ public Builder setTableBytes( private java.lang.Object writeDisposition_ = ""; /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -933,13 +1043,13 @@ public Builder setTableBytes(
        * 
* * string write_disposition = 3; + * * @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; @@ -948,6 +1058,8 @@ public java.lang.String getWriteDisposition() { } } /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -961,15 +1073,14 @@ public java.lang.String getWriteDisposition() {
        * 
* * string write_disposition = 3; + * * @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 { @@ -977,6 +1088,8 @@ public java.lang.String getWriteDisposition() { } } /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -990,18 +1103,22 @@ public java.lang.String getWriteDisposition() {
        * 
* * string write_disposition = 3; + * * @param value The writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDisposition( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteDisposition(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeDisposition_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1015,6 +1132,7 @@ public Builder setWriteDisposition(
        * 
* * string write_disposition = 3; + * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -1024,6 +1142,8 @@ public Builder clearWriteDisposition() { return this; } /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1037,18 +1157,21 @@ public Builder clearWriteDisposition() {
        * 
* * string write_disposition = 3; + * * @param value The bytes for writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDispositionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteDispositionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeDisposition_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1061,41 +1184,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination) - private static final com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination(); } - public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getDefaultInstance() { + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,20 +1234,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getDefaultInstanceForType() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 1; - private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigqueryDestination_; + private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + bigqueryDestination_; /** + * + * *
    * BigQuery destination where the query results will be saved.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -1128,30 +1261,46 @@ public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } /** + * + * *
    * BigQuery destination where the query results will be saved.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination() { - return bigqueryDestination_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + getBigqueryDestination() { + return bigqueryDestination_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() + : bigqueryDestination_; } /** + * + * *
    * BigQuery destination where the query results will be saved.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { - return bigqueryDestination_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { + return bigqueryDestination_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() + : bigqueryDestination_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1163,8 +1312,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 (bigqueryDestination_ != null) { output.writeMessage(1, getBigqueryDestination()); } @@ -1178,8 +1326,7 @@ public int getSerializedSize() { size = 0; if (bigqueryDestination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryDestination()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1189,17 +1336,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.QueryAssetsOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1.QueryAssetsOutputConfig other = (com.google.cloud.asset.v1.QueryAssetsOutputConfig) obj; + com.google.cloud.asset.v1.QueryAssetsOutputConfig other = + (com.google.cloud.asset.v1.QueryAssetsOutputConfig) obj; if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; if (hasBigqueryDestination()) { - if (!getBigqueryDestination() - .equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1222,129 +1369,135 @@ public int hashCode() { } public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( - java.nio.ByteBuffer 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.QueryAssetsOutputConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.QueryAssetsOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( com.google.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.QueryAssetsOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.QueryAssetsOutputConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.QueryAssetsOutputConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.QueryAssetsOutputConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.QueryAssetsOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.QueryAssetsOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.QueryAssetsOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 query assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsOutputConfig} */ - public static final class Builder extends - com.google.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.QueryAssetsOutputConfig) com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); + com.google.cloud.asset.v1.QueryAssetsOutputConfig.class, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.QueryAssetsOutputConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1358,9 +1511,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_QueryAssetsOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor; } @java.lang.Override @@ -1379,8 +1532,11 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig buildPartial() { - com.google.cloud.asset.v1.QueryAssetsOutputConfig result = new com.google.cloud.asset.v1.QueryAssetsOutputConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.QueryAssetsOutputConfig result = + new com.google.cloud.asset.v1.QueryAssetsOutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1388,9 +1544,10 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.bigqueryDestination_ = bigqueryDestinationBuilder_ == null - ? bigqueryDestination_ - : bigqueryDestinationBuilder_.build(); + result.bigqueryDestination_ = + bigqueryDestinationBuilder_ == null + ? bigqueryDestination_ + : bigqueryDestinationBuilder_.build(); } } @@ -1398,38 +1555,39 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsOutputConfig res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.QueryAssetsOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsOutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsOutputConfig) other); } else { super.mergeFrom(other); return this; @@ -1437,7 +1595,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsOutputConfig other) { - if (other == com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) + return this; if (other.hasBigqueryDestination()) { mergeBigqueryDestination(other.getBigqueryDestination()); } @@ -1467,19 +1626,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1489,45 +1649,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigqueryDestination_; + private com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + bigqueryDestination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ public boolean hasBigqueryDestination() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { - return bigqueryDestination_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + return bigqueryDestination_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } else { return bigqueryDestinationBuilder_.getMessage(); } } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ - public Builder setBigqueryDestination(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { + public Builder setBigqueryDestination( + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1541,14 +1725,19 @@ public Builder setBigqueryDestination(com.google.cloud.asset.v1.QueryAssetsOutpu return this; } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ public Builder setBigqueryDestination( - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder builderForValue) { + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder + builderForValue) { if (bigqueryDestinationBuilder_ == null) { bigqueryDestination_ = builderForValue.build(); } else { @@ -1559,17 +1748,24 @@ public Builder setBigqueryDestination( return this; } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ - public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination( + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bigqueryDestination_ != null && - bigqueryDestination_ != com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bigqueryDestination_ != null + && bigqueryDestination_ + != com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + .getDefaultInstance()) { getBigqueryDestinationBuilder().mergeFrom(value); } else { bigqueryDestination_ = value; @@ -1582,11 +1778,15 @@ public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.QueryAssetsOut return this; } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ public Builder clearBigqueryDestination() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1599,55 +1799,74 @@ public Builder clearBigqueryDestination() { return this; } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder + getBigqueryDestinationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBigqueryDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ - public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { if (bigqueryDestinationBuilder_ != null) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { - return bigqueryDestination_ == null ? - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + return bigqueryDestination_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } } /** + * + * *
      * BigQuery destination where the query results will be saved.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { - bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder>( - getBigqueryDestination(), - getParentForChildren(), - isClean()); + bigqueryDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder>( + getBigqueryDestination(), getParentForChildren(), isClean()); bigqueryDestination_ = null; } 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); } @@ -1657,12 +1876,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsOutputConfig) private static final com.google.cloud.asset.v1.QueryAssetsOutputConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsOutputConfig(); } @@ -1671,27 +1890,27 @@ public static com.google.cloud.asset.v1.QueryAssetsOutputConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryAssetsOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryAssetsOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1706,6 +1925,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.QueryAssetsOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java new file mode 100644 index 000000000000..20ecdf921721 --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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 QueryAssetsOutputConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsOutputConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * BigQuery destination where the query results will be saved.
+   * 
+ * + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * + * @return Whether the bigqueryDestination field is set. + */ + boolean hasBigqueryDestination(); + /** + * + * + *
+   * BigQuery destination where the query results will be saved.
+   * 
+ * + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + * + * @return The bigqueryDestination. + */ + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination(); + /** + * + * + *
+   * BigQuery destination where the query results will be saved.
+   * 
+ * + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; + * + */ + com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder(); +} diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java index 8c960d2cad3a..8c18ad5b105d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequest.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; /** + * + * *
  * QueryAssets request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsRequest} */ -public final class QueryAssetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryAssetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryAssetsRequest) QueryAssetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryAssetsRequest.newBuilder() to construct. private QueryAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryAssetsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,42 @@ private QueryAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsRequest.class, com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); + com.google.cloud.asset.v1.QueryAssetsRequest.class, + com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); } private int queryCase_ = 0; private java.lang.Object query_; + public enum QueryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STATEMENT(2), JOB_REFERENCE(3), QUERY_NOT_SET(0); private final int value; + private QueryCase(int value) { this.value = value; } @@ -73,32 +95,38 @@ public static QueryCase valueOf(int value) { public static QueryCase forNumber(int value) { switch (value) { - case 2: return STATEMENT; - case 3: return JOB_REFERENCE; - case 0: return QUERY_NOT_SET; - default: return null; + case 2: + return STATEMENT; + case 3: + return JOB_REFERENCE; + case 0: + return QUERY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryCase - getQueryCase() { - return QueryCase.forNumber( - queryCase_); + public QueryCase getQueryCase() { + return QueryCase.forNumber(queryCase_); } private int timeCase_ = 0; private java.lang.Object time_; + public enum TimeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME_WINDOW(7), READ_TIME(8), TIME_NOT_SET(0); private final int value; + private TimeCase(int value) { this.value = value; } @@ -114,27 +142,33 @@ public static TimeCase valueOf(int value) { public static TimeCase forNumber(int value) { switch (value) { - case 7: return READ_TIME_WINDOW; - case 8: return READ_TIME; - case 0: return TIME_NOT_SET; - default: return null; + case 7: + return READ_TIME_WINDOW; + case 8: + return READ_TIME; + case 0: + return TIME_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TimeCase - getTimeCase() { - return TimeCase.forNumber( - timeCase_); + public TimeCase getTimeCase() { + return TimeCase.forNumber(timeCase_); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") 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
@@ -143,7 +177,10 @@ public int getNumber() {
    * Only assets belonging to the `parent` will be returned.
    * 
* - * string parent = 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 @@ -152,14 +189,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
@@ -168,17 +206,18 @@ public java.lang.String getParent() {
    * Only assets belonging to the `parent` will be returned.
    * 
* - * string parent = 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 { @@ -188,24 +227,30 @@ public java.lang.String getParent() { public static final int STATEMENT_FIELD_NUMBER = 2; /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the statement field is set. */ public boolean hasStatement() { return queryCase_ == 2; } /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The statement. */ public java.lang.String getStatement() { @@ -216,8 +261,7 @@ public java.lang.String getStatement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (queryCase_ == 2) { query_ = s; @@ -226,24 +270,25 @@ public java.lang.String getStatement() { } } /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for statement. */ - public com.google.protobuf.ByteString - getStatementBytes() { + public com.google.protobuf.ByteString getStatementBytes() { java.lang.Object ref = ""; if (queryCase_ == 2) { 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); if (queryCase_ == 2) { query_ = b; } @@ -255,24 +300,30 @@ public java.lang.String getStatement() { public static final int JOB_REFERENCE_FIELD_NUMBER = 3; /** + * + * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the jobReference field is set. */ public boolean hasJobReference() { return queryCase_ == 3; } /** + * + * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jobReference. */ public java.lang.String getJobReference() { @@ -283,8 +334,7 @@ public java.lang.String getJobReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (queryCase_ == 3) { query_ = s; @@ -293,24 +343,25 @@ public java.lang.String getJobReference() { } } /** + * + * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for jobReference. */ - public com.google.protobuf.ByteString - getJobReferenceBytes() { + public com.google.protobuf.ByteString getJobReferenceBytes() { java.lang.Object ref = ""; if (queryCase_ == 3) { 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); if (queryCase_ == 3) { query_ = b; } @@ -323,6 +374,8 @@ public java.lang.String getJobReference() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of rows to return in the results. Responses
    * are limited to 10 MB and 1000 rows.
@@ -332,6 +385,7 @@ public java.lang.String getJobReference() {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -340,15 +394,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -357,30 +415,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * 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 { @@ -391,6 +449,8 @@ public java.lang.String getPageToken() { public static final int TIMEOUT_FIELD_NUMBER = 6; private com.google.protobuf.Duration timeout_; /** + * + * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -406,6 +466,7 @@ public java.lang.String getPageToken() {
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the timeout field is set. */ @java.lang.Override @@ -413,6 +474,8 @@ public boolean hasTimeout() { return timeout_ != null; } /** + * + * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -428,6 +491,7 @@ public boolean hasTimeout() {
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The timeout. */ @java.lang.Override @@ -435,6 +499,8 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** + * + * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -458,13 +524,18 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
 
   public static final int READ_TIME_WINDOW_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTimeWindow field is set. */ @java.lang.Override @@ -472,47 +543,60 @@ public boolean hasReadTimeWindow() { return timeCase_ == 7; } /** + * + * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTimeWindow. */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { if (timeCase_ == 7) { - return (com.google.cloud.asset.v1.TimeWindow) time_; + return (com.google.cloud.asset.v1.TimeWindow) time_; } return com.google.cloud.asset.v1.TimeWindow.getDefaultInstance(); } /** + * + * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { if (timeCase_ == 7) { - return (com.google.cloud.asset.v1.TimeWindow) time_; + return (com.google.cloud.asset.v1.TimeWindow) time_; } return com.google.cloud.asset.v1.TimeWindow.getDefaultInstance(); } public static final int READ_TIME_FIELD_NUMBER = 8; /** + * + * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -520,33 +604,40 @@ public boolean hasReadTime() { return timeCase_ == 8; } /** + * + * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (timeCase_ == 8) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (timeCase_ == 8) { - return (com.google.protobuf.Timestamp) time_; + return (com.google.protobuf.Timestamp) time_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } @@ -554,6 +645,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.asset.v1.QueryAssetsOutputConfig outputConfig_; /** + * + * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -564,7 +657,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * [QueryAssets] API call.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -572,6 +668,8 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -582,14 +680,21 @@ public boolean hasOutputConfig() {
    * [QueryAssets] API call.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -600,14 +705,19 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() {
    * [QueryAssets] API call.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() + : outputConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -619,8 +729,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_); } @@ -667,27 +776,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, query_); } 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_); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getTimeout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimeout()); } if (timeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.asset.v1.TimeWindow) time_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.asset.v1.TimeWindow) time_); } if (timeCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.protobuf.Timestamp) time_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.protobuf.Timestamp) time_); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getOutputConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -697,38 +805,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.QueryAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.QueryAssetsRequest other = (com.google.cloud.asset.v1.QueryAssetsRequest) obj; + com.google.cloud.asset.v1.QueryAssetsRequest other = + (com.google.cloud.asset.v1.QueryAssetsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout() - .equals(other.getTimeout())) return false; + if (!getTimeout().equals(other.getTimeout())) 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 (!getQueryCase().equals(other.getQueryCase())) return false; switch (queryCase_) { case 2: - if (!getStatement() - .equals(other.getStatement())) return false; + if (!getStatement().equals(other.getStatement())) return false; break; case 3: - if (!getJobReference() - .equals(other.getJobReference())) return false; + if (!getJobReference().equals(other.getJobReference())) return false; break; case 0: default: @@ -736,12 +838,10 @@ public boolean equals(final java.lang.Object obj) { if (!getTimeCase().equals(other.getTimeCase())) return false; switch (timeCase_) { case 7: - if (!getReadTimeWindow() - .equals(other.getReadTimeWindow())) return false; + if (!getReadTimeWindow().equals(other.getReadTimeWindow())) return false; break; case 8: - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; break; case 0: default: @@ -800,130 +900,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.QueryAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( com.google.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.QueryAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryAssetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.QueryAssetsRequest 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.QueryAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.QueryAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.QueryAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.QueryAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.QueryAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.QueryAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.QueryAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * QueryAssets request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsRequest} */ - public static final class Builder extends - com.google.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.QueryAssetsRequest) com.google.cloud.asset.v1.QueryAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsRequest.class, com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); + com.google.cloud.asset.v1.QueryAssetsRequest.class, + com.google.cloud.asset.v1.QueryAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.QueryAssetsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -955,9 +1061,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_QueryAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; } @java.lang.Override @@ -976,8 +1082,11 @@ public com.google.cloud.asset.v1.QueryAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsRequest buildPartial() { - com.google.cloud.asset.v1.QueryAssetsRequest result = new com.google.cloud.asset.v1.QueryAssetsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.QueryAssetsRequest result = + new com.google.cloud.asset.v1.QueryAssetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -995,14 +1104,11 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsRequest result) result.pageToken_ = pageToken_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.timeout_ = timeoutBuilder_ == null - ? timeout_ - : timeoutBuilder_.build(); + result.timeout_ = timeoutBuilder_ == null ? timeout_ : timeoutBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.outputConfig_ = outputConfigBuilder_ == null - ? outputConfig_ - : outputConfigBuilder_.build(); + result.outputConfig_ = + outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); } } @@ -1011,12 +1117,10 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsRequest res result.query_ = this.query_; result.timeCase_ = timeCase_; result.time_ = this.time_; - if (timeCase_ == 7 && - readTimeWindowBuilder_ != null) { + if (timeCase_ == 7 && readTimeWindowBuilder_ != null) { result.time_ = readTimeWindowBuilder_.build(); } - if (timeCase_ == 8 && - readTimeBuilder_ != null) { + if (timeCase_ == 8 && readTimeBuilder_ != null) { result.time_ = readTimeBuilder_.build(); } } @@ -1025,38 +1129,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.QueryAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsRequest)other); + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsRequest) other); } else { super.mergeFrom(other); return this; @@ -1085,34 +1190,40 @@ public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsRequest other) { mergeOutputConfig(other.getOutputConfig()); } switch (other.getQueryCase()) { - case STATEMENT: { - queryCase_ = 2; - query_ = other.query_; - onChanged(); - break; - } - case JOB_REFERENCE: { - queryCase_ = 3; - query_ = other.query_; - onChanged(); - break; - } - case QUERY_NOT_SET: { - break; - } + case STATEMENT: + { + queryCase_ = 2; + query_ = other.query_; + onChanged(); + break; + } + case JOB_REFERENCE: + { + queryCase_ = 3; + query_ = other.query_; + onChanged(); + break; + } + case QUERY_NOT_SET: + { + break; + } } switch (other.getTimeCase()) { - case READ_TIME_WINDOW: { - mergeReadTimeWindow(other.getReadTimeWindow()); - break; - } - case READ_TIME: { - mergeReadTime(other.getReadTime()); - break; - } - case TIME_NOT_SET: { - break; - } + case READ_TIME_WINDOW: + { + mergeReadTimeWindow(other.getReadTimeWindow()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case TIME_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1140,67 +1251,69 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - queryCase_ = 2; - query_ = s; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - queryCase_ = 3; - query_ = s; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getTimeoutFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getReadTimeWindowFieldBuilder().getBuilder(), - extensionRegistry); - timeCase_ = 7; - break; - } // case 58 - case 66: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - timeCase_ = 8; - break; - } // case 66 - case 74: { - input.readMessage( - getOutputConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + queryCase_ = 2; + query_ = s; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + queryCase_ = 3; + query_ = s; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage(getReadTimeWindowFieldBuilder().getBuilder(), extensionRegistry); + timeCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + timeCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1210,12 +1323,12 @@ public Builder mergeFrom( } // finally return this; } + private int queryCase_ = 0; private java.lang.Object query_; - public QueryCase - getQueryCase() { - return QueryCase.forNumber( - queryCase_); + + public QueryCase getQueryCase() { + return QueryCase.forNumber(queryCase_); } public Builder clearQuery() { @@ -1227,10 +1340,9 @@ public Builder clearQuery() { private int timeCase_ = 0; private java.lang.Object time_; - public TimeCase - getTimeCase() { - return TimeCase.forNumber( - timeCase_); + + public TimeCase getTimeCase() { + return TimeCase.forNumber(timeCase_); } public Builder clearTime() { @@ -1244,6 +1356,8 @@ public Builder clearTime() { 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
@@ -1252,14 +1366,16 @@ public Builder clearTime() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * string parent = 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; @@ -1268,6 +1384,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
@@ -1276,16 +1394,17 @@ public java.lang.String getParent() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * string parent = 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 { @@ -1293,6 +1412,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
@@ -1301,19 +1422,25 @@ public java.lang.String getParent() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1322,7 +1449,10 @@ public Builder setParent(
      * Only assets belonging to the `parent` will be returned.
      * 
* - * string 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() { @@ -1332,6 +1462,8 @@ public Builder clearParent() { 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
@@ -1340,13 +1472,17 @@ public Builder clearParent() {
      * Only assets belonging to the `parent` will be returned.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1355,12 +1491,15 @@ public Builder setParentBytes( } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the statement field is set. */ @java.lang.Override @@ -1368,12 +1507,15 @@ public boolean hasStatement() { return queryCase_ == 2; } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The statement. */ @java.lang.Override @@ -1383,8 +1525,7 @@ public java.lang.String getStatement() { 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(); if (queryCase_ == 2) { query_ = s; @@ -1395,25 +1536,26 @@ public java.lang.String getStatement() { } } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for statement. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatementBytes() { + public com.google.protobuf.ByteString getStatementBytes() { java.lang.Object ref = ""; if (queryCase_ == 2) { 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); if (queryCase_ == 2) { query_ = b; } @@ -1423,30 +1565,37 @@ public java.lang.String getStatement() { } } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The statement to set. * @return This builder for chaining. */ - public Builder setStatement( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatement(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryCase_ = 2; query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStatement() { @@ -1458,18 +1607,22 @@ public Builder clearStatement() { return this; } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery Standard
      * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for statement to set. * @return This builder for chaining. */ - public Builder setStatementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatementBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryCase_ = 2; query_ = value; @@ -1478,12 +1631,15 @@ public Builder setStatementBytes( } /** + * + * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the jobReference field is set. */ @java.lang.Override @@ -1491,12 +1647,15 @@ public boolean hasJobReference() { return queryCase_ == 3; } /** + * + * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jobReference. */ @java.lang.Override @@ -1506,8 +1665,7 @@ public java.lang.String getJobReference() { 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(); if (queryCase_ == 3) { query_ = s; @@ -1518,25 +1676,26 @@ public java.lang.String getJobReference() { } } /** + * + * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for jobReference. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobReferenceBytes() { + public com.google.protobuf.ByteString getJobReferenceBytes() { java.lang.Object ref = ""; if (queryCase_ == 3) { 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); if (queryCase_ == 3) { query_ = b; } @@ -1546,30 +1705,37 @@ public java.lang.String getJobReference() { } } /** + * + * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The jobReference to set. * @return This builder for chaining. */ - public Builder setJobReference( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobReference(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryCase_ = 3; query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearJobReference() { @@ -1581,18 +1747,22 @@ public Builder clearJobReference() { return this; } /** + * + * *
      * Optional. Reference to the query job, which is from the
      * `QueryAssetsResponse` of previous `QueryAssets` call.
      * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for jobReference to set. * @return This builder for chaining. */ - public Builder setJobReferenceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryCase_ = 3; query_ = value; @@ -1600,8 +1770,10 @@ public Builder setJobReferenceBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1611,6 +1783,7 @@ public Builder setJobReferenceBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1618,6 +1791,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1627,17 +1802,20 @@ 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; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1647,6 +1825,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1658,19 +1837,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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; @@ -1679,21 +1860,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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 { @@ -1701,30 +1883,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1734,18 +1923,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      * The field will be ignored when [output_config] is specified.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; @@ -1755,8 +1948,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeoutBuilder_; /** + * + * *
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1772,12 +1970,15 @@ public Builder setPageTokenBytes(
      * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1793,6 +1994,7 @@ public boolean hasTimeout() {
      * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -1803,6 +2005,8 @@ public com.google.protobuf.Duration getTimeout() { } } /** + * + * *
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1833,6 +2037,8 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1849,8 +2055,7 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder setTimeout(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeoutBuilder_ == null) {
         timeout_ = builderForValue.build();
       } else {
@@ -1861,6 +2066,8 @@ public Builder setTimeout(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1879,9 +2086,9 @@ public Builder setTimeout(
      */
     public Builder mergeTimeout(com.google.protobuf.Duration value) {
       if (timeoutBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          timeout_ != null &&
-          timeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && timeout_ != null
+            && timeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getTimeoutBuilder().mergeFrom(value);
         } else {
           timeout_ = value;
@@ -1894,6 +2101,8 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1921,6 +2130,8 @@ public Builder clearTimeout() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1943,6 +2154,8 @@ public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
       return getTimeoutFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1963,11 +2176,12 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
       if (timeoutBuilder_ != null) {
         return timeoutBuilder_.getMessageOrBuilder();
       } else {
-        return timeout_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeout_;
+        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies the maximum amount of time that the client is willing
      * to wait for the query to complete. By default, this limit is 5 min for the
@@ -1985,29 +2199,40 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * .google.protobuf.Duration timeout = 6 [(.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>
         getTimeoutFieldBuilder() {
       if (timeoutBuilder_ == null) {
-        timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeout(),
-                getParentForChildren(),
-                isClean());
+        timeoutBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeout(), getParentForChildren(), isClean());
         timeout_ = null;
       }
       return timeoutBuilder_;
     }
 
     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. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTimeWindow field is set. */ @java.lang.Override @@ -2015,13 +2240,18 @@ public boolean hasReadTimeWindow() { return timeCase_ == 7; } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTimeWindow. */ @java.lang.Override @@ -2039,13 +2269,17 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { } } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { @@ -2061,16 +2295,19 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.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) { time_ = builderForValue.build(); onChanged(); @@ -2081,20 +2318,26 @@ public Builder setReadTimeWindow( return this; } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { - if (timeCase_ == 7 && - time_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { - time_ = com.google.cloud.asset.v1.TimeWindow.newBuilder((com.google.cloud.asset.v1.TimeWindow) time_) - .mergeFrom(value).buildPartial(); + if (timeCase_ == 7 && time_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { + time_ = + com.google.cloud.asset.v1.TimeWindow.newBuilder( + (com.google.cloud.asset.v1.TimeWindow) time_) + .mergeFrom(value) + .buildPartial(); } else { time_ = value; } @@ -2110,13 +2353,17 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadTimeWindow() { if (readTimeWindowBuilder_ == null) { @@ -2135,25 +2382,33 @@ public Builder clearReadTimeWindow() { return this; } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() { return getReadTimeWindowFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { @@ -2167,26 +2422,33 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( } } /** + * + * *
      * Optional. [start_time] is required. [start_time] must be less than
      * [end_time] Defaults [end_time] to now if [start_time] is set and
      * [end_time] isn't. Maximum permitted time range is 7 days.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.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) { if (!(timeCase_ == 7)) { time_ = com.google.cloud.asset.v1.TimeWindow.getDefaultInstance(); } - 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>( - (com.google.cloud.asset.v1.TimeWindow) time_, - 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>( + (com.google.cloud.asset.v1.TimeWindow) time_, getParentForChildren(), isClean()); time_ = null; } timeCase_ = 7; @@ -2195,14 +2457,21 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( } 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_; /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -2210,12 +2479,16 @@ public boolean hasReadTime() { return timeCase_ == 8; } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTime. */ @java.lang.Override @@ -2233,12 +2506,15 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { @@ -2254,15 +2530,17 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -2273,19 +2551,23 @@ public Builder setReadTime( return this; } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (timeCase_ == 8 && - time_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - time_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_) - .mergeFrom(value).buildPartial(); + if (timeCase_ == 8 && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + time_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) time_) + .mergeFrom(value) + .buildPartial(); } else { time_ = value; } @@ -2301,12 +2583,15 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadTime() { if (readTimeBuilder_ == null) { @@ -2325,23 +2610,29 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { @@ -2355,25 +2646,31 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } } /** + * + * *
      * Optional. Queries cloud assets as they appeared at the specified point in
      * time.
      * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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) { if (!(timeCase_ == 8)) { time_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) time_, - getParentForChildren(), - isClean()); + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) time_, getParentForChildren(), isClean()); time_ = null; } timeCase_ = 8; @@ -2383,8 +2680,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1.QueryAssetsOutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1.QueryAssetsOutputConfig, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2395,13 +2697,18 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2412,17 +2719,24 @@ public boolean hasOutputConfig() {
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The outputConfig. */ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2433,7 +2747,9 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() {
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -2449,6 +2765,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2459,7 +2777,9 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setOutputConfig( com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder builderForValue) { @@ -2473,6 +2793,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2483,13 +2805,16 @@ public Builder setOutputConfig(
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && outputConfig_ != null + && outputConfig_ + != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -2502,6 +2827,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2512,7 +2839,9 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearOutputConfig() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2525,6 +2854,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2535,7 +2866,9 @@ public Builder clearOutputConfig() {
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfigBuilder() { bitField0_ |= 0x00000100; @@ -2543,6 +2876,8 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2553,17 +2888,22 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Optional. Destination where the query results will be saved.
      * When this field is specified, the query results won't be saved in the
@@ -2574,24 +2914,29 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
      * [QueryAssets] API call.
      * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> + com.google.cloud.asset.v1.QueryAssetsOutputConfig, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.QueryAssetsOutputConfig, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>( + 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); } @@ -2601,12 +2946,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsRequest) private static final com.google.cloud.asset.v1.QueryAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsRequest(); } @@ -2615,27 +2960,27 @@ public static com.google.cloud.asset.v1.QueryAssetsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2650,6 +2995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.QueryAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java index a60e2dde9c84..492eae53ad0e 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsRequestOrBuilder.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 QueryAssetsRequestOrBuilder extends +public interface QueryAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsRequest) 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
@@ -16,11 +34,16 @@ public interface QueryAssetsRequestOrBuilder extends
    * Only assets belonging to the `parent` will be returned.
    * 
* - * string parent = 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
@@ -29,77 +52,97 @@ public interface QueryAssetsRequestOrBuilder extends
    * Only assets belonging to the `parent` will be returned.
    * 
* - * string parent = 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. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the statement field is set. */ boolean hasStatement(); /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The statement. */ java.lang.String getStatement(); /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery Standard
    * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for statement. */ - com.google.protobuf.ByteString - getStatementBytes(); + com.google.protobuf.ByteString getStatementBytes(); /** + * + * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the jobReference field is set. */ boolean hasJobReference(); /** + * + * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jobReference. */ java.lang.String getJobReference(); /** + * + * *
    * Optional. Reference to the query job, which is from the
    * `QueryAssetsResponse` of previous `QueryAssets` call.
    * 
* * string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for jobReference. */ - com.google.protobuf.ByteString - getJobReferenceBytes(); + com.google.protobuf.ByteString getJobReferenceBytes(); /** + * + * *
    * Optional. The maximum number of rows to return in the results. Responses
    * are limited to 10 MB and 1000 rows.
@@ -109,33 +152,41 @@ public interface QueryAssetsRequestOrBuilder extends
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token received from previous `QueryAssets`.
    * The field will be ignored when [output_config] is specified.
    * 
* * 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. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -151,10 +202,13 @@ public interface QueryAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** + * + * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -170,10 +224,13 @@ public interface QueryAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** + * + * *
    * Optional. Specifies the maximum amount of time that the client is willing
    * to wait for the query to complete. By default, this limit is 5 min for the
@@ -193,69 +250,96 @@ public interface QueryAssetsRequestOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTimeWindow field is set. */ boolean hasReadTimeWindow(); /** + * + * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTimeWindow. */ com.google.cloud.asset.v1.TimeWindow getReadTimeWindow(); /** + * + * *
    * Optional. [start_time] is required. [start_time] must be less than
    * [end_time] Defaults [end_time] to now if [start_time] is set and
    * [end_time] isn't. Maximum permitted time range is 7 days.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(); /** + * + * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Optional. Queries cloud assets as they appeared at the specified point in
    * time.
    * 
* - * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** + * + * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -266,11 +350,16 @@ public interface QueryAssetsRequestOrBuilder extends
    * [QueryAssets] API call.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -281,11 +370,16 @@ public interface QueryAssetsRequestOrBuilder extends
    * [QueryAssets] API call.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The outputConfig. */ com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig(); /** + * + * *
    * Optional. Destination where the query results will be saved.
    * When this field is specified, the query results won't be saved in the
@@ -296,7 +390,9 @@ public interface QueryAssetsRequestOrBuilder extends
    * [QueryAssets] API call.
    * 
* - * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder(); diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java index c3c9a58d3f0d..1987ab4031c3 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponse.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; /** + * + * *
  * QueryAssets response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsResponse} */ -public final class QueryAssetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryAssetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryAssetsResponse) QueryAssetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryAssetsResponse.newBuilder() to construct. private QueryAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryAssetsResponse() { jobReference_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsResponse.class, com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); + com.google.cloud.asset.v1.QueryAssetsResponse.class, + com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); } private int responseCase_ = 0; private java.lang.Object response_; + public enum ResponseCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ERROR(3), QUERY_RESULT(4), OUTPUT_CONFIG(5), RESPONSE_NOT_SET(0); private final int value; + private ResponseCase(int value) { this.value = value; } @@ -73,33 +95,41 @@ public static ResponseCase valueOf(int value) { public static ResponseCase forNumber(int value) { switch (value) { - case 3: return ERROR; - case 4: return QUERY_RESULT; - case 5: return OUTPUT_CONFIG; - case 0: return RESPONSE_NOT_SET; - default: return null; + case 3: + return ERROR; + case 4: + return QUERY_RESULT; + case 5: + return OUTPUT_CONFIG; + case 0: + return RESPONSE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResponseCase - getResponseCase() { - return ResponseCase.forNumber( - responseCase_); + public ResponseCase getResponseCase() { + return ResponseCase.forNumber(responseCase_); } public static final int JOB_REFERENCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object jobReference_ = ""; /** + * + * *
    * Reference to a query job.
    * 
* * string job_reference = 1; + * * @return The jobReference. */ @java.lang.Override @@ -108,29 +138,29 @@ public java.lang.String getJobReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobReference_ = s; return s; } } /** + * + * *
    * Reference to a query job.
    * 
* * string job_reference = 1; + * * @return The bytes for jobReference. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobReferenceBytes() { + public com.google.protobuf.ByteString getJobReferenceBytes() { java.lang.Object ref = jobReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobReference_ = b; return b; } else { @@ -141,6 +171,8 @@ public java.lang.String getJobReference() { public static final int DONE_FIELD_NUMBER = 2; private boolean done_ = false; /** + * + * *
    * The query response, which can be either an `error` or a valid `response`.
    * If `done` == `false` and the query result is being saved in a output, the
@@ -150,6 +182,7 @@ public java.lang.String getJobReference() {
    * 
* * bool done = 2; + * * @return The done. */ @java.lang.Override @@ -159,11 +192,14 @@ public boolean getDone() { public static final int ERROR_FIELD_NUMBER = 3; /** + * + * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -171,21 +207,26 @@ public boolean hasError() { return responseCase_ == 3; } /** + * + * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override public com.google.rpc.Status getError() { if (responseCase_ == 3) { - return (com.google.rpc.Status) response_; + return (com.google.rpc.Status) response_; } return com.google.rpc.Status.getDefaultInstance(); } /** + * + * *
    * Error status.
    * 
@@ -195,18 +236,21 @@ public com.google.rpc.Status getError() { @java.lang.Override public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (responseCase_ == 3) { - return (com.google.rpc.Status) response_; + return (com.google.rpc.Status) response_; } return com.google.rpc.Status.getDefaultInstance(); } public static final int QUERY_RESULT_FIELD_NUMBER = 4; /** + * + * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; + * * @return Whether the queryResult field is set. */ @java.lang.Override @@ -214,21 +258,26 @@ public boolean hasQueryResult() { return responseCase_ == 4; } /** + * + * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; + * * @return The queryResult. */ @java.lang.Override public com.google.cloud.asset.v1.QueryResult getQueryResult() { if (responseCase_ == 4) { - return (com.google.cloud.asset.v1.QueryResult) response_; + return (com.google.cloud.asset.v1.QueryResult) response_; } return com.google.cloud.asset.v1.QueryResult.getDefaultInstance(); } /** + * + * *
    * Result of the query.
    * 
@@ -238,19 +287,22 @@ public com.google.cloud.asset.v1.QueryResult getQueryResult() { @java.lang.Override public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() { if (responseCase_ == 4) { - return (com.google.cloud.asset.v1.QueryResult) response_; + return (com.google.cloud.asset.v1.QueryResult) response_; } return com.google.cloud.asset.v1.QueryResult.getDefaultInstance(); } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 5; /** + * + * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -258,22 +310,27 @@ public boolean hasOutputConfig() { return responseCase_ == 5; } /** + * + * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { if (responseCase_ == 5) { - return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_; + return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_; } return com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance(); } /** + * + * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
@@ -284,12 +341,13 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() {
   @java.lang.Override
   public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder() {
     if (responseCase_ == 5) {
-       return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_;
+      return (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_;
     }
     return com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -301,8 +359,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(jobReference_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobReference_);
     }
@@ -331,20 +388,22 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobReference_);
     }
     if (done_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(2, done_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, done_);
     }
     if (responseCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.rpc.Status) response_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.rpc.Status) response_);
     }
     if (responseCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.cloud.asset.v1.QueryResult) response_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.cloud.asset.v1.QueryResult) response_);
     }
     if (responseCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -354,30 +413,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.QueryAssetsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.QueryAssetsResponse other = (com.google.cloud.asset.v1.QueryAssetsResponse) obj;
+    com.google.cloud.asset.v1.QueryAssetsResponse other =
+        (com.google.cloud.asset.v1.QueryAssetsResponse) obj;
 
-    if (!getJobReference()
-        .equals(other.getJobReference())) return false;
-    if (getDone()
-        != other.getDone()) return false;
+    if (!getJobReference().equals(other.getJobReference())) return false;
+    if (getDone() != other.getDone()) return false;
     if (!getResponseCase().equals(other.getResponseCase())) return false;
     switch (responseCase_) {
       case 3:
-        if (!getError()
-            .equals(other.getError())) return false;
+        if (!getError().equals(other.getError())) return false;
         break;
       case 4:
-        if (!getQueryResult()
-            .equals(other.getQueryResult())) return false;
+        if (!getQueryResult().equals(other.getQueryResult())) return false;
         break;
       case 5:
-        if (!getOutputConfig()
-            .equals(other.getOutputConfig())) return false;
+        if (!getOutputConfig().equals(other.getOutputConfig())) return false;
         break;
       case 0:
       default:
@@ -396,8 +451,7 @@ public int hashCode() {
     hash = (37 * hash) + JOB_REFERENCE_FIELD_NUMBER;
     hash = (53 * hash) + getJobReference().hashCode();
     hash = (37 * hash) + DONE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getDone());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone());
     switch (responseCase_) {
       case 3:
         hash = (37 * hash) + ERROR_FIELD_NUMBER;
@@ -419,130 +473,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.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.QueryAssetsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
       com.google.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.QueryAssetsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite 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.QueryAssetsResponse 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.QueryAssetsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    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.QueryAssetsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.QueryAssetsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.QueryAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.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.QueryAssetsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, 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.QueryAssetsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder 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.QueryAssetsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * QueryAssets response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.QueryAssetsResponse} */ - public static final class Builder extends - com.google.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.QueryAssetsResponse) com.google.cloud.asset.v1.QueryAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.QueryAssetsResponse.class, com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); + com.google.cloud.asset.v1.QueryAssetsResponse.class, + com.google.cloud.asset.v1.QueryAssetsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.QueryAssetsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +624,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_QueryAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; } @java.lang.Override @@ -585,8 +645,11 @@ public com.google.cloud.asset.v1.QueryAssetsResponse build() { @java.lang.Override public com.google.cloud.asset.v1.QueryAssetsResponse buildPartial() { - com.google.cloud.asset.v1.QueryAssetsResponse result = new com.google.cloud.asset.v1.QueryAssetsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.QueryAssetsResponse result = + new com.google.cloud.asset.v1.QueryAssetsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -605,16 +668,13 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryAssetsResponse result) private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsResponse result) { result.responseCase_ = responseCase_; result.response_ = this.response_; - if (responseCase_ == 3 && - errorBuilder_ != null) { + if (responseCase_ == 3 && errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } - if (responseCase_ == 4 && - queryResultBuilder_ != null) { + if (responseCase_ == 4 && queryResultBuilder_ != null) { result.response_ = queryResultBuilder_.build(); } - if (responseCase_ == 5 && - outputConfigBuilder_ != null) { + if (responseCase_ == 5 && outputConfigBuilder_ != null) { result.response_ = outputConfigBuilder_.build(); } } @@ -623,38 +683,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.QueryAssetsResponse re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.QueryAssetsResponse) { - return mergeFrom((com.google.cloud.asset.v1.QueryAssetsResponse)other); + return mergeFrom((com.google.cloud.asset.v1.QueryAssetsResponse) other); } else { super.mergeFrom(other); return this; @@ -672,21 +733,25 @@ public Builder mergeFrom(com.google.cloud.asset.v1.QueryAssetsResponse other) { setDone(other.getDone()); } switch (other.getResponseCase()) { - case ERROR: { - mergeError(other.getError()); - break; - } - case QUERY_RESULT: { - mergeQueryResult(other.getQueryResult()); - break; - } - case OUTPUT_CONFIG: { - mergeOutputConfig(other.getOutputConfig()); - break; - } - case RESPONSE_NOT_SET: { - break; - } + case ERROR: + { + mergeError(other.getError()); + break; + } + case QUERY_RESULT: + { + mergeQueryResult(other.getQueryResult()); + break; + } + case OUTPUT_CONFIG: + { + mergeOutputConfig(other.getOutputConfig()); + break; + } + case RESPONSE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -714,43 +779,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - jobReference_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - done_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getQueryResultFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getOutputConfigFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 5; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + jobReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + done_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage(getQueryResultFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 5; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -760,12 +825,12 @@ public Builder mergeFrom( } // finally return this; } + private int responseCase_ = 0; private java.lang.Object response_; - public ResponseCase - getResponseCase() { - return ResponseCase.forNumber( - responseCase_); + + public ResponseCase getResponseCase() { + return ResponseCase.forNumber(responseCase_); } public Builder clearResponse() { @@ -779,18 +844,20 @@ public Builder clearResponse() { private java.lang.Object jobReference_ = ""; /** + * + * *
      * Reference to a query job.
      * 
* * string job_reference = 1; + * * @return The jobReference. */ public java.lang.String getJobReference() { java.lang.Object ref = jobReference_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobReference_ = s; return s; @@ -799,20 +866,21 @@ public java.lang.String getJobReference() { } } /** + * + * *
      * Reference to a query job.
      * 
* * string job_reference = 1; + * * @return The bytes for jobReference. */ - public com.google.protobuf.ByteString - getJobReferenceBytes() { + public com.google.protobuf.ByteString getJobReferenceBytes() { java.lang.Object ref = jobReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobReference_ = b; return b; } else { @@ -820,28 +888,35 @@ public java.lang.String getJobReference() { } } /** + * + * *
      * Reference to a query job.
      * 
* * string job_reference = 1; + * * @param value The jobReference to set. * @return This builder for chaining. */ - public Builder setJobReference( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobReference(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jobReference_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Reference to a query job.
      * 
* * string job_reference = 1; + * * @return This builder for chaining. */ public Builder clearJobReference() { @@ -851,17 +926,21 @@ public Builder clearJobReference() { return this; } /** + * + * *
      * Reference to a query job.
      * 
* * string job_reference = 1; + * * @param value The bytes for jobReference to set. * @return This builder for chaining. */ - public Builder setJobReferenceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJobReferenceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jobReference_ = value; bitField0_ |= 0x00000001; @@ -869,8 +948,10 @@ public Builder setJobReferenceBytes( return this; } - private boolean done_ ; + private boolean done_; /** + * + * *
      * The query response, which can be either an `error` or a valid `response`.
      * If `done` == `false` and the query result is being saved in a output, the
@@ -880,6 +961,7 @@ public Builder setJobReferenceBytes(
      * 
* * bool done = 2; + * * @return The done. */ @java.lang.Override @@ -887,6 +969,8 @@ public boolean getDone() { return done_; } /** + * + * *
      * The query response, which can be either an `error` or a valid `response`.
      * If `done` == `false` and the query result is being saved in a output, the
@@ -896,17 +980,20 @@ public boolean getDone() {
      * 
* * bool done = 2; + * * @param value The done to set. * @return This builder for chaining. */ public Builder setDone(boolean value) { - + done_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The query response, which can be either an `error` or a valid `response`.
      * If `done` == `false` and the query result is being saved in a output, the
@@ -916,6 +1003,7 @@ public Builder setDone(boolean value) {
      * 
* * bool done = 2; + * * @return This builder for chaining. */ public Builder clearDone() { @@ -926,13 +1014,17 @@ public Builder clearDone() { } 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_; /** + * + * *
      * Error status.
      * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -940,11 +1032,14 @@ public boolean hasError() { return responseCase_ == 3; } /** + * + * *
      * Error status.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -962,6 +1057,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Error status.
      * 
@@ -982,14 +1079,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status.
      * 
* * .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) { response_ = builderForValue.build(); onChanged(); @@ -1000,6 +1098,8 @@ public Builder setError( return this; } /** + * + * *
      * Error status.
      * 
@@ -1008,10 +1108,11 @@ public Builder setError( */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (responseCase_ == 3 && - response_ != com.google.rpc.Status.getDefaultInstance()) { - response_ = com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_) - .mergeFrom(value).buildPartial(); + if (responseCase_ == 3 && response_ != com.google.rpc.Status.getDefaultInstance()) { + response_ = + com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_) + .mergeFrom(value) + .buildPartial(); } else { response_ = value; } @@ -1027,6 +1128,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status.
      * 
@@ -1050,6 +1153,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Error status.
      * 
@@ -1060,6 +1165,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Error status.
      * 
@@ -1078,6 +1185,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** + * + * *
      * Error status.
      * 
@@ -1085,17 +1194,18 @@ 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 (!(responseCase_ == 3)) { response_ = 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) response_, - 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) response_, getParentForChildren(), isClean()); response_ = null; } responseCase_ = 3; @@ -1104,13 +1214,19 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryResult, com.google.cloud.asset.v1.QueryResult.Builder, com.google.cloud.asset.v1.QueryResultOrBuilder> queryResultBuilder_; + com.google.cloud.asset.v1.QueryResult, + com.google.cloud.asset.v1.QueryResult.Builder, + com.google.cloud.asset.v1.QueryResultOrBuilder> + queryResultBuilder_; /** + * + * *
      * Result of the query.
      * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; + * * @return Whether the queryResult field is set. */ @java.lang.Override @@ -1118,11 +1234,14 @@ public boolean hasQueryResult() { return responseCase_ == 4; } /** + * + * *
      * Result of the query.
      * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; + * * @return The queryResult. */ @java.lang.Override @@ -1140,6 +1259,8 @@ public com.google.cloud.asset.v1.QueryResult getQueryResult() { } } /** + * + * *
      * Result of the query.
      * 
@@ -1160,14 +1281,15 @@ public Builder setQueryResult(com.google.cloud.asset.v1.QueryResult value) { return this; } /** + * + * *
      * Result of the query.
      * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; */ - public Builder setQueryResult( - com.google.cloud.asset.v1.QueryResult.Builder builderForValue) { + public Builder setQueryResult(com.google.cloud.asset.v1.QueryResult.Builder builderForValue) { if (queryResultBuilder_ == null) { response_ = builderForValue.build(); onChanged(); @@ -1178,6 +1300,8 @@ public Builder setQueryResult( return this; } /** + * + * *
      * Result of the query.
      * 
@@ -1186,10 +1310,13 @@ public Builder setQueryResult( */ public Builder mergeQueryResult(com.google.cloud.asset.v1.QueryResult value) { if (queryResultBuilder_ == null) { - if (responseCase_ == 4 && - response_ != com.google.cloud.asset.v1.QueryResult.getDefaultInstance()) { - response_ = com.google.cloud.asset.v1.QueryResult.newBuilder((com.google.cloud.asset.v1.QueryResult) response_) - .mergeFrom(value).buildPartial(); + if (responseCase_ == 4 + && response_ != com.google.cloud.asset.v1.QueryResult.getDefaultInstance()) { + response_ = + com.google.cloud.asset.v1.QueryResult.newBuilder( + (com.google.cloud.asset.v1.QueryResult) response_) + .mergeFrom(value) + .buildPartial(); } else { response_ = value; } @@ -1205,6 +1332,8 @@ public Builder mergeQueryResult(com.google.cloud.asset.v1.QueryResult value) { return this; } /** + * + * *
      * Result of the query.
      * 
@@ -1228,6 +1357,8 @@ public Builder clearQueryResult() { return this; } /** + * + * *
      * Result of the query.
      * 
@@ -1238,6 +1369,8 @@ public com.google.cloud.asset.v1.QueryResult.Builder getQueryResultBuilder() { return getQueryResultFieldBuilder().getBuilder(); } /** + * + * *
      * Result of the query.
      * 
@@ -1256,6 +1389,8 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() } } /** + * + * *
      * Result of the query.
      * 
@@ -1263,14 +1398,19 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() * .google.cloud.asset.v1.QueryResult query_result = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryResult, com.google.cloud.asset.v1.QueryResult.Builder, com.google.cloud.asset.v1.QueryResultOrBuilder> + com.google.cloud.asset.v1.QueryResult, + com.google.cloud.asset.v1.QueryResult.Builder, + com.google.cloud.asset.v1.QueryResultOrBuilder> getQueryResultFieldBuilder() { if (queryResultBuilder_ == null) { if (!(responseCase_ == 4)) { response_ = com.google.cloud.asset.v1.QueryResult.getDefaultInstance(); } - queryResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryResult, com.google.cloud.asset.v1.QueryResult.Builder, com.google.cloud.asset.v1.QueryResultOrBuilder>( + queryResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.QueryResult, + com.google.cloud.asset.v1.QueryResult.Builder, + com.google.cloud.asset.v1.QueryResultOrBuilder>( (com.google.cloud.asset.v1.QueryResult) response_, getParentForChildren(), isClean()); @@ -1282,14 +1422,20 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1.QueryAssetsOutputConfig, + com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, + com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
      * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -1297,12 +1443,15 @@ public boolean hasOutputConfig() { return responseCase_ == 5; } /** + * + * *
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
      * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; + * * @return The outputConfig. */ @java.lang.Override @@ -1320,6 +1469,8 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig() { } } /** + * + * *
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1341,6 +1492,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1360,6 +1513,8 @@ public Builder setOutputConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1369,10 +1524,14 @@ public Builder setOutputConfig(
      */
     public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig value) {
       if (outputConfigBuilder_ == null) {
-        if (responseCase_ == 5 &&
-            response_ != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) {
-          response_ = com.google.cloud.asset.v1.QueryAssetsOutputConfig.newBuilder((com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_)
-              .mergeFrom(value).buildPartial();
+        if (responseCase_ == 5
+            && response_
+                != com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance()) {
+          response_ =
+              com.google.cloud.asset.v1.QueryAssetsOutputConfig.newBuilder(
+                      (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           response_ = value;
         }
@@ -1388,6 +1547,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf
       return this;
     }
     /**
+     *
+     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1412,6 +1573,8 @@ public Builder clearOutputConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1423,6 +1586,8 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig
       return getOutputConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1442,6 +1607,8 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
       }
     }
     /**
+     *
+     *
      * 
      * Output configuration which indicates instead of being returned in API
      * response on the fly, the query result will be saved in a specific output.
@@ -1450,14 +1617,19 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
      * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder> 
+            com.google.cloud.asset.v1.QueryAssetsOutputConfig,
+            com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder,
+            com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>
         getOutputConfigFieldBuilder() {
       if (outputConfigBuilder_ == null) {
         if (!(responseCase_ == 5)) {
           response_ = com.google.cloud.asset.v1.QueryAssetsOutputConfig.getDefaultInstance();
         }
-        outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.QueryAssetsOutputConfig, com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder, com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>(
+        outputConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.QueryAssetsOutputConfig,
+                com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder,
+                com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder>(
                 (com.google.cloud.asset.v1.QueryAssetsOutputConfig) response_,
                 getParentForChildren(),
                 isClean());
@@ -1467,9 +1639,9 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfigOrBuilder getOutputConfi
       onChanged();
       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);
     }
 
@@ -1479,12 +1651,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryAssetsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryAssetsResponse)
   private static final com.google.cloud.asset.v1.QueryAssetsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryAssetsResponse();
   }
@@ -1493,27 +1665,27 @@ public static com.google.cloud.asset.v1.QueryAssetsResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public QueryAssetsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public QueryAssetsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1528,6 +1700,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.QueryAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
index e13d2857eeca..ea17915a345d 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsResponseOrBuilder.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/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface QueryAssetsResponseOrBuilder extends
+public interface QueryAssetsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Reference to a query job.
    * 
* * string job_reference = 1; + * * @return The jobReference. */ java.lang.String getJobReference(); /** + * + * *
    * Reference to a query job.
    * 
* * string job_reference = 1; + * * @return The bytes for jobReference. */ - com.google.protobuf.ByteString - getJobReferenceBytes(); + com.google.protobuf.ByteString getJobReferenceBytes(); /** + * + * *
    * The query response, which can be either an `error` or a valid `response`.
    * If `done` == `false` and the query result is being saved in a output, the
@@ -37,29 +60,38 @@ public interface QueryAssetsResponseOrBuilder extends
    * 
* * bool done = 2; + * * @return The done. */ boolean getDone(); /** + * + * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Error status.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Error status.
    * 
@@ -69,24 +101,32 @@ public interface QueryAssetsResponseOrBuilder extends com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** + * + * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; + * * @return Whether the queryResult field is set. */ boolean hasQueryResult(); /** + * + * *
    * Result of the query.
    * 
* * .google.cloud.asset.v1.QueryResult query_result = 4; + * * @return The queryResult. */ com.google.cloud.asset.v1.QueryResult getQueryResult(); /** + * + * *
    * Result of the query.
    * 
@@ -96,26 +136,34 @@ public interface QueryAssetsResponseOrBuilder extends com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder(); /** + * + * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
    * 
* * .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5; + * * @return The outputConfig. */ com.google.cloud.asset.v1.QueryAssetsOutputConfig getOutputConfig(); /** + * + * *
    * Output configuration which indicates instead of being returned in API
    * response on the fly, the query result will be saved in a specific output.
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
similarity index 71%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
index af261c782c59..096b783ccf23 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResult.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;
 
 /**
+ *
+ *
  * 
  * Execution results of the query.
  * The result is formatted as rows represented by BigQuery compatible [schema].
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.QueryResult}
  */
-public final class QueryResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class QueryResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.QueryResult)
     QueryResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use QueryResult.newBuilder() to construct.
   private QueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private QueryResult() {
     rows_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -29,33 +47,37 @@ private QueryResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new QueryResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_QueryResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.QueryResult.class, com.google.cloud.asset.v1.QueryResult.Builder.class);
+            com.google.cloud.asset.v1.QueryResult.class,
+            com.google.cloud.asset.v1.QueryResult.Builder.class);
   }
 
   public static final int ROWS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List rows_;
   /**
+   *
+   *
    * 
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -67,6 +89,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -74,11 +98,12 @@ public java.util.List getRowsList() { * repeated .google.protobuf.Struct rows = 1; */ @java.lang.Override - public java.util.List - getRowsOrBuilderList() { + public java.util.List getRowsOrBuilderList() { return rows_; } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -90,6 +115,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -101,6 +128,8 @@ public com.google.protobuf.Struct getRows(int index) { return rows_.get(index); } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -108,19 +137,21 @@ public com.google.protobuf.Struct getRows(int index) { * repeated .google.protobuf.Struct rows = 1; */ @java.lang.Override - public com.google.protobuf.StructOrBuilder getRowsOrBuilder( - int index) { + public com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index) { return rows_.get(index); } public static final int SCHEMA_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.TableSchema schema_; /** + * + * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; + * * @return Whether the schema field is set. */ @java.lang.Override @@ -128,11 +159,14 @@ public boolean hasSchema() { return schema_ != null; } /** + * + * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; + * * @return The schema. */ @java.lang.Override @@ -140,6 +174,8 @@ public com.google.cloud.asset.v1.TableSchema getSchema() { return schema_ == null ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() : schema_; } /** + * + * *
    * Describes the format of the [rows].
    * 
@@ -152,14 +188,18 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to retrieve the next page of the results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -168,29 +208,29 @@ 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 the 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 { @@ -201,11 +241,14 @@ public java.lang.String getNextPageToken() { public static final int TOTAL_ROWS_FIELD_NUMBER = 4; private long totalRows_ = 0L; /** + * + * *
    * Total rows of the whole query results.
    * 
* * int64 total_rows = 4; + * * @return The totalRows. */ @java.lang.Override @@ -214,6 +257,7 @@ public long getTotalRows() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 { for (int i = 0; i < rows_.size(); i++) { output.writeMessage(1, rows_.get(i)); } @@ -249,19 +292,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rows_.get(i)); } if (schema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } if (totalRows_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, totalRows_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, totalRows_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -271,24 +311,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.QueryResult)) { return super.equals(obj); } com.google.cloud.asset.v1.QueryResult other = (com.google.cloud.asset.v1.QueryResult) obj; - if (!getRowsList() - .equals(other.getRowsList())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { - if (!getSchema() - .equals(other.getSchema())) return false; + if (!getSchema().equals(other.getSchema())) return false; } - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (getTotalRows() - != other.getTotalRows()) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (getTotalRows() != other.getTotalRows()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,104 +347,109 @@ public int hashCode() { hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (37 * hash) + TOTAL_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTotalRows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalRows()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.QueryResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.QueryResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.QueryResult parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.QueryResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryResult parseFrom( com.google.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.QueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.QueryResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.QueryResult 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.QueryResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.QueryResult 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.QueryResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.QueryResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.QueryResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.QueryResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Execution results of the query.
    * The result is formatted as rows represented by BigQuery compatible [schema].
@@ -418,33 +459,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.QueryResult}
    */
-  public static final class Builder extends
-      com.google.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.QueryResult)
       com.google.cloud.asset.v1.QueryResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_QueryResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.QueryResult.class, com.google.cloud.asset.v1.QueryResult.Builder.class);
+              com.google.cloud.asset.v1.QueryResult.class,
+              com.google.cloud.asset.v1.QueryResult.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.QueryResult.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -467,9 +507,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_QueryResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_QueryResult_descriptor;
     }
 
     @java.lang.Override
@@ -488,9 +528,12 @@ public com.google.cloud.asset.v1.QueryResult build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.QueryResult buildPartial() {
-      com.google.cloud.asset.v1.QueryResult result = new com.google.cloud.asset.v1.QueryResult(this);
+      com.google.cloud.asset.v1.QueryResult result =
+          new com.google.cloud.asset.v1.QueryResult(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -510,9 +553,7 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.QueryResult re
     private void buildPartial0(com.google.cloud.asset.v1.QueryResult result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.schema_ = schemaBuilder_ == null
-            ? schema_
-            : schemaBuilder_.build();
+        result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -526,38 +567,39 @@ private void buildPartial0(com.google.cloud.asset.v1.QueryResult result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.QueryResult) {
-        return mergeFrom((com.google.cloud.asset.v1.QueryResult)other);
+        return mergeFrom((com.google.cloud.asset.v1.QueryResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -584,9 +626,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.QueryResult other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            rowsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRowsFieldBuilder() : null;
+            rowsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRowsFieldBuilder()
+                    : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -629,42 +672,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.protobuf.Struct m =
-                  input.readMessage(
-                      com.google.protobuf.Struct.parser(),
-                      extensionRegistry);
-              if (rowsBuilder_ == null) {
-                ensureRowsIsMutable();
-                rows_.add(m);
-              } else {
-                rowsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              totalRows_ = input.readInt64();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.protobuf.Struct m =
+                    input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+                if (rowsBuilder_ == null) {
+                  ensureRowsIsMutable();
+                  rows_.add(m);
+                } else {
+                  rowsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                totalRows_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -674,21 +718,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List rows_ =
-      java.util.Collections.emptyList();
+    private java.util.List rows_ = java.util.Collections.emptyList();
+
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> rowsBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -703,6 +753,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -717,6 +769,8 @@ public int getRowsCount() { } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -731,14 +785,15 @@ public com.google.protobuf.Struct getRows(int index) { } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder setRows( - int index, com.google.protobuf.Struct value) { + public Builder setRows(int index, com.google.protobuf.Struct value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,14 +807,15 @@ public Builder setRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder setRows( - int index, com.google.protobuf.Struct.Builder builderForValue) { + public Builder setRows(int index, com.google.protobuf.Struct.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.set(index, builderForValue.build()); @@ -770,6 +826,8 @@ public Builder setRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -790,14 +848,15 @@ public Builder addRows(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addRows( - int index, com.google.protobuf.Struct value) { + public Builder addRows(int index, com.google.protobuf.Struct value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +870,15 @@ public Builder addRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addRows( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder addRows(com.google.protobuf.Struct.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -829,14 +889,15 @@ public Builder addRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addRows( - int index, com.google.protobuf.Struct.Builder builderForValue) { + public Builder addRows(int index, com.google.protobuf.Struct.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(index, builderForValue.build()); @@ -847,18 +908,18 @@ public Builder addRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public Builder addAllRows( - java.lang.Iterable values) { + public Builder addAllRows(java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -866,6 +927,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -883,6 +946,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -900,39 +965,43 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public com.google.protobuf.Struct.Builder getRowsBuilder( - int index) { + public com.google.protobuf.Struct.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public com.google.protobuf.StructOrBuilder getRowsOrBuilder( - int index) { + public com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index) { if (rowsBuilder_ == null) { - return rows_.get(index); } else { + return rows_.get(index); + } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1009,8 @@ public com.google.protobuf.StructOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -947,42 +1018,46 @@ public com.google.protobuf.StructOrBuilder getRowsOrBuilder( * repeated .google.protobuf.Struct rows = 1; */ public com.google.protobuf.Struct.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.protobuf.Struct.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder(com.google.protobuf.Struct.getDefaultInstance()); } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public com.google.protobuf.Struct.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.protobuf.Struct.getDefaultInstance()); + public com.google.protobuf.Struct.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.protobuf.Struct.getDefaultInstance()); } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
* * repeated .google.protobuf.Struct rows = 1; */ - public java.util.List - getRowsBuilderList() { + public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - 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> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - rows_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; @@ -990,34 +1065,47 @@ public com.google.protobuf.Struct.Builder addRowsBuilder( private com.google.cloud.asset.v1.TableSchema schema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TableSchema, com.google.cloud.asset.v1.TableSchema.Builder, com.google.cloud.asset.v1.TableSchemaOrBuilder> schemaBuilder_; + com.google.cloud.asset.v1.TableSchema, + com.google.cloud.asset.v1.TableSchema.Builder, + com.google.cloud.asset.v1.TableSchemaOrBuilder> + schemaBuilder_; /** + * + * *
      * Describes the format of the [rows].
      * 
* * .google.cloud.asset.v1.TableSchema schema = 2; + * * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Describes the format of the [rows].
      * 
* * .google.cloud.asset.v1.TableSchema schema = 2; + * * @return The schema. */ public com.google.cloud.asset.v1.TableSchema getSchema() { if (schemaBuilder_ == null) { - return schema_ == null ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() + : schema_; } else { return schemaBuilder_.getMessage(); } } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1038,14 +1126,15 @@ public Builder setSchema(com.google.cloud.asset.v1.TableSchema value) { return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
* * .google.cloud.asset.v1.TableSchema schema = 2; */ - public Builder setSchema( - com.google.cloud.asset.v1.TableSchema.Builder builderForValue) { + public Builder setSchema(com.google.cloud.asset.v1.TableSchema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { @@ -1056,6 +1145,8 @@ public Builder setSchema( return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1064,9 +1155,9 @@ public Builder setSchema( */ public Builder mergeSchema(com.google.cloud.asset.v1.TableSchema value) { if (schemaBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - schema_ != null && - schema_ != com.google.cloud.asset.v1.TableSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && schema_ != null + && schema_ != com.google.cloud.asset.v1.TableSchema.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; @@ -1079,6 +1170,8 @@ public Builder mergeSchema(com.google.cloud.asset.v1.TableSchema value) { return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1096,6 +1189,8 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1108,6 +1203,8 @@ public com.google.cloud.asset.v1.TableSchema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1118,11 +1215,14 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { - return schema_ == null ? - com.google.cloud.asset.v1.TableSchema.getDefaultInstance() : schema_; + return schema_ == null + ? com.google.cloud.asset.v1.TableSchema.getDefaultInstance() + : schema_; } } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1130,14 +1230,17 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { * .google.cloud.asset.v1.TableSchema schema = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TableSchema, com.google.cloud.asset.v1.TableSchema.Builder, com.google.cloud.asset.v1.TableSchemaOrBuilder> + com.google.cloud.asset.v1.TableSchema, + com.google.cloud.asset.v1.TableSchema.Builder, + com.google.cloud.asset.v1.TableSchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { - schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TableSchema, com.google.cloud.asset.v1.TableSchema.Builder, com.google.cloud.asset.v1.TableSchemaOrBuilder>( - getSchema(), - getParentForChildren(), - isClean()); + schemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.TableSchema, + com.google.cloud.asset.v1.TableSchema.Builder, + com.google.cloud.asset.v1.TableSchemaOrBuilder>( + getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; @@ -1145,18 +1248,20 @@ public com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder() { private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of the 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; @@ -1165,20 +1270,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of the 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 { @@ -1186,28 +1292,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of the results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of the results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1217,17 +1330,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of the 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1235,13 +1352,16 @@ public Builder setNextPageTokenBytes( return this; } - private long totalRows_ ; + private long totalRows_; /** + * + * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; + * * @return The totalRows. */ @java.lang.Override @@ -1249,27 +1369,33 @@ public long getTotalRows() { return totalRows_; } /** + * + * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; + * * @param value The totalRows to set. * @return This builder for chaining. */ public Builder setTotalRows(long value) { - + totalRows_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; + * * @return This builder for chaining. */ public Builder clearTotalRows() { @@ -1278,9 +1404,9 @@ public Builder clearTotalRows() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1290,12 +1416,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.QueryResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.QueryResult) private static final com.google.cloud.asset.v1.QueryResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.QueryResult(); } @@ -1304,27 +1430,27 @@ public static com.google.cloud.asset.v1.QueryResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1339,6 +1465,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.QueryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java index a811e4bcb818..dd583f8df19f 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryResultOrBuilder.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 QueryResultOrBuilder extends +public interface QueryResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
* * repeated .google.protobuf.Struct rows = 1; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -25,6 +44,8 @@ public interface QueryResultOrBuilder extends */ com.google.protobuf.Struct getRows(int index); /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -33,43 +54,53 @@ public interface QueryResultOrBuilder extends */ int getRowsCount(); /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
* * repeated .google.protobuf.Struct rows = 1; */ - java.util.List - getRowsOrBuilderList(); + java.util.List getRowsOrBuilderList(); /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
* * repeated .google.protobuf.Struct rows = 1; */ - com.google.protobuf.StructOrBuilder getRowsOrBuilder( - int index); + com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index); /** + * + * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; + * * @return Whether the schema field is set. */ boolean hasSchema(); /** + * + * *
    * Describes the format of the [rows].
    * 
* * .google.cloud.asset.v1.TableSchema schema = 2; + * * @return The schema. */ com.google.cloud.asset.v1.TableSchema getSchema(); /** + * + * *
    * Describes the format of the [rows].
    * 
@@ -79,31 +110,39 @@ com.google.protobuf.StructOrBuilder getRowsOrBuilder( com.google.cloud.asset.v1.TableSchemaOrBuilder getSchemaOrBuilder(); /** + * + * *
    * Token to retrieve the next page of the results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of the results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Total rows of the whole query results.
    * 
* * int64 total_rows = 4; + * * @return The totalRows. */ long getTotalRows(); diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java similarity index 76% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java index 1cf6f546edf6..4bda1c0485e1 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java +++ b/java-asset/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,33 +53,37 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object asset_ = "";
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -71,6 +93,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ @java.lang.Override @@ -79,14 +102,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`
@@ -96,16 +120,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 { @@ -114,9 +137,12 @@ public java.lang.String getAsset() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -125,6 +151,7 @@ public java.lang.String getAsset() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -133,14 +160,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
@@ -149,16 +177,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 { @@ -167,9 +194,12 @@ public java.lang.String getAssetType() { } public static final int ANCESTORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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),
@@ -179,13 +209,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),
@@ -195,12 +227,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),
@@ -210,6 +245,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -217,6 +253,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),
@@ -226,24 +264,28 @@ 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; + @SuppressWarnings("serial") 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 @@ -252,30 +294,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 { @@ -284,6 +326,7 @@ public java.lang.String getRelationshipType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +338,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_); } @@ -343,21 +385,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -384,97 +422,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
@@ -488,33 +533,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -528,9 +572,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
@@ -549,9 +593,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -581,38 +628,39 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedAsset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -672,33 +720,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              asset_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              relationshipType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                asset_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                relationshipType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -708,10 +761,13 @@ public Builder mergeFrom(
       } // finally
       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`
@@ -721,13 +777,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; @@ -736,6 +792,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -745,15 +803,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 { @@ -761,6 +818,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -770,18 +829,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -791,6 +854,7 @@ public Builder setAsset(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -800,6 +864,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -809,12 +875,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000001; @@ -824,6 +892,8 @@ public Builder setAssetBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -832,13 +902,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; @@ -847,6 +917,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -855,15 +927,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 { @@ -871,6 +942,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -879,18 +952,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -899,6 +976,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -908,6 +986,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -916,12 +996,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -929,14 +1011,18 @@ public Builder setAssetTypeBytes( 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_ & 0x00000004) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -946,13 +1032,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),
@@ -962,12 +1050,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),
@@ -977,6 +1068,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -984,6 +1076,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),
@@ -993,14 +1087,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),
@@ -1010,19 +1106,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestors(int index, java.lang.String value) { + if (value == null) { + 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),
@@ -1032,18 +1132,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestors(java.lang.String value) { + if (value == null) { + 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),
@@ -1053,18 +1157,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),
@@ -1074,6 +1179,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 3; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1083,6 +1189,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),
@@ -1092,12 +1200,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); @@ -1107,19 +1217,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; @@ -1128,21 +1240,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 { @@ -1150,30 +1263,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } relationshipType_ = value; bitField0_ |= 0x00000008; 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() { @@ -1183,27 +1303,31 @@ public Builder clearRelationshipType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); relationshipType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1213,12 +1337,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(); } @@ -1227,27 +1351,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1262,6 +1386,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java similarity index 80% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java index da36685963fd..dc568a1f8408 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java index 1c5ee28769c5..02e81f8e1e92 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java +++ b/java-asset/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,52 +30,58 @@
  *
  * 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;
   }
-  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 @@ -66,18 +89,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.
    * 
@@ -85,14 +115,20 @@ 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() { - return relationshipAttributes_ == null ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder() { + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } public static final int ASSETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -104,6 +140,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -111,11 +149,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.
    * 
@@ -127,6 +167,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -138,6 +180,8 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -145,12 +189,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; @@ -162,8 +206,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()); } @@ -180,12 +223,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -195,7 +237,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); @@ -204,11 +246,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,97 +273,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
@@ -333,33 +380,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +426,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
@@ -401,9 +447,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -423,9 +472,10 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1.RelatedAssets
     private void buildPartial0(com.google.cloud.asset.v1.RelatedAssets result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.relationshipAttributes_ = relationshipAttributesBuilder_ == null
-            ? relationshipAttributes_
-            : relationshipAttributesBuilder_.build();
+        result.relationshipAttributes_ =
+            relationshipAttributesBuilder_ == null
+                ? relationshipAttributes_
+                : relationshipAttributesBuilder_.build();
       }
     }
 
@@ -433,38 +483,39 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedAssets result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -494,9 +545,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.RelatedAssets other) {
             assetsBuilder_ = null;
             assets_ = other.assets_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            assetsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAssetsFieldBuilder() : null;
+            assetsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAssetsFieldBuilder()
+                    : null;
           } else {
             assetsBuilder_.addAllMessages(other.assets_);
           }
@@ -528,32 +580,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getRelationshipAttributesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.asset.v1.RelatedAsset m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.RelatedAsset.parser(),
-                      extensionRegistry);
-              if (assetsBuilder_ == null) {
-                ensureAssetsIsMutable();
-                assets_.add(m);
-              } else {
-                assetsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getRelationshipAttributesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.asset.v1.RelatedAsset m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry);
+                if (assetsBuilder_ == null) {
+                  ensureAssetsIsMutable();
+                  assets_.add(m);
+                } else {
+                  assetsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -563,45 +616,60 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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(); @@ -615,6 +683,8 @@ public Builder setRelationshipAttributes(com.google.cloud.asset.v1.RelationshipA return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -633,17 +703,21 @@ 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 (((bitField0_ & 0x00000001) != 0) && - relationshipAttributes_ != null && - relationshipAttributes_ != com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && relationshipAttributes_ != null + && relationshipAttributes_ + != com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance()) { getRelationshipAttributesBuilder().mergeFrom(value); } else { relationshipAttributes_ = value; @@ -656,6 +730,8 @@ public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1.Relationshi return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -673,33 +749,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() { bitField0_ |= 0x00000001; 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.
      * 
@@ -707,32 +792,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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -747,6 +841,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -761,6 +857,8 @@ public int getAssetsCount() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -775,14 +873,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(); @@ -796,6 +895,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -814,6 +915,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -834,14 +937,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(); @@ -855,14 +959,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()); @@ -873,6 +978,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -891,6 +998,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -901,8 +1010,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); @@ -910,6 +1018,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -927,6 +1037,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -944,39 +1056,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 { @@ -984,6 +1101,8 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -991,49 +1110,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_ & 0x00000002) != 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_ & 0x00000002) != 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); } @@ -1043,12 +1167,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(); } @@ -1057,27 +1181,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1216,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java similarity index 71% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java index befe6f913733..00b60868d088 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java similarity index 68% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java index d1267d9a16e8..d9f3da06a134 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java +++ b/java-asset/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,38 +44,43 @@ 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; } - 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; + @SuppressWarnings("serial") 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 @@ -66,29 +89,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 { @@ -97,15 +120,19 @@ public java.lang.String getAssetType() { } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -114,30 +141,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 { @@ -146,6 +173,7 @@ public java.lang.String getFullResourceName() { } 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(assetType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assetType_); } @@ -188,17 +215,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,130 +245,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +385,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 @@ -374,8 +406,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.RelatedResource result = + new com.google.cloud.asset.v1.RelatedResource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -394,38 +429,39 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedResource result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -470,22 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,22 +534,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -519,20 +561,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 { @@ -540,28 +583,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000001; 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() { @@ -571,17 +621,21 @@ public Builder clearAssetType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000001; @@ -591,19 +645,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; @@ -612,21 +668,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 { @@ -634,30 +691,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000002; 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() { @@ -667,27 +731,31 @@ public Builder clearFullResourceName() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -697,12 +765,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(); } @@ -711,27 +779,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -746,6 +814,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java similarity index 60% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java index 4a184b2490d1..e23e9a341a6b 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java index 9df1c43e33ea..afb0f71fee01 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") private java.util.List relatedResources_; /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -63,6 +85,8 @@ public java.util.List getRelatedResou return relatedResources_; } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -70,11 +94,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.
    * 
@@ -86,6 +112,8 @@ public int getRelatedResourcesCount() { return relatedResources_.size(); } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) return relatedResources_.get(index); } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -110,6 +140,7 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +152,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)); } @@ -136,8 +166,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,130 +205,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +350,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 @@ -336,9 +371,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -363,38 +401,39 @@ private void buildPartial0(com.google.cloud.asset.v1.RelatedResources result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -421,9 +460,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_); } @@ -455,25 +495,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.RelatedResource m = - input.readMessage( - com.google.cloud.asset.v1.RelatedResource.parser(), - extensionRegistry); - if (relatedResourcesBuilder_ == null) { - ensureRelatedResourcesIsMutable(); - relatedResources_.add(m); - } else { - relatedResourcesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.RelatedResource m = + input.readMessage( + com.google.cloud.asset.v1.RelatedResource.parser(), extensionRegistry); + if (relatedResourcesBuilder_ == null) { + ensureRelatedResourcesIsMutable(); + relatedResources_.add(m); + } else { + relatedResourcesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,21 +524,29 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -512,6 +561,8 @@ public java.util.List getRelatedResou } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -526,6 +577,8 @@ public int getRelatedResourcesCount() { } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -540,14 +593,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(); @@ -561,6 +615,8 @@ public Builder setRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -579,6 +635,8 @@ public Builder setRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -599,14 +657,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(); @@ -620,6 +679,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -638,6 +699,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -656,6 +719,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -666,8 +731,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); @@ -675,6 +739,8 @@ public Builder addAllRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -692,6 +758,8 @@ public Builder clearRelatedResources() { return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -709,17 +777,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.
      * 
@@ -729,19 +800,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 { @@ -749,6 +823,8 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -756,38 +832,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(), @@ -796,9 +881,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); } @@ -808,12 +893,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(); } @@ -822,27 +907,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java similarity index 64% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java index 10384ab80468..7e13b3b81889 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java similarity index 70% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java index e694779b014a..9488959da6b5 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java +++ b/java-asset/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,39 +51,44 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   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 @@ -73,30 +97,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 { @@ -105,14 +129,18 @@ public java.lang.String getType() { } public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") 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 @@ -121,29 +149,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 { @@ -152,14 +180,18 @@ public java.lang.String getSourceResourceType() { } public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -168,29 +200,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 { @@ -199,14 +231,18 @@ public java.lang.String getTargetResourceType() { } public static final int ACTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The action. */ @java.lang.Override @@ -215,29 +251,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 { @@ -246,6 +282,7 @@ public java.lang.String getAction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +294,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_); } @@ -300,21 +336,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -339,97 +372,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
@@ -440,33 +480,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +518,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
@@ -500,8 +539,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.RelationshipAttributes result =
+          new com.google.cloud.asset.v1.RelationshipAttributes(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -526,38 +568,39 @@ private void buildPartial0(com.google.cloud.asset.v1.RelationshipAttributes resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -565,7 +608,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_;
         bitField0_ |= 0x00000001;
@@ -612,32 +656,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              sourceResourceType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              targetResourceType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              action_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                sourceResourceType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                targetResourceType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                action_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -647,23 +696,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     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; @@ -672,21 +724,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 { @@ -694,30 +747,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000001; 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() { @@ -727,18 +787,22 @@ public Builder clearType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; @@ -748,18 +812,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; @@ -768,20 +834,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 { @@ -789,28 +856,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceResourceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceResourceType_ = value; bitField0_ |= 0x00000002; 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() { @@ -820,17 +894,21 @@ public Builder clearSourceResourceType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceResourceType_ = value; bitField0_ |= 0x00000002; @@ -840,18 +918,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; @@ -860,20 +940,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 { @@ -881,28 +962,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetResourceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetResourceType_ = value; bitField0_ |= 0x00000004; 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() { @@ -912,17 +1000,21 @@ public Builder clearTargetResourceType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetResourceType_ = value; bitField0_ |= 0x00000004; @@ -932,18 +1024,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; @@ -952,20 +1046,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 { @@ -973,28 +1068,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return This builder for chaining. */ public Builder clearAction() { @@ -1004,26 +1106,30 @@ public Builder clearAction() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1033,12 +1139,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(); } @@ -1047,27 +1153,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1082,6 +1188,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java similarity index 65% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java index 5030889b1b69..254c4fbbba60 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java similarity index 75% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java index 9afca2329e61..9e4cb4b7cac1 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java +++ b/java-asset/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,38 +48,43 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -70,29 +93,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 { @@ -101,9 +124,12 @@ public java.lang.String getVersion() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -113,6 +139,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -121,14 +148,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:
@@ -138,16 +166,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 { @@ -156,9 +183,12 @@ public java.lang.String getDiscoveryDocumentUri() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryName_ = ""; /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -167,6 +197,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -175,14 +206,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`
@@ -191,16 +223,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 { @@ -209,9 +240,12 @@ public java.lang.String getDiscoveryName() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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:
@@ -220,6 +254,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -228,14 +263,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:
@@ -244,16 +280,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 { @@ -262,9 +297,12 @@ public java.lang.String getResourceUrl() { } public static final int PARENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -279,6 +317,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -287,14 +326,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
@@ -309,16 +349,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 { @@ -329,12 +368,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 @@ -342,12 +384,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 @@ -355,6 +400,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.
@@ -368,15 +415,19 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   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 @@ -385,30 +436,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 { @@ -417,6 +468,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -428,8 +480,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_); } @@ -476,8 +527,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_); @@ -490,30 +540,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -546,130 +589,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -689,9 +737,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 @@ -711,7 +759,9 @@ public com.google.cloud.asset.v1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1.Resource buildPartial() { com.google.cloud.asset.v1.Resource result = new com.google.cloud.asset.v1.Resource(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -734,9 +784,7 @@ private void buildPartial0(com.google.cloud.asset.v1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null - ? data_ - : dataBuilder_.build(); + result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.location_ = location_; @@ -747,38 +795,39 @@ private void buildPartial0(com.google.cloud.asset.v1.Resource result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -846,49 +895,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getDataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 66: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -898,22 +953,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -922,20 +980,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 { @@ -943,28 +1002,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -974,17 +1040,21 @@ public Builder clearVersion() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -994,6 +1064,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1003,13 +1075,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; @@ -1018,6 +1090,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1027,15 +1101,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 { @@ -1043,6 +1116,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1052,18 +1127,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1073,6 +1152,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1082,6 +1162,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1091,12 +1173,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1106,6 +1190,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1114,13 +1200,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; @@ -1129,6 +1215,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1137,15 +1225,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 { @@ -1153,6 +1240,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1161,18 +1250,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1181,6 +1274,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1190,6 +1284,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1198,12 +1294,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1213,6 +1311,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:
@@ -1221,13 +1321,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; @@ -1236,6 +1336,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:
@@ -1244,15 +1346,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 { @@ -1260,6 +1361,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:
@@ -1268,18 +1371,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1288,6 +1395,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1297,6 +1405,8 @@ public Builder clearResourceUrl() { return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1305,12 +1415,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1320,6 +1432,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1334,13 +1448,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; @@ -1349,6 +1463,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1363,15 +1479,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 { @@ -1379,6 +1494,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1393,18 +1510,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1419,6 +1540,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1428,6 +1550,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1442,12 +1566,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1457,26 +1583,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 ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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() { @@ -1487,6 +1622,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1508,6 +1645,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.
@@ -1515,8 +1654,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();
       } else {
@@ -1527,6 +1665,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1536,9 +1676,9 @@ public Builder setData(
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          data_ != null &&
-          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && data_ != null
+            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1551,6 +1691,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.
@@ -1569,6 +1711,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1582,6 +1726,8 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1593,11 +1739,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.
@@ -1606,14 +1753,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_;
@@ -1621,19 +1770,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; @@ -1642,21 +1793,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 { @@ -1664,30 +1816,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; 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() { @@ -1697,27 +1856,31 @@ public Builder clearLocation() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1727,12 +1890,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(); } @@ -1741,27 +1904,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1776,6 +1939,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java similarity index 82% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java index 28dfd71034fe..9243a97d3ce3 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java similarity index 83% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java index d1f62a1698d3..1064391a3ada 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.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; /** + * + * *
  * A result of Resource Search, containing information of a cloud resource.
  * Next ID: 32
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -44,47 +62,50 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   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`.
@@ -97,6 +118,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -105,14 +127,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`.
@@ -125,16 +148,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 { @@ -143,9 +165,12 @@ public java.lang.String getName() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -153,6 +178,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -161,14 +187,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`:
@@ -176,16 +203,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 { @@ -194,9 +220,12 @@ public java.lang.String getAssetType() { } public static final int PROJECT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -208,6 +237,7 @@ public java.lang.String getAssetType() {
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -216,14 +246,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
@@ -235,16 +266,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 { @@ -253,9 +283,12 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 17; + @SuppressWarnings("serial") 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
@@ -267,13 +300,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
@@ -285,12 +320,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
@@ -302,6 +340,7 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -309,6 +348,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
@@ -320,18 +361,21 @@ 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; + @SuppressWarnings("serial") 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
@@ -343,6 +387,7 @@ public java.lang.String getFolders(int index) {
    * 
* * string organization = 18; + * * @return The organization. */ @java.lang.Override @@ -351,14 +396,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
@@ -370,16 +416,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 { @@ -388,9 +433,12 @@ public java.lang.String getOrganization() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -400,6 +448,7 @@ public java.lang.String getOrganization() {
    * 
* * string display_name = 4; + * * @return The displayName. */ @java.lang.Override @@ -408,14 +457,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.
@@ -425,16 +475,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 { @@ -443,9 +492,12 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") 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
@@ -456,6 +508,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -464,14 +517,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
@@ -482,16 +536,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 { @@ -500,9 +553,12 @@ public java.lang.String getDescription() { } public static final int LOCATION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -513,6 +569,7 @@ public java.lang.String getDescription() {
    * 
* * string location = 6; + * * @return The location. */ @java.lang.Override @@ -521,14 +578,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
@@ -539,16 +597,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 { @@ -557,32 +614,34 @@ 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, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -600,20 +659,21 @@ 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 Google
    * Cloud
@@ -635,6 +695,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -652,17 +714,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      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 Google
    * Cloud
@@ -680,11 +744,11 @@ 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();
     }
@@ -692,9 +756,12 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList networkTags_;
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group Google Cloud resources. See [Labelling
@@ -708,13 +775,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 Google Cloud resources. See [Labelling
@@ -728,12 +797,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 Google Cloud resources. See [Labelling
@@ -747,6 +819,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. */ @@ -754,6 +827,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 Google Cloud resources. See [Labelling
@@ -767,18 +842,21 @@ 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; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKey_ = ""; /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -797,24 +875,27 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return The kmsKey. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getKmsKey() { + @java.lang.Deprecated + public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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)
@@ -833,18 +914,18 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return The bytes for kmsKey. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getKmsKeyBytes() { + @java.lang.Deprecated + 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 { @@ -853,9 +934,12 @@ public java.lang.String getNetworkTags(int index) { } public static final int KMS_KEYS_FIELD_NUMBER = 28; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList kmsKeys_; /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -869,13 +953,15 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * repeated string kms_keys = 28; + * * @return A list containing the kmsKeys. */ - public com.google.protobuf.ProtocolStringList - getKmsKeysList() { + public com.google.protobuf.ProtocolStringList getKmsKeysList() { return kmsKeys_; } /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -889,12 +975,15 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * repeated string kms_keys = 28; + * * @return The count of kmsKeys. */ public int getKmsKeysCount() { return kmsKeys_.size(); } /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -908,6 +997,7 @@ public int getKmsKeysCount() {
    * 
* * repeated string kms_keys = 28; + * * @param index The index of the element to return. * @return The kmsKeys at the given index. */ @@ -915,6 +1005,8 @@ public java.lang.String getKmsKeys(int index) { return kmsKeys_.get(index); } /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -928,17 +1020,19 @@ public java.lang.String getKmsKeys(int index) {
    * 
* * repeated string kms_keys = 28; + * * @param index The index of the value to return. * @return The bytes of the kmsKeys at the given index. */ - public com.google.protobuf.ByteString - getKmsKeysBytes(int index) { + public com.google.protobuf.ByteString getKmsKeysBytes(int index) { return kmsKeys_.getByteString(index); } 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
@@ -952,6 +1046,7 @@ public java.lang.String getKmsKeys(int index) {
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -959,6 +1054,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
@@ -972,6 +1069,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return The createTime. */ @java.lang.Override @@ -979,6 +1077,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
@@ -1001,6 +1101,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
@@ -1015,6 +1117,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1022,6 +1125,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
@@ -1036,6 +1141,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return The updateTime. */ @java.lang.Override @@ -1043,6 +1149,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
@@ -1064,9 +1172,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int STATE_FIELD_NUMBER = 13;
+
   @SuppressWarnings("serial")
   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
@@ -1088,6 +1199,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string state = 13; + * * @return The state. */ @java.lang.Override @@ -1096,14 +1208,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
@@ -1125,16 +1238,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 { @@ -1145,6 +1257,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,
@@ -1165,6 +1279,7 @@ public java.lang.String getState() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return Whether the additionalAttributes field is set. */ @java.lang.Override @@ -1172,6 +1287,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,
@@ -1192,13 +1309,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,
@@ -1222,13 +1344,18 @@ public com.google.protobuf.Struct getAdditionalAttributes() {
    */
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
-    return additionalAttributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_;
+    return additionalAttributes_ == null
+        ? com.google.protobuf.Struct.getDefaultInstance()
+        : additionalAttributes_;
   }
 
   public static final int PARENT_FULL_RESOURCE_NAME_FIELD_NUMBER = 19;
+
   @SuppressWarnings("serial")
   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`:
@@ -1239,6 +1366,7 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
    * 
* * string parent_full_resource_name = 19; + * * @return The parentFullResourceName. */ @java.lang.Override @@ -1247,14 +1375,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`:
@@ -1265,16 +1394,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 { @@ -1283,9 +1411,12 @@ public java.lang.String getParentFullResourceName() { } public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private java.util.List versionedResources_; /** + * + * *
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1302,6 +1433,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
@@ -1314,11 +1447,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
@@ -1335,6 +1470,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
@@ -1351,6 +1488,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
@@ -1369,9 +1508,12 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   public static final int ATTACHED_RESOURCES_FIELD_NUMBER = 20;
+
   @SuppressWarnings("serial")
   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
@@ -1388,6 +1530,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
@@ -1400,11 +1544,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
@@ -1421,6 +1567,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
@@ -1437,6 +1585,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
@@ -1455,32 +1605,40 @@ 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());
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.asset.v1.RelatedResources> relationships_;
   private com.google.protobuf.MapField
-  internalGetRelationships() {
+      relationships_;
+
+  private com.google.protobuf.MapField
+      internalGetRelationships() {
     if (relationships_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           RelationshipsDefaultEntryHolder.defaultEntry);
     }
     return relationships_;
   }
+
   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
@@ -1493,20 +1651,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
@@ -1519,10 +1679,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
@@ -1535,17 +1698,20 @@ public java.util.Mapmap<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
+  public /* nullable */ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.asset.v1.RelatedResources defaultValue) {
-    if (key == null) { throw new NullPointerException("map 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
@@ -1558,9 +1724,10 @@ 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)) {
@@ -1570,9 +1737,12 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
   }
 
   public static final int TAG_KEYS_FIELD_NUMBER = 23;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList tagKeys_;
   /**
+   *
+   *
    * 
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1585,13 +1755,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`:
@@ -1604,12 +1776,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`:
@@ -1622,6 +1797,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. */ @@ -1629,6 +1805,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`:
@@ -1641,18 +1819,21 @@ 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; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList tagValues_; /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1667,13 +1848,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}.
@@ -1688,12 +1871,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}.
@@ -1708,6 +1894,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. */ @@ -1715,6 +1902,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}.
@@ -1729,18 +1918,21 @@ 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; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList tagValueIds_; /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1752,13 +1944,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`:
@@ -1770,12 +1964,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`:
@@ -1787,6 +1984,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. */ @@ -1794,6 +1992,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`:
@@ -1805,18 +2005,21 @@ 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; + @SuppressWarnings("serial") 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`:
@@ -1827,6 +2030,7 @@ public java.lang.String getTagValueIds(int index) {
    * 
* * string parent_asset_type = 103; + * * @return The parentAssetType. */ @java.lang.Override @@ -1835,14 +2039,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`:
@@ -1853,16 +2058,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 { @@ -1871,6 +2075,7 @@ public java.lang.String getParentAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1882,8 +2087,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_); } @@ -1902,12 +2106,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)); } @@ -1941,12 +2141,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)); } @@ -1989,15 +2185,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; @@ -2008,26 +2204,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; @@ -2044,18 +2238,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; @@ -2100,70 +2295,47 @@ public int getSerializedSize() { @java.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; - if (!getKmsKeysList() - .equals(other.getKmsKeysList())) 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 (!getKmsKeysList().equals(other.getKmsKeysList())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2254,97 +2426,104 @@ 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.
    * Next ID: 32
@@ -2352,59 +2531,56 @@ protected Builder newBuilderForType(
    *
    * 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()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2467,9 +2643,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
@@ -2488,9 +2664,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2577,22 +2756,19 @@ private void buildPartial0(com.google.cloud.asset.v1.ResourceSearchResult result
         result.kmsKey_ = kmsKey_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00004000) != 0)) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.additionalAttributes_ = additionalAttributesBuilder_ == null
-            ? additionalAttributes_
-            : additionalAttributesBuilder_.build();
+        result.additionalAttributes_ =
+            additionalAttributesBuilder_ == null
+                ? additionalAttributes_
+                : additionalAttributesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
         result.parentFullResourceName_ = parentFullResourceName_;
@@ -2610,38 +2786,39 @@ private void buildPartial0(com.google.cloud.asset.v1.ResourceSearchResult result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -2695,8 +2872,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) {
         bitField0_ |= 0x00000080;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (!other.networkTags_.isEmpty()) {
         if (networkTags_.isEmpty()) {
@@ -2760,9 +2936,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) {
             versionedResourcesBuilder_ = null;
             versionedResources_ = other.versionedResources_;
             bitField0_ = (bitField0_ & ~0x00020000);
-            versionedResourcesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVersionedResourcesFieldBuilder() : null;
+            versionedResourcesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVersionedResourcesFieldBuilder()
+                    : null;
           } else {
             versionedResourcesBuilder_.addAllMessages(other.versionedResources_);
           }
@@ -2786,16 +2963,16 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) {
             attachedResourcesBuilder_ = null;
             attachedResources_ = other.attachedResources_;
             bitField0_ = (bitField0_ & ~0x00040000);
-            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());
       bitField0_ |= 0x00080000;
       if (!other.tagKeys_.isEmpty()) {
         if (tagKeys_.isEmpty()) {
@@ -2858,168 +3035,192 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              project_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 42
-            case 50: {
-              location_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 58
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureNetworkTagsIsMutable();
-              networkTags_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getAdditionalAttributesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 74
-            case 82: {
-              kmsKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 98
-            case 106: {
-              state_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 106
-            case 130: {
-              com.google.cloud.asset.v1.VersionedResource m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.VersionedResource.parser(),
-                      extensionRegistry);
-              if (versionedResourcesBuilder_ == null) {
-                ensureVersionedResourcesIsMutable();
-                versionedResources_.add(m);
-              } else {
-                versionedResourcesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 130
-            case 138: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureFoldersIsMutable();
-              folders_.add(s);
-              break;
-            } // case 138
-            case 146: {
-              organization_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 146
-            case 154: {
-              parentFullResourceName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 154
-            case 162: {
-              com.google.cloud.asset.v1.AttachedResource m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AttachedResource.parser(),
-                      extensionRegistry);
-              if (attachedResourcesBuilder_ == null) {
-                ensureAttachedResourcesIsMutable();
-                attachedResources_.add(m);
-              } else {
-                attachedResourcesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 162
-            case 170: {
-              com.google.protobuf.MapEntry
-              relationships__ = input.readMessage(
-                  RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableRelationships().getMutableMap().put(
-                  relationships__.getKey(), relationships__.getValue());
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 170
-            case 186: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagKeysIsMutable();
-              tagKeys_.add(s);
-              break;
-            } // case 186
-            case 202: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagValuesIsMutable();
-              tagValues_.add(s);
-              break;
-            } // case 202
-            case 210: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagValueIdsIsMutable();
-              tagValueIds_.add(s);
-              break;
-            } // case 210
-            case 226: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKmsKeysIsMutable();
-              kmsKeys_.add(s);
-              break;
-            } // case 226
-            case 826: {
-              parentAssetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00800000;
-              break;
-            } // case 826
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                project_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 42
+            case 50:
+              {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 58
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureNetworkTagsIsMutable();
+                networkTags_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getAdditionalAttributesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 74
+            case 82:
+              {
+                kmsKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 98
+            case 106:
+              {
+                state_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 106
+            case 130:
+              {
+                com.google.cloud.asset.v1.VersionedResource m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry);
+                if (versionedResourcesBuilder_ == null) {
+                  ensureVersionedResourcesIsMutable();
+                  versionedResources_.add(m);
+                } else {
+                  versionedResourcesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 130
+            case 138:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureFoldersIsMutable();
+                folders_.add(s);
+                break;
+              } // case 138
+            case 146:
+              {
+                organization_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 146
+            case 154:
+              {
+                parentFullResourceName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 154
+            case 162:
+              {
+                com.google.cloud.asset.v1.AttachedResource m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.AttachedResource.parser(), extensionRegistry);
+                if (attachedResourcesBuilder_ == null) {
+                  ensureAttachedResourcesIsMutable();
+                  attachedResources_.add(m);
+                } else {
+                  attachedResourcesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 162
+            case 170:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.asset.v1.RelatedResources>
+                    relationships__ =
+                        input.readMessage(
+                            RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableRelationships()
+                    .getMutableMap()
+                    .put(relationships__.getKey(), relationships__.getValue());
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 170
+            case 186:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagKeysIsMutable();
+                tagKeys_.add(s);
+                break;
+              } // case 186
+            case 202:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagValuesIsMutable();
+                tagValues_.add(s);
+                break;
+              } // case 202
+            case 210:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagValueIdsIsMutable();
+                tagValueIds_.add(s);
+                break;
+              } // case 210
+            case 226:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKmsKeysIsMutable();
+                kmsKeys_.add(s);
+                break;
+              } // case 226
+            case 826:
+              {
+                parentAssetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00800000;
+                break;
+              } // case 826
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3029,10 +3230,13 @@ public Builder mergeFrom(
       } // finally
       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`.
@@ -3045,13 +3249,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; @@ -3060,6 +3264,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`.
@@ -3072,15 +3278,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 { @@ -3088,6 +3293,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`.
@@ -3100,18 +3307,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3124,6 +3335,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3133,6 +3345,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3145,12 +3359,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3160,6 +3376,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`:
@@ -3167,13 +3385,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; @@ -3182,6 +3400,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3189,15 +3409,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 { @@ -3205,6 +3424,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3212,18 +3433,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3231,6 +3456,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -3240,6 +3466,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3247,12 +3475,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -3262,6 +3492,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
@@ -3273,13 +3505,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; @@ -3288,6 +3520,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
@@ -3299,15 +3533,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 { @@ -3315,6 +3548,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
@@ -3326,18 +3561,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3349,6 +3588,7 @@ public Builder setProject(
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -3358,6 +3598,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3369,12 +3611,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -3382,14 +3626,18 @@ public Builder setProjectBytes( 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_ & 0x00000008) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3401,13 +3649,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
@@ -3419,12 +3669,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
@@ -3436,6 +3689,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3443,6 +3697,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
@@ -3454,14 +3710,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
@@ -3473,19 +3731,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFolders(int index, java.lang.String value) { + if (value == null) { + 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
@@ -3497,18 +3759,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFolders(java.lang.String value) { + if (value == null) { + 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
@@ -3520,18 +3786,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
@@ -3543,6 +3810,7 @@ public Builder addAllFolders(
      * 
* * repeated string folders = 17; + * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3552,6 +3820,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
@@ -3563,12 +3833,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFoldersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); @@ -3578,6 +3850,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
@@ -3589,13 +3863,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; @@ -3604,6 +3878,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
@@ -3615,15 +3891,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 { @@ -3631,6 +3906,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
@@ -3642,18 +3919,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganization(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } organization_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3665,6 +3946,7 @@ public Builder setOrganization(
      * 
* * string organization = 18; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3674,6 +3956,8 @@ public Builder clearOrganization() { return this; } /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3685,12 +3969,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); organization_ = value; bitField0_ |= 0x00000010; @@ -3700,6 +3986,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.
@@ -3709,13 +3997,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; @@ -3724,6 +4012,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3733,15 +4023,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 { @@ -3749,6 +4038,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3758,18 +4049,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3779,6 +4074,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 4; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3788,6 +4084,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3797,12 +4095,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -3812,6 +4112,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
@@ -3822,13 +4124,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; @@ -3837,6 +4139,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
@@ -3847,15 +4151,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 { @@ -3863,6 +4166,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
@@ -3873,18 +4178,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; 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
@@ -3895,6 +4204,7 @@ public Builder setDescription(
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3904,6 +4214,8 @@ public Builder clearDescription() { 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
@@ -3914,12 +4226,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; @@ -3929,6 +4243,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
@@ -3939,13 +4255,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; @@ -3954,6 +4270,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
@@ -3964,15 +4282,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 { @@ -3980,6 +4297,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
@@ -3990,18 +4309,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000080; 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
@@ -4012,6 +4335,7 @@ public Builder setLocation(
      * 
* * string location = 6; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -4021,6 +4345,8 @@ public Builder clearLocation() { 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
@@ -4031,12 +4357,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000080; @@ -4044,21 +4372,19 @@ public Builder setLocationBytes( 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() { 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(); @@ -4067,10 +4393,13 @@ public Builder setLocationBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4088,20 +4417,21 @@ 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 Google
      * Cloud
@@ -4123,6 +4453,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4140,17 +4472,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        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 Google
      * Cloud
@@ -4168,23 +4502,25 @@ 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();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000100);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4201,23 +4537,22 @@ 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() {
       bitField0_ |= 0x00000100;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4234,17 +4569,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"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    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");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000100;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -4261,22 +4599,24 @@ 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);
       bitField0_ |= 0x00000100;
       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_ & 0x00000200) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000200;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -4290,13 +4630,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 Google Cloud resources. See [Labelling
@@ -4310,12 +4652,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 Google Cloud resources. See [Labelling
@@ -4329,6 +4674,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. */ @@ -4336,6 +4682,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 Google Cloud resources. See [Labelling
@@ -4349,14 +4697,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 Google Cloud resources. See [Labelling
@@ -4370,19 +4720,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkTags(int index, java.lang.String value) { + if (value == null) { + 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 Google Cloud resources. See [Labelling
@@ -4396,18 +4750,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTags(java.lang.String value) { + if (value == null) { + 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 Google Cloud resources. See [Labelling
@@ -4421,18 +4779,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 Google Cloud resources. See [Labelling
@@ -4446,6 +4805,7 @@ public Builder addAllNetworkTags(
      * 
* * repeated string network_tags = 8; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -4455,6 +4815,8 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -4468,12 +4830,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); @@ -4483,6 +4847,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)
@@ -4501,15 +4867,16 @@ public Builder addNetworkTagsBytes(
      * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return The kmsKey. */ - @java.lang.Deprecated public java.lang.String getKmsKey() { + @java.lang.Deprecated + 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; @@ -4518,6 +4885,8 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4536,17 +4905,17 @@ public Builder addNetworkTagsBytes(
      * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return The bytes for kmsKey. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKmsKeyBytes() { + @java.lang.Deprecated + 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 { @@ -4554,6 +4923,8 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4572,20 +4943,25 @@ public Builder addNetworkTagsBytes(
      * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @param value The kmsKey to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setKmsKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setKmsKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKey_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4604,17 +4980,21 @@ public Builder addNetworkTagsBytes(
      * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearKmsKey() { + @java.lang.Deprecated + public Builder clearKmsKey() { kmsKey_ = getDefaultInstance().getKmsKey(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4633,14 +5013,17 @@ public Builder addNetworkTagsBytes(
      * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setKmsKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKey_ = value; bitField0_ |= 0x00000400; @@ -4648,14 +5031,18 @@ public Builder addNetworkTagsBytes( return this; } - private com.google.protobuf.LazyStringList kmsKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList kmsKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKmsKeysIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { kmsKeys_ = new com.google.protobuf.LazyStringArrayList(kmsKeys_); bitField0_ |= 0x00000800; - } + } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4669,13 +5056,15 @@ private void ensureKmsKeysIsMutable() {
      * 
* * repeated string kms_keys = 28; + * * @return A list containing the kmsKeys. */ - public com.google.protobuf.ProtocolStringList - getKmsKeysList() { + public com.google.protobuf.ProtocolStringList getKmsKeysList() { return kmsKeys_.getUnmodifiableView(); } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4689,12 +5078,15 @@ private void ensureKmsKeysIsMutable() {
      * 
* * repeated string kms_keys = 28; + * * @return The count of kmsKeys. */ public int getKmsKeysCount() { return kmsKeys_.size(); } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4708,6 +5100,7 @@ public int getKmsKeysCount() {
      * 
* * repeated string kms_keys = 28; + * * @param index The index of the element to return. * @return The kmsKeys at the given index. */ @@ -4715,6 +5108,8 @@ public java.lang.String getKmsKeys(int index) { return kmsKeys_.get(index); } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4728,14 +5123,16 @@ public java.lang.String getKmsKeys(int index) {
      * 
* * repeated string kms_keys = 28; + * * @param index The index of the value to return. * @return The bytes of the kmsKeys at the given index. */ - public com.google.protobuf.ByteString - getKmsKeysBytes(int index) { + public com.google.protobuf.ByteString getKmsKeysBytes(int index) { return kmsKeys_.getByteString(index); } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4749,19 +5146,23 @@ public java.lang.String getKmsKeys(int index) {
      * 
* * repeated string kms_keys = 28; + * * @param index The index to set the value at. * @param value The kmsKeys to set. * @return This builder for chaining. */ - public Builder setKmsKeys( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeys(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeysIsMutable(); kmsKeys_.set(index, value); onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4775,18 +5176,22 @@ public Builder setKmsKeys(
      * 
* * repeated string kms_keys = 28; + * * @param value The kmsKeys to add. * @return This builder for chaining. */ - public Builder addKmsKeys( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeys(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeysIsMutable(); kmsKeys_.add(value); onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4800,18 +5205,19 @@ public Builder addKmsKeys(
      * 
* * repeated string kms_keys = 28; + * * @param values The kmsKeys to add. * @return This builder for chaining. */ - public Builder addAllKmsKeys( - java.lang.Iterable values) { + public Builder addAllKmsKeys(java.lang.Iterable values) { ensureKmsKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kmsKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeys_); onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4825,6 +5231,7 @@ public Builder addAllKmsKeys(
      * 
* * repeated string kms_keys = 28; + * * @return This builder for chaining. */ public Builder clearKmsKeys() { @@ -4834,6 +5241,8 @@ public Builder clearKmsKeys() { return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4847,12 +5256,14 @@ public Builder clearKmsKeys() {
      * 
* * repeated string kms_keys = 28; + * * @param value The bytes of the kmsKeys to add. * @return This builder for chaining. */ - public Builder addKmsKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureKmsKeysIsMutable(); kmsKeys_.add(value); @@ -4862,8 +5273,13 @@ public Builder addKmsKeysBytes( 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
@@ -4877,12 +5293,15 @@ public Builder addKmsKeysBytes(
      * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * 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
@@ -4896,16 +5315,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
@@ -4934,6 +5358,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
@@ -4948,8 +5374,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();
       } else {
@@ -4960,6 +5385,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
@@ -4976,9 +5403,9 @@ public Builder setCreateTime(
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00001000) != 0) &&
-          createTime_ != null &&
-          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00001000) != 0)
+            && createTime_ != null
+            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -4991,6 +5418,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
@@ -5016,6 +5445,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
@@ -5036,6 +5467,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       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
@@ -5054,11 +5487,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
@@ -5074,14 +5510,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_;
@@ -5089,8 +5528,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
@@ -5105,12 +5549,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5125,16 +5572,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
@@ -5164,6 +5616,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
@@ -5179,8 +5633,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();
       } else {
@@ -5191,6 +5644,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
@@ -5208,9 +5663,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00002000) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00002000) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -5223,6 +5678,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
@@ -5249,6 +5706,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
@@ -5270,6 +5729,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       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
@@ -5289,11 +5750,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
@@ -5310,14 +5774,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_;
@@ -5325,6 +5792,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
@@ -5346,13 +5815,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; @@ -5361,6 +5830,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
@@ -5382,15 +5853,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 { @@ -5398,6 +5868,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
@@ -5419,18 +5891,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } state_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5452,6 +5928,7 @@ public Builder setState(
      * 
* * string state = 13; + * * @return This builder for chaining. */ public Builder clearState() { @@ -5461,6 +5938,8 @@ public Builder clearState() { return this; } /** + * + * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5482,12 +5961,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00004000; @@ -5497,8 +5978,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,
@@ -5519,12 +6005,15 @@ public Builder setStateBytes(
      * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return Whether the additionalAttributes field is set. */ public boolean hasAdditionalAttributes() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5545,16 +6034,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,
@@ -5590,6 +6084,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,
@@ -5611,8 +6107,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();
       } else {
@@ -5623,6 +6118,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,
@@ -5646,9 +6143,9 @@ public Builder setAdditionalAttributes(
      */
     public Builder mergeAdditionalAttributes(com.google.protobuf.Struct value) {
       if (additionalAttributesBuilder_ == null) {
-        if (((bitField0_ & 0x00008000) != 0) &&
-          additionalAttributes_ != null &&
-          additionalAttributes_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00008000) != 0)
+            && additionalAttributes_ != null
+            && additionalAttributes_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getAdditionalAttributesBuilder().mergeFrom(value);
         } else {
           additionalAttributes_ = value;
@@ -5661,6 +6158,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,
@@ -5693,6 +6192,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,
@@ -5720,6 +6221,8 @@ public com.google.protobuf.Struct.Builder getAdditionalAttributesBuilder() {
       return getAdditionalAttributesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5745,11 +6248,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,
@@ -5772,14 +6278,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_;
@@ -5787,6 +6296,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`:
@@ -5797,13 +6308,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; @@ -5812,6 +6323,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`:
@@ -5822,15 +6335,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 { @@ -5838,6 +6350,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`:
@@ -5848,18 +6362,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentFullResourceName_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** + * + * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5870,6 +6388,7 @@ public Builder setParentFullResourceName(
      * 
* * string parent_full_resource_name = 19; + * * @return This builder for chaining. */ public Builder clearParentFullResourceName() { @@ -5879,6 +6398,8 @@ public Builder clearParentFullResourceName() { return this; } /** + * + * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5889,12 +6410,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentFullResourceName_ = value; bitField0_ |= 0x00010000; @@ -5903,18 +6426,26 @@ public Builder setParentFullResourceNameBytes( } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00020000) != 0)) { - versionedResources_ = new java.util.ArrayList(versionedResources_); + versionedResources_ = + new java.util.ArrayList( + versionedResources_); bitField0_ |= 0x00020000; - } + } } 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
@@ -5934,6 +6465,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
@@ -5953,6 +6486,8 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5972,6 +6507,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
@@ -5998,6 +6535,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
@@ -6021,6 +6560,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
@@ -6046,6 +6587,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
@@ -6072,6 +6615,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
@@ -6095,6 +6640,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
@@ -6118,6 +6665,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
@@ -6133,8 +6682,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);
@@ -6142,6 +6690,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
@@ -6164,6 +6714,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
@@ -6186,6 +6738,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
@@ -6202,6 +6756,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
@@ -6216,11 +6772,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
@@ -6232,8 +6791,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 {
@@ -6241,6 +6800,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
@@ -6253,10 +6814,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
@@ -6270,10 +6833,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
@@ -6285,16 +6850,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_ & 0x00020000) != 0),
                 getParentForChildren(),
@@ -6305,18 +6876,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_ & 0x00040000) != 0)) {
-        attachedResources_ = new java.util.ArrayList(attachedResources_);
+        attachedResources_ =
+            new java.util.ArrayList(attachedResources_);
         bitField0_ |= 0x00040000;
-       }
+      }
     }
 
     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
@@ -6336,6 +6914,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
@@ -6355,6 +6935,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
@@ -6374,6 +6956,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
@@ -6400,6 +6984,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
@@ -6423,6 +7009,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
@@ -6448,6 +7036,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
@@ -6474,6 +7064,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
@@ -6497,6 +7089,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
@@ -6520,6 +7114,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
@@ -6535,8 +7131,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);
@@ -6544,6 +7139,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
@@ -6566,6 +7163,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
@@ -6588,6 +7187,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
@@ -6604,6 +7205,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
@@ -6618,11 +7221,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
@@ -6634,8 +7240,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 {
@@ -6643,6 +7249,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
@@ -6655,10 +7263,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
@@ -6672,10 +7282,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
@@ -6687,16 +7299,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_ & 0x00040000) != 0),
                 getParentForChildren(),
@@ -6707,8 +7325,11 @@ 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>
+        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(
@@ -6716,11 +7337,13 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
       }
       return relationships_;
     }
-    private com.google.protobuf.MapField
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
         internalGetMutableRelationships() {
       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();
@@ -6729,10 +7352,13 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
       onChanged();
       return relationships_;
     }
+
     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
@@ -6745,20 +7371,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
@@ -6771,10 +7399,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
@@ -6787,17 +7418,20 @@ public java.util.Mapmap<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
+    public /* nullable */ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.cloud.asset.v1.RelatedResources defaultValue) {
-      if (key == null) { throw new NullPointerException("map 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
@@ -6812,7 +7446,9 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
     @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)) {
@@ -6820,13 +7456,15 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearRelationships() {
       bitField0_ = (bitField0_ & ~0x00080000);
-      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
@@ -6838,16 +7476,14 @@ 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() {
@@ -6855,6 +7491,8 @@ public Builder removeRelationships(
       return internalGetMutableRelationships().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6867,16 +7505,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"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableRelationships().getMutableMap()
-          .put(key, value);
+        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");
+      }
+      internalGetMutableRelationships().getMutableMap().put(key, value);
       bitField0_ |= 0x00080000;
       return this;
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6890,20 +7532,23 @@ public Builder putRelationships(
      */
     public Builder putAllRelationships(
         java.util.Map values) {
-      internalGetMutableRelationships().getMutableMap()
-          .putAll(values);
+      internalGetMutableRelationships().getMutableMap().putAll(values);
       bitField0_ |= 0x00080000;
       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_ & 0x00100000) != 0)) {
         tagKeys_ = new com.google.protobuf.LazyStringArrayList(tagKeys_);
         bitField0_ |= 0x00100000;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6916,13 +7561,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`:
@@ -6935,12 +7582,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`:
@@ -6953,6 +7603,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. */ @@ -6960,6 +7611,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`:
@@ -6972,14 +7625,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`:
@@ -6992,19 +7647,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagKeys(int index, java.lang.String value) { + if (value == null) { + 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`:
@@ -7017,18 +7676,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addTagKeys(java.lang.String value) { + if (value == null) { + 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`:
@@ -7041,18 +7704,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`:
@@ -7065,6 +7729,7 @@ public Builder addAllTagKeys(
      * 
* * repeated string tag_keys = 23; + * * @return This builder for chaining. */ public Builder clearTagKeys() { @@ -7074,6 +7739,8 @@ public Builder clearTagKeys() { return this; } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7086,12 +7753,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addTagKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTagKeysIsMutable(); tagKeys_.add(value); @@ -7099,14 +7768,18 @@ public Builder addTagKeysBytes( 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_ & 0x00200000) != 0)) { tagValues_ = new com.google.protobuf.LazyStringArrayList(tagValues_); bitField0_ |= 0x00200000; - } + } } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7121,13 +7794,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}.
@@ -7142,12 +7817,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}.
@@ -7162,6 +7840,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. */ @@ -7169,6 +7848,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}.
@@ -7183,14 +7864,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}.
@@ -7205,19 +7888,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagValues(int index, java.lang.String value) { + if (value == null) { + 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}.
@@ -7232,18 +7919,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addTagValues(java.lang.String value) { + if (value == null) { + 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}.
@@ -7258,18 +7949,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}.
@@ -7284,6 +7976,7 @@ public Builder addAllTagValues(
      * 
* * repeated string tag_values = 25; + * * @return This builder for chaining. */ public Builder clearTagValues() { @@ -7293,6 +7986,8 @@ public Builder clearTagValues() { return this; } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7307,12 +8002,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addTagValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTagValuesIsMutable(); tagValues_.add(value); @@ -7320,14 +8017,18 @@ public Builder addTagValuesBytes( 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_ & 0x00400000) != 0)) { tagValueIds_ = new com.google.protobuf.LazyStringArrayList(tagValueIds_); bitField0_ |= 0x00400000; - } + } } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7339,13 +8040,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`:
@@ -7357,12 +8060,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`:
@@ -7374,6 +8080,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. */ @@ -7381,6 +8088,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`:
@@ -7392,14 +8101,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`:
@@ -7411,19 +8122,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagValueIds(int index, java.lang.String value) { + if (value == null) { + 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`:
@@ -7435,18 +8150,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addTagValueIds(java.lang.String value) { + if (value == null) { + 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`:
@@ -7458,18 +8177,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`:
@@ -7481,6 +8201,7 @@ public Builder addAllTagValueIds(
      * 
* * repeated string tag_value_ids = 26; + * * @return This builder for chaining. */ public Builder clearTagValueIds() { @@ -7490,6 +8211,8 @@ public Builder clearTagValueIds() { return this; } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7501,12 +8224,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addTagValueIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTagValueIdsIsMutable(); tagValueIds_.add(value); @@ -7516,6 +8241,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`:
@@ -7526,13 +8253,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; @@ -7541,6 +8268,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`:
@@ -7551,15 +8280,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 { @@ -7567,6 +8295,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`:
@@ -7577,18 +8307,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parentAssetType_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7599,6 +8333,7 @@ public Builder setParentAssetType(
      * 
* * string parent_asset_type = 103; + * * @return This builder for chaining. */ public Builder clearParentAssetType() { @@ -7608,6 +8343,8 @@ public Builder clearParentAssetType() { return this; } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7618,21 +8355,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parentAssetType_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7642,12 +8381,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(); } @@ -7656,27 +8395,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSearchResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7691,6 +8430,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ResourceSearchResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java similarity index 91% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java index 3eedd741d6c9..1e8e286cc000 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java +++ b/java-asset/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 Google
    * Cloud
@@ -301,6 +364,8 @@ public interface ResourceSearchResultOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -317,15 +382,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 Google
    * Cloud
@@ -342,9 +405,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 Google
    * Cloud
@@ -362,11 +426,13 @@ boolean containsLabels(
    * map<string, string> labels = 7;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -383,10 +449,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 Google Cloud resources. See [Labelling
@@ -400,11 +467,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 Google Cloud resources. See [Labelling
@@ -418,10 +487,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 Google Cloud resources. See [Labelling
@@ -435,11 +507,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 Google Cloud resources. See [Labelling
@@ -453,13 +528,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)
@@ -478,12 +555,16 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return The kmsKey. */ - @java.lang.Deprecated java.lang.String getKmsKey(); + @java.lang.Deprecated + java.lang.String getKmsKey(); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -502,14 +583,17 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key = 10 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. - * See google/cloud/asset/v1/assets.proto;l=437 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=437 * @return The bytes for kmsKey. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getKmsKeyBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getKmsKeyBytes(); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -523,11 +607,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string kms_keys = 28; + * * @return A list containing the kmsKeys. */ - java.util.List - getKmsKeysList(); + java.util.List getKmsKeysList(); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -541,10 +627,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string kms_keys = 28; + * * @return The count of kmsKeys. */ int getKmsKeysCount(); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -558,11 +647,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string kms_keys = 28; + * * @param index The index of the element to return. * @return The kmsKeys at the given index. */ java.lang.String getKmsKeys(int index); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -576,13 +668,15 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string kms_keys = 28; + * * @param index The index of the value to return. * @return The bytes of the kmsKeys at the given index. */ - com.google.protobuf.ByteString - getKmsKeysBytes(int index); + com.google.protobuf.ByteString getKmsKeysBytes(int index); /** + * + * *
    * 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
@@ -596,10 +690,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
@@ -613,10 +710,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
@@ -634,6 +734,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
@@ -648,10 +750,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
@@ -666,10 +771,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
@@ -688,6 +796,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
@@ -709,10 +819,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
@@ -734,12 +847,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,
@@ -760,10 +875,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,
@@ -784,10 +902,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,
@@ -812,6 +933,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`:
@@ -822,10 +945,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`:
@@ -836,12 +962,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
@@ -853,9 +981,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
@@ -869,6 +998,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
@@ -882,6 +1013,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
@@ -893,9 +1026,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
@@ -907,10 +1042,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
@@ -922,9 +1058,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
@@ -938,6 +1075,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
@@ -951,6 +1090,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
@@ -962,9 +1103,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
@@ -976,10 +1119,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
@@ -993,6 +1137,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
@@ -1004,15 +1150,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
@@ -1024,9 +1168,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
@@ -1039,11 +1184,13 @@ boolean containsRelationships(
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   /* 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
@@ -1055,10 +1202,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`:
@@ -1071,11 +1219,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`:
@@ -1088,10 +1238,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`:
@@ -1104,11 +1257,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`:
@@ -1121,13 +1277,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}.
@@ -1142,11 +1300,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}.
@@ -1161,10 +1321,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}.
@@ -1179,11 +1342,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}.
@@ -1198,13 +1364,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`:
@@ -1216,11 +1384,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`:
@@ -1232,10 +1402,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`:
@@ -1247,11 +1420,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`:
@@ -1263,13 +1439,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`:
@@ -1280,10 +1458,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`:
@@ -1294,8 +1475,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java similarity index 69% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java index 92d362cda44b..ce790b72f8bd 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java +++ b/java-asset/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,46 +46,49 @@ 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; } - 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
@@ -78,10 +99,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
@@ -92,10 +116,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
@@ -112,57 +139,63 @@ 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; } - 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; } @@ -178,24 +211,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
@@ -206,6 +243,7 @@ public int getNumber() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -213,6 +251,8 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -223,16 +263,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
@@ -245,14 +288,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;
@@ -264,8 +309,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_);
       }
@@ -279,8 +323,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 += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -290,18 +335,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:
@@ -331,87 +376,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
@@ -421,39 +472,41 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +520,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 @@ -488,8 +541,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.SavedQuery.QueryContent result = + new com.google.cloud.asset.v1.SavedQuery.QueryContent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -502,8 +558,7 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery.QueryContent res private void buildPartialOneofs(com.google.cloud.asset.v1.SavedQuery.QueryContent result) { result.queryContentCase_ = queryContentCase_; result.queryContent_ = this.queryContent_; - if (queryContentCase_ == 1 && - iamPolicyAnalysisQueryBuilder_ != null) { + if (queryContentCase_ == 1 && iamPolicyAnalysisQueryBuilder_ != null) { result.queryContent_ = iamPolicyAnalysisQueryBuilder_.build(); } } @@ -512,38 +567,41 @@ private void buildPartialOneofs(com.google.cloud.asset.v1.SavedQuery.QueryConten public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -551,15 +609,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.getUnknownFields()); onChanged(); @@ -587,19 +648,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getIamPolicyAnalysisQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryContentCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getIamPolicyAnalysisQueryFieldBuilder().getBuilder(), extensionRegistry); + queryContentCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -609,12 +671,12 @@ public Builder mergeFrom( } // finally 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() { @@ -627,8 +689,13 @@ public Builder clearQueryContent() { private int bitField0_; 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
@@ -639,6 +706,7 @@ public Builder clearQueryContent() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -646,6 +714,8 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -656,6 +726,7 @@ public boolean hasIamPolicyAnalysisQuery() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override @@ -673,6 +744,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer } } /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -684,7 +757,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();
@@ -698,6 +772,8 @@ public Builder setIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnal
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -721,6 +797,8 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -732,12 +810,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;
           }
@@ -753,6 +836,8 @@ public Builder mergeIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAn
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -781,6 +866,8 @@ public Builder clearIamPolicyAnalysisQuery() {
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -792,10 +879,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
@@ -808,7 +898,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 {
@@ -819,6 +910,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAna
         }
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -831,14 +924,19 @@ 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());
@@ -848,6 +946,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAna
         onChanged();
         return iamPolicyAnalysisQueryBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -860,12 +959,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();
     }
@@ -874,27 +973,28 @@ 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 {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public QueryContent parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -909,13 +1009,15 @@ 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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -924,6 +1026,7 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForTy
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -932,14 +1035,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
@@ -948,16 +1052,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 { @@ -966,15 +1069,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -983,30 +1090,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 { @@ -1017,11 +1124,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 @@ -1029,11 +1140,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 @@ -1041,11 +1156,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() { @@ -1053,14 +1171,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } public static final int CREATOR_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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 @@ -1069,29 +1191,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 { @@ -1102,11 +1224,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 @@ -1114,39 +1241,56 @@ 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() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } public static final int LAST_UPDATER_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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 @@ -1155,30 +1299,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 { @@ -1187,32 +1331,34 @@ 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, + ""); } + @SuppressWarnings("serial") - 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_; } + 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
@@ -1222,20 +1368,21 @@ 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
@@ -1249,6 +1396,8 @@ 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
@@ -1258,17 +1407,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      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
@@ -1278,11 +1429,11 @@ 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();
     }
@@ -1292,11 +1443,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 @@ -1304,18 +1458,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.
    * 
@@ -1324,10 +1485,13 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getContent() { */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBuilder() { - return content_ == null ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() + : content_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1339,8 +1503,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_); } @@ -1359,12 +1522,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()); } @@ -1384,32 +1543,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1419,37 +1575,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1491,152 +1639,155 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1665,9 +1816,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 @@ -1687,7 +1838,9 @@ public com.google.cloud.asset.v1.SavedQuery build() { @java.lang.Override public com.google.cloud.asset.v1.SavedQuery buildPartial() { com.google.cloud.asset.v1.SavedQuery result = new com.google.cloud.asset.v1.SavedQuery(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1701,17 +1854,14 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery result) { result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.creator_ = creator_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.lastUpdateTime_ = lastUpdateTimeBuilder_ == null - ? lastUpdateTime_ - : lastUpdateTimeBuilder_.build(); + result.lastUpdateTime_ = + lastUpdateTimeBuilder_ == null ? lastUpdateTime_ : lastUpdateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.lastUpdater_ = lastUpdater_; @@ -1721,9 +1871,7 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery result) { result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.content_ = contentBuilder_ == null - ? content_ - : contentBuilder_.build(); + result.content_ = contentBuilder_ == null ? content_ : contentBuilder_.build(); } } @@ -1731,38 +1879,39 @@ private void buildPartial0(com.google.cloud.asset.v1.SavedQuery result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1797,8 +1946,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SavedQuery other) { bitField0_ |= 0x00000020; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.hasContent()) { mergeContent(other.getContent()); @@ -1829,62 +1977,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - creator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getLastUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - lastUpdater_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - input.readMessage( - getContentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + creator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getLastUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + lastUpdater_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + input.readMessage(getContentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1894,10 +2047,13 @@ public Builder mergeFrom( } // finally 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
@@ -1906,13 +2062,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; @@ -1921,6 +2077,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1929,15 +2087,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 { @@ -1945,6 +2102,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1953,18 +2112,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1973,6 +2136,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1982,6 +2146,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1990,12 +2156,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2005,19 +2173,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; @@ -2026,21 +2196,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 { @@ -2048,30 +2219,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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() { @@ -2081,18 +2259,22 @@ public Builder clearDescription() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2102,39 +2284,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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) { @@ -2150,14 +2351,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(); } else { @@ -2168,17 +2372,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 (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2191,11 +2399,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2208,11 +2420,15 @@ 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() { bitField0_ |= 0x00000004; @@ -2220,36 +2436,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { 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_; @@ -2257,18 +2485,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; @@ -2277,20 +2507,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 { @@ -2298,28 +2529,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreator(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } creator_ = value; bitField0_ |= 0x00000008; 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() { @@ -2329,17 +2567,21 @@ public Builder clearCreator() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); creator_ = value; bitField0_ |= 0x00000008; @@ -2349,39 +2591,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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) { @@ -2397,14 +2658,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(); } else { @@ -2415,17 +2679,21 @@ 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 (((bitField0_ & 0x00000010) != 0) && - lastUpdateTime_ != null && - lastUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && lastUpdateTime_ != null + && lastUpdateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLastUpdateTimeBuilder().mergeFrom(value); } else { lastUpdateTime_ = value; @@ -2438,11 +2706,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2455,11 +2727,15 @@ 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() { bitField0_ |= 0x00000010; @@ -2467,36 +2743,48 @@ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { 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_; @@ -2504,19 +2792,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; @@ -2525,21 +2815,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 { @@ -2547,30 +2838,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLastUpdater(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } lastUpdater_ = value; bitField0_ |= 0x00000020; 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() { @@ -2580,18 +2878,22 @@ public Builder clearLastUpdater() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLastUpdaterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); lastUpdater_ = value; bitField0_ |= 0x00000020; @@ -2599,21 +2901,19 @@ public Builder setLastUpdaterBytes( 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() { 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(); @@ -2622,10 +2922,13 @@ public Builder setLastUpdaterBytes( onChanged(); return labels_; } + 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
@@ -2635,20 +2938,21 @@ 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
@@ -2662,6 +2966,8 @@ 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
@@ -2671,17 +2977,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        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
@@ -2691,23 +2999,25 @@ 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();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000040);
-      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
@@ -2716,23 +3026,22 @@ 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() {
       bitField0_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2741,17 +3050,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"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    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");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000040;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2760,44 +3072,55 @@ 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);
       bitField0_ |= 0x00000040;
       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 ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * 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.
      * 
@@ -2818,6 +3141,8 @@ public Builder setContent(com.google.cloud.asset.v1.SavedQuery.QueryContent valu return this; } /** + * + * *
      * The query content.
      * 
@@ -2836,6 +3161,8 @@ public Builder setContent( return this; } /** + * + * *
      * The query content.
      * 
@@ -2844,9 +3171,9 @@ public Builder setContent( */ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent value) { if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - content_ != null && - content_ != com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && content_ != null + && content_ != com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) { getContentBuilder().mergeFrom(value); } else { content_ = value; @@ -2859,6 +3186,8 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va return this; } /** + * + * *
      * The query content.
      * 
@@ -2876,6 +3205,8 @@ public Builder clearContent() { return this; } /** + * + * *
      * The query content.
      * 
@@ -2888,6 +3219,8 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder getContentBuild return getContentFieldBuilder().getBuilder(); } /** + * + * *
      * The query content.
      * 
@@ -2898,11 +3231,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.
      * 
@@ -2910,21 +3246,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); } @@ -2934,12 +3273,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(); } @@ -2948,27 +3287,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SavedQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2983,6 +3322,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.SavedQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java similarity index 100% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java index d85448b5cfca..305de7e48f97 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java +++ b/java-asset/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
@@ -199,11 +263,13 @@ boolean containsLabels(
    * map<string, string> labels = 7;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -212,28 +278,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java similarity index 84% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java index af3d3f96282c..32eec7f119d0 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java +++ b/java-asset/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,33 +47,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -70,6 +92,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -78,14 +101,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
@@ -100,16 +124,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 { @@ -118,9 +141,12 @@ public java.lang.String getScope() { } public static final int QUERY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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)
@@ -165,6 +191,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -173,14 +200,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)
@@ -225,16 +253,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 { @@ -245,6 +272,8 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * 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
@@ -254,6 +283,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -262,9 +292,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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`
@@ -273,6 +306,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -281,14 +315,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`
@@ -297,16 +332,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 { @@ -315,9 +349,12 @@ public java.lang.String getPageToken() { } public static final int ASSET_TYPES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") 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
@@ -336,13 +373,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
@@ -361,12 +400,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
@@ -385,6 +427,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. */ @@ -392,6 +435,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
@@ -410,18 +455,21 @@ 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; + @SuppressWarnings("serial") 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
@@ -436,6 +484,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -444,14 +493,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
@@ -466,16 +516,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 { @@ -484,6 +533,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -495,8 +545,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_); } @@ -531,8 +580,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_); @@ -556,25 +604,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -606,129 +649,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +794,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 @@ -765,14 +815,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result) { if (((bitField0_ & 0x00000010) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); @@ -803,38 +857,39 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -842,7 +897,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_; bitField0_ |= 0x00000001; @@ -902,43 +958,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 42 - case 58: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 42 + case 58: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -948,10 +1011,13 @@ public Builder mergeFrom( } // finally 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
@@ -966,13 +1032,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; @@ -981,6 +1047,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
@@ -995,15 +1063,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 { @@ -1011,6 +1078,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
@@ -1025,18 +1094,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; 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
@@ -1051,6 +1124,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1060,6 +1134,8 @@ public Builder clearScope() { 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
@@ -1074,12 +1150,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -1089,6 +1167,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)
@@ -1133,13 +1213,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; @@ -1148,6 +1228,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)
@@ -1192,15 +1274,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 { @@ -1208,6 +1289,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)
@@ -1252,18 +1335,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000002; 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)
@@ -1308,6 +1395,7 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1317,6 +1405,8 @@ public Builder clearQuery() { 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)
@@ -1361,12 +1451,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -1374,8 +1466,10 @@ public Builder setQueryBytes( 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
@@ -1385,6 +1479,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1392,6 +1487,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
@@ -1401,17 +1498,20 @@ 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; bitField0_ |= 0x00000004; 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
@@ -1421,6 +1521,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1432,6 +1533,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`
@@ -1440,13 +1543,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; @@ -1455,6 +1558,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`
@@ -1463,15 +1568,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 { @@ -1479,6 +1583,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`
@@ -1487,18 +1593,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; 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`
@@ -1507,6 +1617,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1516,6 +1627,8 @@ public Builder clearPageToken() { 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`
@@ -1524,12 +1637,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1537,14 +1652,18 @@ public Builder setPageTokenBytes( 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_ & 0x00000010) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * 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
@@ -1563,13 +1682,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
@@ -1588,12 +1709,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
@@ -1612,6 +1736,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. */ @@ -1619,6 +1744,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
@@ -1637,14 +1764,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
@@ -1663,19 +1792,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1694,18 +1827,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1724,18 +1861,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
@@ -1754,6 +1892,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1763,6 +1902,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
@@ -1781,12 +1922,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1796,6 +1939,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
@@ -1810,13 +1955,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; @@ -1825,6 +1970,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
@@ -1839,15 +1986,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 { @@ -1855,6 +2001,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
@@ -1869,18 +2017,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000020; 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
@@ -1895,6 +2047,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1904,6 +2057,8 @@ public Builder clearOrderBy() { 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
@@ -1918,21 +2073,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1942,12 +2099,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(); } @@ -1956,27 +2113,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java index 4c78a9b137fb..373b8bc96992 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java index fb7130c5651a..3c2fa4b56227 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List results_; /** + * + * *
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -65,6 +87,8 @@ public java.util.List getResult
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -73,11 +97,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 IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -90,6 +116,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -102,6 +130,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
     return results_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -110,15 +140,17 @@ 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;
+
   @SuppressWarnings("serial")
   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
@@ -126,6 +158,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -134,14 +167,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
@@ -149,16 +183,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 { @@ -167,6 +200,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +212,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)); } @@ -196,8 +229,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_); @@ -210,17 +242,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,129 +275,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +421,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 @@ -404,14 +442,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -434,38 +476,39 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllIamPoliciesRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -473,7 +516,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()) { @@ -492,9 +536,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_); } @@ -531,30 +576,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.IamPolicySearchResult m = - input.readMessage( - com.google.cloud.asset.v1.IamPolicySearchResult.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.IamPolicySearchResult m = + input.readMessage( + com.google.cloud.asset.v1.IamPolicySearchResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,21 +612,29 @@ public Builder mergeFrom( } // finally 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -594,6 +650,8 @@ public java.util.List getResult
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -609,6 +667,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -624,6 +684,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -631,8 +693,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();
@@ -646,6 +707,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -665,6 +728,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -686,6 +751,8 @@ public Builder addResults(com.google.cloud.asset.v1.IamPolicySearchResult value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -693,8 +760,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();
@@ -708,6 +774,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -727,6 +795,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -746,6 +816,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -757,8 +829,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);
@@ -766,6 +837,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -784,6 +857,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -802,6 +877,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -809,11 +886,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -821,14 +899,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -836,8 +916,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 {
@@ -845,6 +925,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -853,10 +935,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -864,12 +948,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -877,20 +962,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_;
@@ -898,6 +986,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
@@ -905,13 +995,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; @@ -920,6 +1010,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
@@ -927,15 +1019,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 { @@ -943,6 +1034,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
@@ -950,18 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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,6 +1066,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -978,6 +1076,8 @@ public Builder clearNextPageToken() { 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
@@ -985,21 +1085,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +1111,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(); } @@ -1023,27 +1125,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,6 +1160,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java index 0a2ed07f6771..69b6a3ea86b9 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/java-asset/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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java similarity index 86% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java index bf2908653f09..1692c28935a8 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java +++ b/java-asset/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,33 +47,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -70,6 +92,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -78,14 +101,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
@@ -100,16 +124,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 { @@ -118,9 +141,12 @@ public java.lang.String getScope() { } public static final int QUERY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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)
@@ -175,6 +201,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -183,14 +210,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)
@@ -245,16 +273,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 { @@ -263,9 +290,12 @@ public java.lang.String getQuery() { } public static final int ASSET_TYPES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -281,13 +311,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
@@ -303,12 +335,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
@@ -324,6 +359,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. */ @@ -331,6 +367,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
@@ -346,17 +384,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_ = 0; /** + * + * *
    * 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
@@ -366,6 +406,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -374,9 +415,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") 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
@@ -385,6 +429,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -393,14 +438,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
@@ -409,16 +455,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 { @@ -427,9 +472,12 @@ public java.lang.String getPageToken() { } public static final int ORDER_BY_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -453,6 +501,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -461,14 +510,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
@@ -492,16 +542,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 { @@ -512,6 +561,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
@@ -545,7 +596,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 @@ -553,6 +606,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
@@ -586,7 +641,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 @@ -594,6 +651,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
@@ -627,7 +686,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() { @@ -635,6 +695,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -646,8 +707,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_); } @@ -693,8 +753,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_); @@ -703,8 +762,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -714,29 +772,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -773,129 +825,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -916,9 +974,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 @@ -937,14 +995,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllResourcesRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.SearchAllResourcesRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -970,9 +1032,7 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllResourcesRequest r result.orderBy_ = orderBy_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.readMask_ = readMaskBuilder_ == null - ? readMask_ - : readMaskBuilder_.build(); + result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build(); } } @@ -980,38 +1040,39 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllResourcesRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -1019,7 +1080,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_; bitField0_ |= 0x00000001; @@ -1082,50 +1144,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 66: { - input.readMessage( - getReadMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: + { + input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1135,10 +1203,13 @@ public Builder mergeFrom( } // finally 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
@@ -1153,13 +1224,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; @@ -1168,6 +1239,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
@@ -1182,15 +1255,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 { @@ -1198,6 +1270,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
@@ -1212,18 +1286,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; 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,6 +1316,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1247,6 +1326,8 @@ public Builder clearScope() { 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,12 +1342,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -1276,6 +1359,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)
@@ -1330,13 +1415,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; @@ -1345,6 +1430,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)
@@ -1399,15 +1486,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 { @@ -1415,6 +1501,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)
@@ -1469,18 +1557,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000002; 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)
@@ -1535,6 +1627,7 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1544,6 +1637,8 @@ public Builder clearQuery() { 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)
@@ -1598,12 +1693,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -1611,14 +1708,18 @@ public Builder setQueryBytes( 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1634,13 +1735,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
@@ -1656,12 +1759,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
@@ -1677,6 +1783,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. */ @@ -1684,6 +1791,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
@@ -1699,14 +1808,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
@@ -1722,19 +1833,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1750,18 +1865,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1777,18 +1896,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
@@ -1804,6 +1924,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1813,6 +1934,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
@@ -1828,12 +1951,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1841,8 +1966,10 @@ public Builder addAssetTypesBytes( 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
@@ -1852,6 +1979,7 @@ public Builder addAssetTypesBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1859,6 +1987,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
@@ -1868,17 +1998,20 @@ 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; bitField0_ |= 0x00000008; 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
@@ -1888,6 +2021,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1899,6 +2033,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
@@ -1907,13 +2043,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; @@ -1922,6 +2058,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
@@ -1930,15 +2068,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 { @@ -1946,6 +2083,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
@@ -1954,18 +2093,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; 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
@@ -1974,6 +2117,7 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1983,6 +2127,8 @@ public Builder clearPageToken() { 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
@@ -1991,12 +2137,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; @@ -2006,6 +2154,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
@@ -2029,13 +2179,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; @@ -2044,6 +2194,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
@@ -2067,15 +2219,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 { @@ -2083,6 +2234,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
@@ -2106,18 +2259,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000020; 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
@@ -2141,6 +2298,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -2150,6 +2308,8 @@ public Builder clearOrderBy() { 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
@@ -2173,12 +2333,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; @@ -2188,8 +2350,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
@@ -2223,13 +2390,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 ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2263,7 +2434,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() { @@ -2274,6 +2447,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
@@ -2307,7 +2482,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) { @@ -2323,6 +2499,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
@@ -2356,10 +2534,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(); } else { @@ -2370,6 +2548,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
@@ -2403,13 +2583,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 (((bitField0_ & 0x00000040) != 0) && - readMask_ != null && - readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && readMask_ != null + && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getReadMaskBuilder().mergeFrom(value); } else { readMask_ = value; @@ -2422,6 +2603,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
@@ -2455,7 +2638,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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2468,6 +2652,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
@@ -2501,7 +2687,8 @@ 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() { bitField0_ |= 0x00000040; @@ -2509,6 +2696,8 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2542,17 +2731,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
@@ -2586,24 +2777,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); } @@ -2613,12 +2808,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(); } @@ -2627,27 +2822,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2662,6 +2857,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java similarity index 93% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java index cc131a9441d8..135d8db9b7eb 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java +++ b/java-asset/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)
@@ -100,10 +123,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)
@@ -158,12 +184,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
@@ -179,11 +207,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
@@ -199,10 +229,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
@@ -218,11 +251,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
@@ -238,13 +274,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
@@ -254,11 +292,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
@@ -267,10 +308,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
@@ -279,12 +323,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
@@ -308,10 +354,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
@@ -335,12 +384,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
@@ -374,11 +425,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
@@ -412,11 +467,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
@@ -450,7 +509,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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java similarity index 73% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java index d68682270889..051d13842a97 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List results_; /** + * + * *
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -65,6 +87,8 @@ public java.util.List getResults
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -73,11 +97,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.
@@ -90,6 +116,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -102,6 +130,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.
@@ -110,15 +140,17 @@ 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;
+
   @SuppressWarnings("serial")
   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
@@ -126,6 +158,7 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -134,14 +167,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
@@ -149,16 +183,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 { @@ -167,6 +200,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +212,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)); } @@ -196,8 +229,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_); @@ -210,17 +242,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,129 +275,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +420,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 @@ -404,14 +441,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1.SearchAllResourcesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1.SearchAllResourcesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -434,38 +475,39 @@ private void buildPartial0(com.google.cloud.asset.v1.SearchAllResourcesResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -473,7 +515,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()) { @@ -492,9 +535,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_); } @@ -531,30 +575,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.ResourceSearchResult m = - input.readMessage( - com.google.cloud.asset.v1.ResourceSearchResult.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.ResourceSearchResult m = + input.readMessage( + com.google.cloud.asset.v1.ResourceSearchResult.parser(), extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,21 +610,29 @@ public Builder mergeFrom( } // finally 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.
@@ -594,6 +648,8 @@ public java.util.List getResults
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -609,6 +665,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -624,6 +682,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.
@@ -631,8 +691,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();
@@ -646,6 +705,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -665,6 +726,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -686,6 +749,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.
@@ -693,8 +758,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();
@@ -708,6 +772,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -727,6 +793,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -746,6 +814,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -757,8 +827,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);
@@ -766,6 +835,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -784,6 +855,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -802,6 +875,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -809,11 +884,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.
@@ -821,14 +897,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.
@@ -836,8 +914,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 {
@@ -845,6 +923,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.
@@ -853,10 +933,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.
@@ -864,12 +946,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.
@@ -877,20 +960,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_;
@@ -898,6 +984,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
@@ -905,13 +993,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; @@ -920,6 +1008,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
@@ -927,15 +1017,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 { @@ -943,6 +1032,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
@@ -950,18 +1041,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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,6 +1064,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -978,6 +1074,8 @@ public Builder clearNextPageToken() { 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
@@ -985,21 +1083,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +1109,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(); } @@ -1023,27 +1123,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,6 +1158,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java index d0999fac75c7..2a0215998613 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java similarity index 74% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java index 4614b10a70ce..acb328d3f4e8 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchema.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 field in TableSchema.
  * 
* * Protobuf type {@code google.cloud.asset.v1.TableFieldSchema} */ -public final class TableFieldSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableFieldSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TableFieldSchema) TableFieldSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableFieldSchema.newBuilder() to construct. private TableFieldSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableFieldSchema() { field_ = ""; type_ = ""; @@ -28,33 +46,37 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableFieldSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableFieldSchema.class, com.google.cloud.asset.v1.TableFieldSchema.Builder.class); + com.google.cloud.asset.v1.TableFieldSchema.class, + com.google.cloud.asset.v1.TableFieldSchema.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object field_ = ""; /** + * + * *
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string field = 1; + * * @return The field. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** + * + * *
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -85,16 +109,15 @@ public java.lang.String getField() {
    * 
* * string field = 1; + * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -103,9 +126,12 @@ public java.lang.String getField() { } public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
    * The field data type. Possible values include
    * * STRING
@@ -125,6 +151,7 @@ public java.lang.String getField() {
    * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -133,14 +160,15 @@ 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 field data type. Possible values include
    * * STRING
@@ -160,16 +188,15 @@ public java.lang.String getType() {
    * 
* * string type = 2; + * * @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 { @@ -178,15 +205,19 @@ public java.lang.String getType() { } public static final int MODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object mode_ = ""; /** + * + * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; + * * @return The mode. */ @java.lang.Override @@ -195,30 +226,30 @@ public java.lang.String getMode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; } } /** + * + * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; + * * @return The bytes for mode. */ @java.lang.Override - public com.google.protobuf.ByteString - getModeBytes() { + public com.google.protobuf.ByteString getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mode_ = b; return b; } else { @@ -227,9 +258,12 @@ public java.lang.String getMode() { } public static final int FIELDS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -242,6 +276,8 @@ public java.util.List getFieldsList(
     return fields_;
   }
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -250,11 +286,13 @@ public java.util.List getFieldsList(
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -267,6 +305,8 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -279,6 +319,8 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
     return fields_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -287,12 +329,12 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) {
     return fields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -304,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_);
     }
@@ -337,8 +378,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mode_);
     }
     for (int i = 0; i < fields_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, fields_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, fields_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -348,21 +388,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.TableFieldSchema)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.TableFieldSchema other = (com.google.cloud.asset.v1.TableFieldSchema) obj;
+    com.google.cloud.asset.v1.TableFieldSchema other =
+        (com.google.cloud.asset.v1.TableFieldSchema) obj;
 
-    if (!getField()
-        .equals(other.getField())) return false;
-    if (!getType()
-        .equals(other.getType())) return false;
-    if (!getMode()
-        .equals(other.getMode())) return false;
-    if (!getFieldsList()
-        .equals(other.getFieldsList())) return false;
+    if (!getField().equals(other.getField())) return false;
+    if (!getType().equals(other.getType())) return false;
+    if (!getMode().equals(other.getMode())) return false;
+    if (!getFieldsList().equals(other.getFieldsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -389,130 +426,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.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.TableFieldSchema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
       com.google.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.TableFieldSchema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TableFieldSchema parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite 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.TableFieldSchema 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.TableFieldSchema parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    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.TableFieldSchema parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.TableFieldSchema parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.TableFieldSchema parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.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.TableFieldSchema parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, 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.TableFieldSchema parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder 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.TableFieldSchema prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 field in TableSchema.
    * 
* * Protobuf type {@code google.cloud.asset.v1.TableFieldSchema} */ - public static final class Builder extends - com.google.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.TableFieldSchema) com.google.cloud.asset.v1.TableFieldSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableFieldSchema.class, com.google.cloud.asset.v1.TableFieldSchema.Builder.class); + com.google.cloud.asset.v1.TableFieldSchema.class, + com.google.cloud.asset.v1.TableFieldSchema.Builder.class); } // Construct using com.google.cloud.asset.v1.TableFieldSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +574,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_TableFieldSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; } @java.lang.Override @@ -552,9 +595,12 @@ public com.google.cloud.asset.v1.TableFieldSchema build() { @java.lang.Override public com.google.cloud.asset.v1.TableFieldSchema buildPartial() { - com.google.cloud.asset.v1.TableFieldSchema result = new com.google.cloud.asset.v1.TableFieldSchema(this); + com.google.cloud.asset.v1.TableFieldSchema result = + new com.google.cloud.asset.v1.TableFieldSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -588,38 +634,39 @@ private void buildPartial0(com.google.cloud.asset.v1.TableFieldSchema result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.TableFieldSchema) { - return mergeFrom((com.google.cloud.asset.v1.TableFieldSchema)other); + return mergeFrom((com.google.cloud.asset.v1.TableFieldSchema) other); } else { super.mergeFrom(other); return this; @@ -661,9 +708,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.TableFieldSchema other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000008); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -695,40 +743,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - field_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - mode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.cloud.asset.v1.TableFieldSchema m = - input.readMessage( - com.google.cloud.asset.v1.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + field_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + mode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.cloud.asset.v1.TableFieldSchema m = + input.readMessage( + com.google.cloud.asset.v1.TableFieldSchema.parser(), extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -738,10 +790,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object field_ = ""; /** + * + * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -749,13 +804,13 @@ public Builder mergeFrom(
      * 
* * string field = 1; + * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -764,6 +819,8 @@ public java.lang.String getField() { } } /** + * + * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -771,15 +828,14 @@ public java.lang.String getField() {
      * 
* * string field = 1; + * * @return The bytes for field. */ - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -787,6 +843,8 @@ public java.lang.String getField() { } } /** + * + * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -794,18 +852,22 @@ public java.lang.String getField() {
      * 
* * string field = 1; + * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } field_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -813,6 +875,7 @@ public Builder setField(
      * 
* * string field = 1; + * * @return This builder for chaining. */ public Builder clearField() { @@ -822,6 +885,8 @@ public Builder clearField() { return this; } /** + * + * *
      * The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -829,12 +894,14 @@ public Builder clearField() {
      * 
* * string field = 1; + * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000001; @@ -844,6 +911,8 @@ public Builder setFieldBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -863,13 +932,13 @@ public Builder setFieldBytes(
      * 
* * string type = 2; + * * @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; @@ -878,6 +947,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -897,15 +968,14 @@ public java.lang.String getType() {
      * 
* * string type = 2; + * * @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 { @@ -913,6 +983,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -932,18 +1004,22 @@ public java.lang.String getType() {
      * 
* * string type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -963,6 +1039,7 @@ public Builder setType(
      * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -972,6 +1049,8 @@ public Builder clearType() { return this; } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -991,12 +1070,14 @@ public Builder clearType() {
      * 
* * string type = 2; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -1006,19 +1087,21 @@ public Builder setTypeBytes( private java.lang.Object mode_ = ""; /** + * + * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; + * * @return The mode. */ public java.lang.String getMode() { java.lang.Object ref = mode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mode_ = s; return s; @@ -1027,21 +1110,22 @@ public java.lang.String getMode() { } } /** + * + * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; + * * @return The bytes for mode. */ - public com.google.protobuf.ByteString - getModeBytes() { + public com.google.protobuf.ByteString getModeBytes() { java.lang.Object ref = mode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mode_ = b; return b; } else { @@ -1049,30 +1133,37 @@ public java.lang.String getMode() { } } /** + * + * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; + * * @param value The mode to set. * @return This builder for chaining. */ - public Builder setMode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } mode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1082,18 +1173,22 @@ public Builder clearMode() { return this; } /** + * + * *
      * The field mode. Possible values include NULLABLE, REQUIRED and
      * REPEATED. The default value is NULLABLE.
      * 
* * string mode = 3; + * * @param value The bytes for mode to set. * @return This builder for chaining. */ - public Builder setModeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setModeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); mode_ = value; bitField0_ |= 0x00000004; @@ -1102,18 +1197,24 @@ public Builder setModeBytes( } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> fieldsBuilder_; + com.google.cloud.asset.v1.TableFieldSchema, + com.google.cloud.asset.v1.TableFieldSchema.Builder, + com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> + fieldsBuilder_; /** + * + * *
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1129,6 +1230,8 @@ public java.util.List getFieldsList(
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1144,6 +1247,8 @@ public int getFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1159,6 +1264,8 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1166,8 +1273,7 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public Builder setFields(
-        int index, com.google.cloud.asset.v1.TableFieldSchema value) {
+    public Builder setFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1181,6 +1287,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1200,6 +1308,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1221,6 +1331,8 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1228,8 +1340,7 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema value) {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public Builder addFields(
-        int index, com.google.cloud.asset.v1.TableFieldSchema value) {
+    public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1243,6 +1354,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1250,8 +1363,7 @@ public Builder addFields(
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public Builder addFields(
-        com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) {
+    public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
         fields_.add(builderForValue.build());
@@ -1262,6 +1374,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1281,6 +1395,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1292,8 +1408,7 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -1301,6 +1416,8 @@ public Builder addAllFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1319,6 +1436,8 @@ public Builder clearFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1337,6 +1456,8 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1344,11 +1465,12 @@ public Builder removeFields(int index) {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1356,14 +1478,16 @@ public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);  } else {
+        return fields_.get(index);
+      } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1371,8 +1495,8 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public java.util.List 
-         getFieldsOrBuilderList() {
+    public java.util.List
+        getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1380,6 +1504,8 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1388,10 +1514,12 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
     public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
+      return getFieldsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1399,12 +1527,13 @@ public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder() {
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(
-        int index) {
-      return getFieldsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
+    public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(int index) {
+      return getFieldsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1412,27 +1541,30 @@ public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(
      *
      * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
      */
-    public java.util.List 
-         getFieldsBuilderList() {
+    public java.util.List
+        getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> 
+            com.google.cloud.asset.v1.TableFieldSchema,
+            com.google.cloud.asset.v1.TableFieldSchema.Builder,
+            com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>(
-                fields_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        fieldsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.TableFieldSchema,
+                com.google.cloud.asset.v1.TableFieldSchema.Builder,
+                com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>(
+                fields_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1442,12 +1574,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TableFieldSchema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TableFieldSchema)
   private static final com.google.cloud.asset.v1.TableFieldSchema DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TableFieldSchema();
   }
@@ -1456,27 +1588,27 @@ public static com.google.cloud.asset.v1.TableFieldSchema getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TableFieldSchema parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TableFieldSchema parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1491,6 +1623,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TableFieldSchema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
index a77eb8040bc5..6b7e088ab70e 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableFieldSchemaOrBuilder.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 TableFieldSchemaOrBuilder extends
+public interface TableFieldSchemaOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TableFieldSchema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -15,10 +33,13 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string field = 1; + * * @return The field. */ java.lang.String getField(); /** + * + * *
    * The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -26,12 +47,14 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string field = 1; + * * @return The bytes for field. */ - com.google.protobuf.ByteString - getFieldBytes(); + com.google.protobuf.ByteString getFieldBytes(); /** + * + * *
    * The field data type. Possible values include
    * * STRING
@@ -51,10 +74,13 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string type = 2; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The field data type. Possible values include
    * * STRING
@@ -74,34 +100,41 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string type = 2; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; + * * @return The mode. */ java.lang.String getMode(); /** + * + * *
    * The field mode. Possible values include NULLABLE, REQUIRED and
    * REPEATED. The default value is NULLABLE.
    * 
* * string mode = 3; + * * @return The bytes for mode. */ - com.google.protobuf.ByteString - getModeBytes(); + com.google.protobuf.ByteString getModeBytes(); /** + * + * *
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -109,9 +142,10 @@ public interface TableFieldSchemaOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
-  java.util.List 
-      getFieldsList();
+  java.util.List getFieldsList();
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -121,6 +155,8 @@ public interface TableFieldSchemaOrBuilder extends
    */
   com.google.cloud.asset.v1.TableFieldSchema getFields(int index);
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -130,6 +166,8 @@ public interface TableFieldSchemaOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -137,9 +175,11 @@ public interface TableFieldSchemaOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
-  java.util.List 
+  java.util.List
       getFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -147,6 +187,5 @@ public interface TableFieldSchemaOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
    */
-  com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
index 6c16eae0514d..f5eb49eac74f 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchema.java
@@ -1,57 +1,79 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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;
 
 /**
+ *
+ *
  * 
  * BigQuery Compatible table schema.
  * 
* * Protobuf type {@code google.cloud.asset.v1.TableSchema} */ -public final class TableSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TableSchema) TableSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableSchema.newBuilder() to construct. private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableSchema() { fields_ = 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 TableSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableSchema.class, com.google.cloud.asset.v1.TableSchema.Builder.class); + com.google.cloud.asset.v1.TableSchema.class, + com.google.cloud.asset.v1.TableSchema.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Describes the fields in a table.
    * 
@@ -63,6 +85,8 @@ public java.util.List getFieldsList( return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -70,11 +94,13 @@ public java.util.List getFieldsList( * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -86,6 +112,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { return fields_.get(index); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -104,12 +134,12 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) { return fields_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,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 < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,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.TableSchema)) { return super.equals(obj); } com.google.cloud.asset.v1.TableSchema other = (com.google.cloud.asset.v1.TableSchema) obj; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,130 +203,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.TableSchema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.TableSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.TableSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.TableSchema parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.TableSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.TableSchema parseFrom( com.google.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.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.TableSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.TableSchema 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.TableSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.TableSchema 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.TableSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.TableSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.TableSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.TableSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * BigQuery Compatible table schema.
    * 
* * Protobuf type {@code google.cloud.asset.v1.TableSchema} */ - public static final class Builder extends - com.google.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.TableSchema) com.google.cloud.asset.v1.TableSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TableSchema.class, com.google.cloud.asset.v1.TableSchema.Builder.class); + com.google.cloud.asset.v1.TableSchema.class, + com.google.cloud.asset.v1.TableSchema.Builder.class); } // Construct using com.google.cloud.asset.v1.TableSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,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_TableSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_TableSchema_descriptor; } @java.lang.Override @@ -336,9 +368,12 @@ public com.google.cloud.asset.v1.TableSchema build() { @java.lang.Override public com.google.cloud.asset.v1.TableSchema buildPartial() { - com.google.cloud.asset.v1.TableSchema result = new com.google.cloud.asset.v1.TableSchema(this); + com.google.cloud.asset.v1.TableSchema result = + new com.google.cloud.asset.v1.TableSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -363,38 +398,39 @@ private void buildPartial0(com.google.cloud.asset.v1.TableSchema result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.TableSchema) { - return mergeFrom((com.google.cloud.asset.v1.TableSchema)other); + return mergeFrom((com.google.cloud.asset.v1.TableSchema) other); } else { super.mergeFrom(other); return this; @@ -421,9 +457,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.TableSchema other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -455,25 +492,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.TableFieldSchema m = - input.readMessage( - com.google.cloud.asset.v1.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1.TableFieldSchema m = + input.readMessage( + com.google.cloud.asset.v1.TableFieldSchema.parser(), extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,21 +521,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> fieldsBuilder_; + com.google.cloud.asset.v1.TableFieldSchema, + com.google.cloud.asset.v1.TableFieldSchema.Builder, + com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> + fieldsBuilder_; /** + * + * *
      * Describes the fields in a table.
      * 
@@ -512,6 +557,8 @@ public java.util.List getFieldsList( } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -526,6 +573,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -540,14 +589,15 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { } } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public Builder setFields( - int index, com.google.cloud.asset.v1.TableFieldSchema value) { + public Builder setFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,6 +611,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -579,6 +631,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -599,14 +653,15 @@ public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema value) { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public Builder addFields( - int index, com.google.cloud.asset.v1.TableFieldSchema value) { + public Builder addFields(int index, com.google.cloud.asset.v1.TableFieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,14 +675,15 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public Builder addFields( - com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) { + public Builder addFields(com.google.cloud.asset.v1.TableFieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -638,6 +694,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -656,6 +714,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -666,8 +726,7 @@ public Builder addAllFields( java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -675,6 +734,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -692,6 +753,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -709,39 +772,44 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder( - int index) { + public com.google.cloud.asset.v1.TableFieldSchema.Builder getFieldsBuilder(int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index) { + public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +817,8 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -756,49 +826,55 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder( - int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); + public com.google.cloud.asset.v1.TableFieldSchema.Builder addFieldsBuilder(int index) { + return getFieldsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> + com.google.cloud.asset.v1.TableFieldSchema, + com.google.cloud.asset.v1.TableFieldSchema.Builder, + com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TableFieldSchema, com.google.cloud.asset.v1.TableFieldSchema.Builder, com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.TableFieldSchema, + com.google.cloud.asset.v1.TableFieldSchema.Builder, + com.google.cloud.asset.v1.TableFieldSchemaOrBuilder>( + fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TableSchema) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TableSchema) private static final com.google.cloud.asset.v1.TableSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TableSchema(); } @@ -822,27 +898,27 @@ public static com.google.cloud.asset.v1.TableSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +933,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java similarity index 61% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java index 80451085b595..ec840372a91e 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TableSchemaOrBuilder.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 TableSchemaOrBuilder extends +public interface TableSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TableSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Describes the fields in a table.
    * 
@@ -25,6 +44,8 @@ public interface TableSchemaOrBuilder extends */ com.google.cloud.asset.v1.TableFieldSchema getFields(int index); /** + * + * *
    * Describes the fields in a table.
    * 
@@ -33,21 +54,24 @@ public interface TableSchemaOrBuilder extends */ int getFieldsCount(); /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.asset.v1.TableFieldSchema fields = 1; */ - com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); } diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java similarity index 72% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java index 44b849e57488..6969d11769bb 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java +++ b/java-asset/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,54 +28,59 @@
  *
  * 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;
   }
-  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.
      * 
@@ -67,6 +89,8 @@ public enum PriorAssetState */ PRIOR_ASSET_STATE_UNSPECIFIED(0), /** + * + * *
      * prior_asset is populated correctly.
      * 
@@ -75,6 +99,8 @@ public enum PriorAssetState */ PRESENT(1), /** + * + * *
      * Failed to set prior_asset.
      * 
@@ -83,6 +109,8 @@ public enum PriorAssetState */ INVALID(2), /** + * + * *
      * Current asset is the first known state.
      * 
@@ -91,6 +119,8 @@ public enum PriorAssetState */ DOES_NOT_EXIST(3), /** + * + * *
      * prior_asset is a deletion.
      * 
@@ -102,6 +132,8 @@ public enum PriorAssetState ; /** + * + * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -110,6 +142,8 @@ public enum PriorAssetState */ public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * prior_asset is populated correctly.
      * 
@@ -118,6 +152,8 @@ public enum PriorAssetState */ public static final int PRESENT_VALUE = 1; /** + * + * *
      * Failed to set prior_asset.
      * 
@@ -126,6 +162,8 @@ public enum PriorAssetState */ public static final int INVALID_VALUE = 2; /** + * + * *
      * Current asset is the first known state.
      * 
@@ -134,6 +172,8 @@ public enum PriorAssetState */ public static final int DOES_NOT_EXIST_VALUE = 3; /** + * + * *
      * prior_asset is a deletion.
      * 
@@ -142,7 +182,6 @@ public enum PriorAssetState */ public static final int DELETED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,41 +206,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); } @@ -210,8 +254,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; @@ -231,11 +274,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 @@ -243,11 +289,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 @@ -255,6 +304,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.
    * 
@@ -269,11 +320,14 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_ = false; /** + * + * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -284,11 +338,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 @@ -296,11 +353,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 @@ -308,6 +368,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.
    * 
@@ -322,38 +384,52 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { public static final int PRIOR_ASSET_STATE_FIELD_NUMBER = 4; 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; + * * @return The priorAssetState. */ - @java.lang.Override public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.forNumber(priorAssetState_); - return result == null ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.forNumber(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 @@ -361,12 +437,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 @@ -374,6 +453,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.
@@ -387,6 +468,7 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -398,8 +480,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());
     }
@@ -409,7 +490,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) {
@@ -425,24 +508,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -452,7 +532,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);
@@ -461,21 +541,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -493,8 +569,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();
@@ -510,97 +585,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.
@@ -608,33 +690,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -660,9 +741,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
@@ -681,8 +762,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.TemporalAsset result =
+          new com.google.cloud.asset.v1.TemporalAsset(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -690,25 +774,19 @@ public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1.TemporalAsset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.window_ = windowBuilder_ == null
-            ? window_
-            : windowBuilder_.build();
+        result.window_ = windowBuilder_ == null ? window_ : windowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.deleted_ = deleted_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.asset_ = assetBuilder_ == null
-            ? asset_
-            : assetBuilder_.build();
+        result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.priorAssetState_ = priorAssetState_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.priorAsset_ = priorAssetBuilder_ == null
-            ? priorAsset_
-            : priorAssetBuilder_.build();
+        result.priorAsset_ = priorAssetBuilder_ == null ? priorAsset_ : priorAssetBuilder_.build();
       }
     }
 
@@ -716,38 +794,39 @@ private void buildPartial0(com.google.cloud.asset.v1.TemporalAsset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -797,43 +876,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getWindowFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              deleted_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getAssetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              priorAssetState_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getPriorAssetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                deleted_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                priorAssetState_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getPriorAssetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -843,38 +922,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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.
      * 
@@ -895,14 +988,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(); } else { @@ -913,6 +1007,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -921,9 +1017,9 @@ public Builder setWindow( */ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (windowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - window_ != null && - window_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && window_ != null + && window_ != com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()) { getWindowBuilder().mergeFrom(value); } else { window_ = value; @@ -936,6 +1032,8 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -953,6 +1051,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -965,6 +1065,8 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getWindowBuilder() { return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -975,11 +1077,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.
      * 
@@ -987,26 +1092,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 @@ -1014,27 +1125,33 @@ 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1046,24 +1163,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return The asset. */ public com.google.cloud.asset.v1.Asset getAsset() { @@ -1074,6 +1200,8 @@ public com.google.cloud.asset.v1.Asset getAsset() { } } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1094,14 +1222,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(); } else { @@ -1112,6 +1241,8 @@ public Builder setAsset( return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1120,9 +1251,9 @@ public Builder setAsset( */ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - asset_ != null && - asset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && asset_ != null + && asset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -1135,6 +1266,8 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1152,6 +1285,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1164,6 +1299,8 @@ public com.google.cloud.asset.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1174,11 +1311,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.
      * 
@@ -1186,14 +1324,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_; @@ -1201,22 +1342,29 @@ 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. */ @@ -1227,28 +1375,38 @@ public Builder setPriorAssetStateValue(int value) { 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() { - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.forNumber(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.forNumber(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(); } @@ -1258,11 +1416,14 @@ public Builder setPriorAssetState(com.google.cloud.asset.v1.TemporalAsset.PriorA return this; } /** + * + * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return This builder for chaining. */ public Builder clearPriorAssetState() { @@ -1274,36 +1435,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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.
@@ -1325,6 +1499,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.
@@ -1332,8 +1508,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();
       } else {
@@ -1344,6 +1519,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.
@@ -1353,9 +1530,9 @@ public Builder setPriorAsset(
      */
     public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
       if (priorAssetBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          priorAsset_ != null &&
-          priorAsset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && priorAsset_ != null
+            && priorAsset_ != com.google.cloud.asset.v1.Asset.getDefaultInstance()) {
           getPriorAssetBuilder().mergeFrom(value);
         } else {
           priorAsset_ = value;
@@ -1368,6 +1545,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.
@@ -1386,6 +1565,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.
@@ -1399,6 +1580,8 @@ public com.google.cloud.asset.v1.Asset.Builder getPriorAssetBuilder() {
       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.
@@ -1410,11 +1593,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.
@@ -1423,21 +1609,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);
     }
 
@@ -1447,12 +1636,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();
   }
@@ -1461,27 +1650,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TemporalAsset parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1496,6 +1685,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TemporalAsset getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
similarity index 80%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
index 40ba4db442af..68d9d1d37fad 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
index b74d1e1b7f00..78256c655a85 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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; } - 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 @@ -62,11 +83,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 @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -88,12 +114,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 @@ -101,12 +130,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 @@ -114,6 +146,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.
@@ -127,6 +161,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +173,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());
     }
@@ -156,12 +190,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,7 +203,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);
@@ -180,13 +212,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,130 +242,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +389,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 @@ -376,7 +411,9 @@ public com.google.cloud.asset.v1.TimeWindow build() { @java.lang.Override public com.google.cloud.asset.v1.TimeWindow buildPartial() { com.google.cloud.asset.v1.TimeWindow result = new com.google.cloud.asset.v1.TimeWindow(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,14 +421,10 @@ public com.google.cloud.asset.v1.TimeWindow buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.TimeWindow result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } } @@ -399,38 +432,39 @@ private void buildPartial0(com.google.cloud.asset.v1.TimeWindow result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -471,26 +505,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,28 +533,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -532,6 +575,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -552,14 +597,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(); } else { @@ -570,6 +616,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -578,9 +626,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -593,6 +641,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -610,6 +660,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -622,6 +674,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -632,11 +686,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).
      * 
@@ -644,14 +699,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_; @@ -659,26 +717,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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() { @@ -689,6 +756,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -710,6 +779,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.
@@ -717,8 +788,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();
       } else {
@@ -729,6 +799,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -738,9 +810,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -753,6 +825,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.
@@ -771,6 +845,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -784,6 +860,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -795,11 +873,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.
@@ -808,21 +887,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);
     }
 
@@ -832,12 +914,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();
   }
@@ -846,27 +928,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -881,6 +963,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
index 81646f3d1e72..a06e2ee594d4 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
similarity index 72%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
index c4ff64cefd80..d2b94f9e4b31 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
@@ -1,55 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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; } - 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:
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ @java.lang.Override @@ -66,6 +87,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:
@@ -75,6 +98,7 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ @java.lang.Override @@ -82,6 +106,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:
@@ -100,13 +126,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 @@ -114,13 +144,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 @@ -128,13 +162,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() { @@ -142,6 +179,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +191,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()); } @@ -171,12 +208,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -186,22 +221,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -227,130 +261,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -369,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_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 @@ -390,8 +430,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.UpdateFeedRequest result = + new com.google.cloud.asset.v1.UpdateFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -399,14 +442,10 @@ public com.google.cloud.asset.v1.UpdateFeedRequest buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.UpdateFeedRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.feed_ = feedBuilder_ == null - ? feed_ - : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -414,38 +453,39 @@ private void buildPartial0(com.google.cloud.asset.v1.UpdateFeedRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -486,26 +526,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFeedFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,12 +554,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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:
@@ -530,12 +575,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -545,6 +593,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() { @@ -555,6 +604,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:
@@ -579,6 +630,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:
@@ -589,8 +642,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();
       } else {
@@ -601,6 +653,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:
@@ -613,9 +667,9 @@ public Builder setFeed(
      */
     public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       if (feedBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          feed_ != null &&
-          feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && feed_ != null
+            && feed_ != com.google.cloud.asset.v1.Feed.getDefaultInstance()) {
           getFeedBuilder().mergeFrom(value);
         } else {
           feed_ = value;
@@ -628,6 +682,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:
@@ -649,6 +705,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:
@@ -665,6 +723,8 @@ public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
       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:
@@ -679,11 +739,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:
@@ -695,14 +756,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_;
@@ -710,45 +774,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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) { @@ -764,16 +844,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(); } else { @@ -784,19 +866,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -809,13 +894,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -828,13 +916,16 @@ 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() { bitField0_ |= 0x00000002; @@ -842,47 +933,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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); } @@ -892,12 +993,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(); } @@ -906,27 +1007,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -941,6 +1042,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java index 37dafabef416..d6cac469d586 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java similarity index 66% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java index 83d6b17a1018..520318871f3d 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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,
@@ -59,7 +79,10 @@ protected java.lang.Object newInstance(
    * * 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 @@ -67,6 +90,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,
@@ -76,14 +101,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,
@@ -93,21 +125,29 @@ 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() { - return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } 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 @@ -115,11 +155,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 @@ -127,11 +171,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() { @@ -139,6 +186,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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 { if (savedQuery_ != null) { output.writeMessage(1, getSavedQuery()); } @@ -168,12 +215,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,22 +228,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -225,129 +269,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -366,9 +416,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 @@ -387,8 +437,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.UpdateSavedQueryRequest result = + new com.google.cloud.asset.v1.UpdateSavedQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -396,14 +449,10 @@ public com.google.cloud.asset.v1.UpdateSavedQueryRequest buildPartial() { private void buildPartial0(com.google.cloud.asset.v1.UpdateSavedQueryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.savedQuery_ = savedQueryBuilder_ == null - ? savedQuery_ - : savedQueryBuilder_.build(); + result.savedQuery_ = savedQueryBuilder_ == null ? savedQuery_ : savedQueryBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -411,38 +460,39 @@ private void buildPartial0(com.google.cloud.asset.v1.UpdateSavedQueryRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -450,7 +500,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()); } @@ -483,26 +534,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSavedQueryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getSavedQueryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -512,12 +562,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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,
@@ -527,13 +583,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -543,17 +604,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,
@@ -563,7 +631,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) { @@ -579,6 +649,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,
@@ -588,10 +660,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(); } else { @@ -602,6 +675,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,
@@ -611,13 +686,15 @@ 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 (((bitField0_ & 0x00000001) != 0) && - savedQuery_ != null && - savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && savedQuery_ != null + && savedQuery_ != com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()) { getSavedQueryBuilder().mergeFrom(value); } else { savedQuery_ = value; @@ -630,6 +707,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,
@@ -639,7 +718,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -652,6 +733,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,
@@ -661,7 +744,9 @@ 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() { bitField0_ |= 0x00000001; @@ -669,6 +754,8 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { return getSavedQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -678,17 +765,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,
@@ -698,17 +790,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_; @@ -716,39 +813,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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) { @@ -764,14 +877,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(); } else { @@ -782,17 +897,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -805,11 +923,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -822,11 +943,14 @@ 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() { bitField0_ |= 0x00000002; @@ -834,43 +958,53 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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); } @@ -880,12 +1014,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(); } @@ -894,27 +1028,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -929,6 +1063,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java index 307da869bba4..636720fe0d48 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java similarity index 75% rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java index 31618f5c344a..357d0c6a0961 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java +++ b/java-asset/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,48 +28,53 @@
  *
  * 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object version_ = "";
   /**
+   *
+   *
    * 
    * API version of the resource.
    * Example:
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -70,14 +93,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:
@@ -87,16 +111,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 { @@ -107,6 +130,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.
@@ -121,6 +146,7 @@ public java.lang.String getVersion() {
    * 
* * .google.protobuf.Struct resource = 2; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -128,6 +154,8 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -142,6 +170,7 @@ public boolean hasResource() {
    * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ @java.lang.Override @@ -149,6 +178,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.
@@ -170,6 +201,7 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -181,8 +213,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_);
     }
@@ -202,8 +233,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -213,19 +243,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -249,97 +278,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.
@@ -347,33 +383,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +423,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
@@ -409,8 +444,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.VersionedResource result =
+          new com.google.cloud.asset.v1.VersionedResource(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -421,9 +459,7 @@ private void buildPartial0(com.google.cloud.asset.v1.VersionedResource result) {
         result.version_ = version_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.resource_ = resourceBuilder_ == null
-            ? resource_
-            : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
       }
     }
 
@@ -431,38 +467,39 @@ private void buildPartial0(com.google.cloud.asset.v1.VersionedResource result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -505,24 +542,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              version_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getResourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                version_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -532,10 +570,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * API version of the resource.
      * Example:
@@ -545,13 +586,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; @@ -560,6 +601,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * API version of the resource.
      * Example:
@@ -569,15 +612,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 { @@ -585,6 +627,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * API version of the resource.
      * Example:
@@ -594,18 +638,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * API version of the resource.
      * Example:
@@ -615,6 +663,7 @@ public Builder setVersion(
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -624,6 +673,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * API version of the resource.
      * Example:
@@ -633,12 +684,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -648,8 +701,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.
@@ -664,12 +722,15 @@ public Builder setVersionBytes(
      * 
* * .google.protobuf.Struct resource = 2; + * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -684,6 +745,7 @@ public boolean hasResource() {
      * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ public com.google.protobuf.Struct getResource() { @@ -694,6 +756,8 @@ public com.google.protobuf.Struct getResource() { } } /** + * + * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -723,6 +787,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.
@@ -738,8 +804,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();
       } else {
@@ -750,6 +815,8 @@ public Builder setResource(
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -767,9 +834,9 @@ public Builder setResource(
      */
     public Builder mergeResource(com.google.protobuf.Struct value) {
       if (resourceBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          resource_ != null &&
-          resource_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && resource_ != null
+            && resource_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getResourceBuilder().mergeFrom(value);
         } else {
           resource_ = value;
@@ -782,6 +849,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.
@@ -808,6 +877,8 @@ public Builder clearResource() {
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -829,6 +900,8 @@ public com.google.protobuf.Struct.Builder getResourceBuilder() {
       return getResourceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -848,11 +921,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.
@@ -869,21 +943,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);
     }
 
@@ -893,12 +970,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();
   }
@@ -907,27 +984,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VersionedResource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -942,6 +1019,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.VersionedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
similarity index 80%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
index 9f9efa604b04..d86916246d95 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
+++ b/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
similarity index 100%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
rename to java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto b/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
similarity index 100%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
rename to java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java
new file mode 100644
index 000000000000..0a0ddb77bc6c
--- /dev/null
+++ b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java
@@ -0,0 +1,163 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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\"\302\002\n\030StandardResour"
+          + "ceMetadata\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\024\n\014display_name\030\004 "
+          + "\001(\t\022\023\n\013description\030\005 \001(\t\022\035\n\025additional_a"
+          + "ttributes\030\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006lab"
+          + "els\030\014 \003(\0132B.google.cloud.asset.v1p1beta1"
+          + ".StandardResourceMetadata.LabelsEntry\022\024\n"
+          + "\014network_tags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003ke"
+          + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicy"
+          + "SearchResult\022\020\n\010resource\030\001 \001(\t\022\017\n\007projec"
+          + "t\030\003 \001(\t\022%\n\006policy\030\004 \001(\0132\025.google.iam.v1."
+          + "Policy\022T\n\013explanation\030\005 \001(\0132?.google.clo"
+          + "ud.asset.v1p1beta1.IamPolicySearchResult"
+          + ".Explanation\032\351\001\n\013Explanation\022t\n\023matched_"
+          + "permissions\030\001 \003(\0132W.google.cloud.asset.v"
+          + "1p1beta1.IamPolicySearchResult.Explanati"
+          + "on.MatchedPermissionsEntry\032d\n\027MatchedPer"
+          + "missionsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001("
+          + "\0132).google.cloud.asset.v1p1beta1.Permiss"
+          + "ions:\0028\001\"\"\n\013Permissions\022\023\n\013permissions\030\001"
+          + " \003(\tB\251\001\n com.google.cloud.asset.v1p1beta"
+          + "1B\nAssetProtoP\001Z6cloud.google.com/go/ass"
+          + "et/apiv1p1beta1/assetpb;assetpb\370\001\001\252\002\034Goo"
+          + "gle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud"
+          + "\\Asset\\V1p1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.iam.v1.PolicyProto.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();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java
new file mode 100644
index 000000000000..c7c7e1107258
--- /dev/null
+++ b/java-asset/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\255"
+          + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass"
+          + "etServiceProtoP\001Z6cloud.google.com/go/as"
+          + "set/apiv1p1beta1/assetpb;assetpb\252\002\034Googl"
+          + "e.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud\\A"
+          + "sset\\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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
similarity index 69%
rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
index c6f284d2ab51..dab83af2e4a4 100644
--- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
+++ b/java-asset/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 an 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,34 +44,38 @@ 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; } - 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:`). Example role string:
@@ -62,10 +84,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:`). Example role string:
@@ -74,17 +99,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:`). Example role string:
@@ -93,11 +118,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:`). Example role string:
@@ -106,14 +134,17 @@ 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:`). Example role string:
@@ -122,94 +153,107 @@ 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; } - 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()); } + @SuppressWarnings("serial") 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_; } + 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:`). Example role string:
@@ -218,23 +262,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:`). Example role string:
@@ -243,13 +290,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:`). Example role string:
@@ -258,20 +309,25 @@ 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 /* nullable */
-com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.asset.v1p1beta1.Permissions defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public /* nullable */ com.google.cloud.asset.v1p1beta1.Permissions
+        getMatchedPermissionsOrDefault(
+            java.lang.String key,
+            /* nullable */
+            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:`). Example role string:
@@ -280,12 +336,15 @@ 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; + * */ @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)) { @@ -295,6 +354,7 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,10 +366,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, @@ -323,15 +381,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -341,15 +400,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,87 +431,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 @@ -461,61 +529,62 @@ 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() - private Builder() { - - } + // Construct using + // com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -525,14 +594,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 @@ -546,13 +617,17 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result = + new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result) { + private void buildPartial0( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchedPermissions_ = internalGetMatchedPermissions(); @@ -564,48 +639,54 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -633,21 +714,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - matchedPermissions__ = input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMatchedPermissions().getMutableMap().put( - matchedPermissions__.getKey(), matchedPermissions__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + matchedPermissions__ = + input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMatchedPermissions() + .getMutableMap() + .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,11 +744,15 @@ public Builder mergeFrom( } // finally 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> + 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( @@ -669,11 +760,14 @@ public Builder mergeFrom( } return matchedPermissions_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> internalGetMutableMatchedPermissions() { 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(); @@ -682,10 +776,13 @@ public Builder mergeFrom( onChanged(); return matchedPermissions_; } + 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:`). Example role string:
@@ -694,23 +791,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:`). Example role string:
@@ -719,13 +819,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:`). Example role string:
@@ -734,20 +838,25 @@ 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 /* nullable */
-com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault(
-          java.lang.String key,
-          /* nullable */
-com.google.cloud.asset.v1p1beta1.Permissions defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public /* nullable */ com.google.cloud.asset.v1p1beta1.Permissions
+          getMatchedPermissionsOrDefault(
+              java.lang.String key,
+              /* nullable */
+              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:`). Example role string:
@@ -756,12 +865,15 @@ 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; + * */ @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)) { @@ -769,13 +881,15 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } return map.get(key); } + public Builder clearMatchedPermissions() { bitField0_ = (bitField0_ & ~0x00000001); - 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:`). Example role string:
@@ -784,18 +898,17 @@ 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() { @@ -803,6 +916,8 @@ public Builder removeMatchedPermissions( return internalGetMutableMatchedPermissions().getMutableMap(); } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). Example role string:
@@ -811,19 +926,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"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableMatchedPermissions().getMutableMap() - .put(key, value); + 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"); + } + internalGetMutableMatchedPermissions().getMutableMap().put(key, value); bitField0_ |= 0x00000001; return this; } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). Example role string:
@@ -832,15 +952,16 @@ 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); bitField0_ |= 0x00000001; return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -853,41 +974,44 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -899,16 +1023,19 @@ 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; + @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** + * + * *
    * The
    * [full resource
@@ -917,6 +1044,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDef
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -925,14 +1053,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
@@ -941,16 +1070,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 { @@ -959,9 +1087,12 @@ public java.lang.String getResource() { } public static final int PROJECT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -972,6 +1103,7 @@ public java.lang.String getResource() {
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -980,14 +1112,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 Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -998,16 +1131,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 { @@ -1018,6 +1150,8 @@ public java.lang.String getProject() { public static final int POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy policy_; /** + * + * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1026,6 +1160,7 @@ public java.lang.String getProject() {
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -1033,6 +1168,8 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1041,6 +1178,7 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ @java.lang.Override @@ -1048,6 +1186,8 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** + * + * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1065,12 +1205,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 that explains 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 @@ -1078,19 +1221,26 @@ public boolean hasExplanation() { return explanation_ != null; } /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information that explains 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 that explains why the search result matches the query.
@@ -1099,11 +1249,15 @@ 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() {
-    return explanation_ == null ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
+  public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
+      getExplanationOrBuilder() {
+    return explanation_ == null
+        ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance()
+        : explanation_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1115,8 +1269,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_);
     }
@@ -1145,12 +1298,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1160,26 +1311,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1210,129 +1358,136 @@ 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 an 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1353,9 +1508,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 @@ -1374,8 +1529,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult result = + new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1389,14 +1547,11 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResul result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.policy_ = policyBuilder_ == null - ? policy_ - : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.explanation_ = explanationBuilder_ == null - ? explanation_ - : explanationBuilder_.build(); + result.explanation_ = + explanationBuilder_ == null ? explanation_ : explanationBuilder_.build(); } } @@ -1404,38 +1559,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.IamPolicySearchResul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1443,7 +1599,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_; bitField0_ |= 0x00000001; @@ -1486,36 +1643,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - input.readMessage( - getPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: { - input.readMessage( - getExplanationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + input.readMessage(getExplanationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1525,10 +1683,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * The
      * [full resource
@@ -1537,13 +1698,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; @@ -1552,6 +1713,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The
      * [full resource
@@ -1560,15 +1723,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 { @@ -1576,6 +1738,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The
      * [full resource
@@ -1584,18 +1748,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The
      * [full resource
@@ -1604,6 +1772,7 @@ public Builder setResource(
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -1613,6 +1782,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * The
      * [full resource
@@ -1621,12 +1792,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -1636,6 +1809,8 @@ public Builder setResourceBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1646,13 +1821,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; @@ -1661,6 +1836,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1671,15 +1848,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 { @@ -1687,6 +1863,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1697,18 +1875,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1719,6 +1901,7 @@ public Builder setProject(
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1728,6 +1911,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * The project that the associated Google Cloud resource belongs to, in the
      * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -1738,12 +1923,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -1753,8 +1940,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 attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1763,12 +1955,15 @@ public Builder setProjectBytes(
      * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1777,6 +1972,7 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -1787,6 +1983,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1810,6 +2008,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1819,8 +2019,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();
       } else {
@@ -1831,6 +2030,8 @@ public Builder setPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1842,9 +2043,9 @@ public Builder setPolicy(
      */
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          policy_ != null &&
-          policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && policy_ != null
+            && policy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getPolicyBuilder().mergeFrom(value);
         } else {
           policy_ = value;
@@ -1857,6 +2058,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1877,6 +2080,8 @@ public Builder clearPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1892,6 +2097,8 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The IAM policy attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1905,11 +2112,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 attached to the specified resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1920,14 +2128,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_;
@@ -1935,36 +2145,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 that explains 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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Explanation about the IAM policy search result. It contains additional
      * information that explains 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 that explains why the search result matches the query.
@@ -1972,7 +2196,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();
@@ -1986,6 +2211,8 @@ public Builder setExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchRe
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -1994,7 +2221,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();
       } else {
@@ -2005,6 +2233,8 @@ public Builder setExplanation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2012,11 +2242,14 @@ 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 (((bitField0_ & 0x00000008) != 0) &&
-          explanation_ != null &&
-          explanation_ != com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && explanation_ != null
+            && explanation_
+                != com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation
+                    .getDefaultInstance()) {
           getExplanationBuilder().mergeFrom(value);
         } else {
           explanation_ = value;
@@ -2029,6 +2262,8 @@ public Builder mergeExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearch
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2047,6 +2282,8 @@ public Builder clearExplanation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2054,12 +2291,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() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information that explains why the search result matches the query.
@@ -2067,15 +2307,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 that explains why the search result matches the query.
@@ -2084,21 +2329,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);
     }
 
@@ -2108,12 +2356,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();
   }
@@ -2122,27 +2370,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public IamPolicySearchResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2157,6 +2405,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
similarity index 82%
rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
index f06dff390343..a52ffe4017ec 100644
--- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
+++ b/java-asset/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
@@ -16,10 +34,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string resource = 1; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * The
    * [full resource
@@ -28,12 +49,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 Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -44,10 +67,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string project = 3; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The project that the associated Google Cloud resource belongs to, in the
    * form of `projects/{project_number}`. If an IAM policy is set on a resource
@@ -58,12 +84,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 attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -72,10 +100,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -84,10 +115,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** + * + * *
    * The IAM policy attached to the specified resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -100,26 +134,34 @@ public interface IamPolicySearchResultOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information that explains 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 that explains 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 that explains why the search result matches the query.
@@ -127,5 +169,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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
similarity index 67%
rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
index a5ec7c1158b8..0ae63900b973 100644
--- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
+++ b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
@@ -1,85 +1,113 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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; } - 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; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList permissions_; /** + * + * *
    * A list of permissions. Example 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. Example permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
    * A list of permissions. Example 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. */ @@ -87,20 +115,23 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
    * A list of permissions. Example 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; @@ -112,8 +143,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)); } @@ -142,15 +172,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,130 +201,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +341,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 @@ -326,9 +362,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -349,38 +388,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.Permissions result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -425,18 +465,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePermissionsIsMutable(); - permissions_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePermissionsIsMutable(); + permissions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -446,44 +488,55 @@ public Builder mergeFrom( } // finally 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. Example 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. Example permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
      * A list of permissions. Example 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. */ @@ -491,76 +544,90 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
      * A list of permissions. Example 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. Example 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPermissions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of permissions. Example 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addPermissions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
      * A list of permissions. Example 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. Example permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -570,26 +637,30 @@ public Builder clearPermissions() { return this; } /** + * + * *
      * A list of permissions. Example 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -599,12 +670,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(); } @@ -613,27 +684,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,6 +719,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.Permissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java similarity index 61% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java index bec5dfc201c2..e004e42769eb 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java +++ b/java-asset/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. Example 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. Example permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
    * A list of permissions. Example 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. Example 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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java similarity index 73% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java index 9127253f0ec7..e31f6a1d5cf5 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java +++ b/java-asset/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,33 +45,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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:
@@ -64,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -72,14 +95,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:
@@ -90,16 +114,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 { @@ -108,9 +131,12 @@ public java.lang.String getScope() { } public static final int QUERY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** + * + * *
    * Optional. The query statement. Examples:
    * * "policy:myuser@mydomain.com"
@@ -118,6 +144,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -126,14 +153,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:
    * * "policy:myuser@mydomain.com"
@@ -141,16 +169,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 { @@ -161,6 +188,8 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * 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
@@ -170,6 +199,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -178,9 +208,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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`
@@ -189,6 +222,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -197,14 +231,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`
@@ -213,16 +248,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 { @@ -231,6 +265,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,8 +277,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_); } @@ -272,8 +306,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_); @@ -286,21 +319,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,129 +356,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -461,13 +498,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(); } @@ -482,13 +520,17 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result = + new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result) { + private void buildPartial0( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.scope_ = scope_; @@ -508,38 +550,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllIamPolicies public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -547,7 +590,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_; bitField0_ |= 0x00000001; @@ -592,32 +637,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -627,10 +677,13 @@ public Builder mergeFrom( } // finally 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:
@@ -641,13 +694,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; @@ -656,6 +709,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:
@@ -666,15 +721,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 { @@ -682,6 +736,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:
@@ -692,18 +748,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; 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:
@@ -714,6 +774,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -723,6 +784,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the
      * resources within the `scope`. The allowed value must be:
@@ -733,12 +796,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -748,6 +813,8 @@ public Builder setScopeBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -755,13 +822,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; @@ -770,6 +837,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -777,15 +846,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 { @@ -793,6 +861,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -800,18 +870,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -819,6 +893,7 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -828,6 +903,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * Optional. The query statement. Examples:
      * * "policy:myuser@mydomain.com"
@@ -835,12 +912,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -848,8 +927,10 @@ public Builder setQueryBytes( 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
@@ -859,6 +940,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -866,6 +948,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
@@ -875,17 +959,20 @@ 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; bitField0_ |= 0x00000004; 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
@@ -895,6 +982,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -906,6 +994,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`
@@ -914,13 +1004,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; @@ -929,6 +1019,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`
@@ -937,15 +1029,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 { @@ -953,6 +1044,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`
@@ -961,18 +1054,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; 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`
@@ -981,6 +1078,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -990,6 +1088,8 @@ public Builder clearPageToken() { 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`
@@ -998,21 +1098,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - 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 +1124,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(); } @@ -1036,27 +1139,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1071,6 +1174,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java index e68c923dc1d4..7d6256e5adb7 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/java-asset/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:
    * * "policy:myuser@mydomain.com"
@@ -45,10 +68,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:
    * * "policy:myuser@mydomain.com"
@@ -56,12 +82,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
@@ -71,11 +99,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`
@@ -84,10 +115,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`
@@ -96,8 +130,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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java similarity index 73% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java index 7f8b0992b9bc..ecad3758b5e5 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List results_; /** + * + * *
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -65,6 +87,8 @@ public java.util.List ge
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -73,11 +97,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 IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -90,6 +116,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -102,6 +130,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
     return results_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of IAM policies that match the search query. Related information
    * such as the associated resource is returned along with the policy.
@@ -116,9 +146,12 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   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
@@ -126,6 +159,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -134,14 +168,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
@@ -149,16 +184,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 { @@ -167,6 +201,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,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)); } @@ -196,8 +230,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_); @@ -210,17 +243,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,129 +276,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,13 +422,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(); } @@ -404,14 +444,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -423,7 +467,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchA } } - private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { + private void buildPartial0( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -434,38 +479,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllIamPolicies public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -473,7 +519,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()) { @@ -492,9 +540,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_); } @@ -531,30 +580,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult m = - input.readMessage( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult m = + input.readMessage( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,21 +616,30 @@ public Builder mergeFrom( } // finally 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -594,6 +655,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -609,6 +672,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -624,6 +689,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -646,6 +713,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -686,6 +757,8 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -708,6 +781,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies 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 IAM policies 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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -754,11 +833,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);
@@ -766,6 +845,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -784,6 +865,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -802,6 +885,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -814,6 +899,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder getResults
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -824,11 +911,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -836,8 +926,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 {
@@ -845,6 +935,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
       }
     }
     /**
+     *
+     *
      * 
      * A list of IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -853,10 +945,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -866,10 +960,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 IAM policies that match the search query. Related information
      * such as the associated resource is returned along with the policy.
@@ -877,20 +974,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_;
@@ -898,6 +998,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
@@ -905,13 +1007,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; @@ -920,6 +1022,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
@@ -927,15 +1031,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 { @@ -943,6 +1046,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
@@ -950,18 +1055,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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,6 +1078,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -978,6 +1088,8 @@ public Builder clearNextPageToken() { 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
@@ -985,21 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +1123,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(); } @@ -1023,27 +1138,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,6 +1173,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java index 5a59ecb0d1ef..6e4a5df5b74b 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/java-asset/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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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 IAM policies 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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java similarity index 75% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java index 17e483a58be1..d2cbdd90ab12 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java +++ b/java-asset/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,33 +47,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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:
@@ -66,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -74,14 +97,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:
@@ -92,16 +116,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 { @@ -110,14 +133,18 @@ public java.lang.String getScope() { } public static final int QUERY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** + * + * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -126,29 +153,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 { @@ -157,40 +184,49 @@ public java.lang.String getQuery() { } public static final int ASSET_TYPES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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. */ @@ -198,23 +234,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_ = 0; /** + * + * *
    * 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
@@ -224,6 +264,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -232,9 +273,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") 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
@@ -243,6 +287,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -251,14 +296,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
@@ -267,16 +313,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 { @@ -285,9 +330,12 @@ public java.lang.String getPageToken() { } public static final int ORDER_BY_FIELD_NUMBER = 10; + @SuppressWarnings("serial") 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
@@ -296,6 +344,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -304,14 +353,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
@@ -320,16 +370,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 { @@ -338,6 +387,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,8 +399,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_); } @@ -393,8 +442,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_); @@ -410,25 +458,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -460,129 +503,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -598,9 +648,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 @@ -619,14 +669,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -657,38 +711,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -696,7 +751,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_; bitField0_ |= 0x00000001; @@ -756,43 +812,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -802,10 +865,13 @@ public Builder mergeFrom( } // finally 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:
@@ -816,13 +882,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; @@ -831,6 +897,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:
@@ -841,15 +909,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 { @@ -857,6 +924,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:
@@ -867,18 +936,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000001; 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:
@@ -889,6 +962,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -898,6 +972,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the
      * resources within the `scope`. The allowed value must be:
@@ -908,12 +984,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000001; @@ -923,18 +1001,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; @@ -943,20 +1023,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 { @@ -964,28 +1045,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } query_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -995,17 +1083,21 @@ public Builder clearQuery() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); query_ = value; bitField0_ |= 0x00000002; @@ -1013,45 +1105,55 @@ public Builder setQueryBytes( 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * 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. */ @@ -1059,81 +1161,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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() { @@ -1143,18 +1259,22 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1162,8 +1282,10 @@ public Builder addAssetTypesBytes( 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
@@ -1173,6 +1295,7 @@ public Builder addAssetTypesBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1180,6 +1303,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
@@ -1189,17 +1314,20 @@ 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; bitField0_ |= 0x00000008; 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
@@ -1209,6 +1337,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1220,6 +1349,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
@@ -1228,13 +1359,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; @@ -1243,6 +1374,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
@@ -1251,15 +1384,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 { @@ -1267,6 +1399,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
@@ -1275,18 +1409,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; 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
@@ -1295,6 +1433,7 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1304,6 +1443,8 @@ public Builder clearPageToken() { 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
@@ -1312,12 +1453,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; @@ -1327,6 +1470,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
@@ -1335,13 +1480,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; @@ -1350,6 +1495,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
@@ -1358,15 +1505,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 { @@ -1374,6 +1520,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
@@ -1382,18 +1530,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000020; 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
@@ -1402,6 +1554,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1411,6 +1564,8 @@ public Builder clearOrderBy() { 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
@@ -1419,21 +1574,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1443,12 +1600,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(); } @@ -1457,27 +1614,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1492,6 +1649,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java index 119d4076f19f..4ebd68615d3b 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java +++ b/java-asset/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
@@ -112,11 +150,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
@@ -125,10 +166,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
@@ -137,12 +181,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
@@ -151,10 +197,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
@@ -163,8 +212,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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java similarity index 71% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java index e7fcc16c4cd1..7ad279d35960 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private java.util.List results_; /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * 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.
    * 
@@ -71,11 +96,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.
    * 
@@ -87,6 +115,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -98,6 +128,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int return results_.get(index); } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -111,9 +143,12 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -121,6 +156,7 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +165,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
@@ -144,16 +181,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 { @@ -162,6 +198,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +210,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)); } @@ -191,8 +227,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_); @@ -205,17 +240,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,129 +273,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +419,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 @@ -399,14 +440,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result) { if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -429,38 +474,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -468,7 +514,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()) { @@ -487,9 +534,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_); } @@ -526,30 +574,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata m = - input.readMessage( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), - extensionRegistry); - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(m); - } else { - resultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata m = + input.readMessage( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +610,38 @@ public Builder mergeFrom( } // finally 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 { @@ -588,6 +649,8 @@ public java.util.List } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -602,6 +665,8 @@ public int getResultsCount() { } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -616,6 +681,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -637,6 +704,8 @@ public Builder setResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -644,7 +713,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()); @@ -655,6 +725,8 @@ public Builder setResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -675,6 +747,8 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.StandardResourceMetad return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -696,6 +770,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -714,6 +790,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -721,7 +799,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()); @@ -732,6 +811,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -739,11 +820,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); @@ -751,6 +832,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -768,6 +851,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -785,6 +870,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -796,6 +883,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -805,19 +894,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 { @@ -825,6 +918,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -832,10 +927,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.
      * 
@@ -844,30 +942,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_; @@ -875,6 +980,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
@@ -882,13 +989,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; @@ -897,6 +1004,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
@@ -904,15 +1013,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 { @@ -920,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
@@ -927,18 +1037,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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,6 +1060,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -955,6 +1070,8 @@ public Builder clearNextPageToken() { 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
@@ -962,21 +1079,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,12 +1105,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(); } @@ -1000,27 +1119,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java index cea3d70ab592..183a1d6991a6 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java similarity index 73% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java index 539b75a36e0d..04e940483f7f 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java +++ b/java-asset/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,45 +50,48 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -80,6 +101,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -88,14 +110,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`.
@@ -105,16 +128,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 { @@ -123,15 +145,19 @@ public java.lang.String getName() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -140,30 +166,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 { @@ -172,15 +198,19 @@ public java.lang.String getAssetType() { } public static final int PROJECT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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 @@ -189,30 +219,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 { @@ -221,14 +251,18 @@ public java.lang.String getProject() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name of this resource.
    * 
* * string display_name = 4; + * * @return The displayName. */ @java.lang.Override @@ -237,29 +271,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 { @@ -268,15 +302,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") 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 @@ -285,30 +323,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 { @@ -317,9 +355,12 @@ public java.lang.String getDescription() { } public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList additionalAttributes_; /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -327,13 +368,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.
@@ -341,12 +384,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.
@@ -354,6 +400,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. */ @@ -361,6 +408,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.
@@ -368,24 +417,28 @@ 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; + @SuppressWarnings("serial") 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 @@ -394,30 +447,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 { @@ -426,32 +479,34 @@ 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, - ""); + 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, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -462,20 +517,21 @@ 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 Google
    * Cloud
@@ -490,6 +546,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -500,17 +558,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      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 Google
    * Cloud
@@ -521,11 +581,11 @@ 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();
     }
@@ -533,9 +593,12 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 13;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList networkTags_;
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group Google Cloud resources. See [Labelling
@@ -545,13 +608,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 Google Cloud resources. See [Labelling
@@ -561,12 +626,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 Google Cloud resources. See [Labelling
@@ -576,6 +644,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. */ @@ -583,6 +652,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 Google Cloud resources. See [Labelling
@@ -592,15 +663,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; @@ -612,8 +684,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_); } @@ -630,17 +701,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)); } @@ -679,15 +747,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; @@ -705,31 +773,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -771,151 +831,156 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -935,9 +1000,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 @@ -956,14 +1021,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result) { if (((bitField0_ & 0x00000020) != 0)) { additionalAttributes_ = additionalAttributes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); @@ -1006,38 +1075,39 @@ private void buildPartial0(com.google.cloud.asset.v1p1beta1.StandardResourceMeta public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1045,7 +1115,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_; bitField0_ |= 0x00000001; @@ -1086,8 +1157,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.StandardResourceMetada bitField0_ |= 0x00000040; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000080; if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { @@ -1125,63 +1195,75 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - assetType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - project_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAdditionalAttributesIsMutable(); - additionalAttributes_.add(s); - break; - } // case 82 - case 90: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 90 - case 98: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNetworkTagsIsMutable(); - networkTags_.add(s); - break; - } // case 106 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + assetType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAdditionalAttributesIsMutable(); + additionalAttributes_.add(s); + break; + } // case 82 + case 90: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 90 + case 98: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNetworkTagsIsMutable(); + networkTags_.add(s); + break; + } // case 106 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1191,10 +1273,13 @@ public Builder mergeFrom( } // finally 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`.
@@ -1204,13 +1289,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; @@ -1219,6 +1304,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1228,15 +1315,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 { @@ -1244,6 +1330,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1253,18 +1341,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1274,6 +1366,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1283,6 +1376,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1292,12 +1387,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1307,19 +1404,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; @@ -1328,21 +1427,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 { @@ -1350,30 +1450,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; 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() { @@ -1383,18 +1490,22 @@ public Builder clearAssetType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -1404,19 +1515,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; @@ -1425,21 +1538,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 { @@ -1447,30 +1561,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000004; 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() { @@ -1480,18 +1601,22 @@ public Builder clearProject() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000004; @@ -1501,18 +1626,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; @@ -1521,20 +1648,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 { @@ -1542,28 +1670,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The display name of this resource.
      * 
* * string display_name = 4; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1573,17 +1708,21 @@ public Builder clearDisplayName() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -1593,19 +1732,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; @@ -1614,21 +1755,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 { @@ -1636,30 +1778,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * 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() { @@ -1669,18 +1818,22 @@ public Builder clearDescription() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1688,14 +1841,18 @@ public Builder setDescriptionBytes( 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_ & 0x00000020) != 0)) { additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(additionalAttributes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1703,13 +1860,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.
@@ -1717,12 +1876,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.
@@ -1730,6 +1892,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. */ @@ -1737,6 +1900,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.
@@ -1744,14 +1909,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.
@@ -1759,19 +1926,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAdditionalAttributes(int index, java.lang.String value) { + if (value == null) { + 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.
@@ -1779,18 +1950,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAdditionalAttributes(java.lang.String value) { + if (value == null) { + 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.
@@ -1798,18 +1973,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.
@@ -1817,6 +1993,7 @@ public Builder addAllAdditionalAttributes(
      * 
* * repeated string additional_attributes = 10; + * * @return This builder for chaining. */ public Builder clearAdditionalAttributes() { @@ -1826,6 +2003,8 @@ public Builder clearAdditionalAttributes() { return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1833,12 +2012,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAdditionalAttributesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAdditionalAttributesIsMutable(); additionalAttributes_.add(value); @@ -1848,19 +2029,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; @@ -1869,21 +2052,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 { @@ -1891,30 +2075,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; 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() { @@ -1924,18 +2115,22 @@ public Builder clearLocation() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -1943,21 +2138,19 @@ public Builder setLocationBytes( 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() { 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(); @@ -1966,10 +2159,13 @@ public Builder setLocationBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -1980,20 +2176,21 @@ 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 Google
      * Cloud
@@ -2008,6 +2205,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2018,17 +2217,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 12;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        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 Google
      * Cloud
@@ -2039,23 +2240,25 @@ 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();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000080);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2065,23 +2268,22 @@ 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() {
       bitField0_ |= 0x00000080;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2091,17 +2293,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"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    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");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000080;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2111,22 +2316,24 @@ 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);
       bitField0_ |= 0x00000080;
       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_ & 0x00000100) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000100;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -2136,13 +2343,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 Google Cloud resources. See [Labelling
@@ -2152,12 +2361,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 Google Cloud resources. See [Labelling
@@ -2167,6 +2379,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. */ @@ -2174,6 +2387,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 Google Cloud resources. See [Labelling
@@ -2183,14 +2398,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 Google Cloud resources. See [Labelling
@@ -2200,19 +2417,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkTags(int index, java.lang.String value) { + if (value == null) { + 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 Google Cloud resources. See [Labelling
@@ -2222,18 +2443,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTags(java.lang.String value) { + if (value == null) { + 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 Google Cloud resources. See [Labelling
@@ -2243,18 +2468,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 Google Cloud resources. See [Labelling
@@ -2264,6 +2490,7 @@ public Builder addAllNetworkTags(
      * 
* * repeated string network_tags = 13; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2273,6 +2500,8 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group Google Cloud resources. See [Labelling
@@ -2282,21 +2511,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -2306,12 +2537,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(); } @@ -2320,27 +2551,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardResourceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2355,6 +2586,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java similarity index 81% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java index 1c5c8de8c32d..14d942f592b5 100644 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java +++ b/java-asset/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 Google
    * Cloud
@@ -204,6 +262,8 @@ public interface StandardResourceMetadataOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -213,15 +273,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 Google
    * Cloud
@@ -231,9 +289,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 Google
    * Cloud
@@ -244,11 +303,13 @@ boolean containsLabels(
    * map<string, string> labels = 12;
    */
   /* 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 Google
    * Cloud
@@ -258,10 +319,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 Google Cloud resources. See [Labelling
@@ -271,11 +333,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 Google Cloud resources. See [Labelling
@@ -285,10 +349,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 Google Cloud resources. See [Labelling
@@ -298,11 +365,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 Google Cloud resources. See [Labelling
@@ -312,9 +382,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/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto rename to java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java similarity index 75% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java index 8a601213e02d..d100a9058454 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java +++ b/java-asset/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,33 +46,37 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.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;
+
   @SuppressWarnings("serial")
   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`.
@@ -64,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -72,14 +95,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`.
@@ -89,16 +113,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 { @@ -107,14 +130,18 @@ public java.lang.String getName() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -123,29 +150,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 { @@ -156,11 +183,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 @@ -168,18 +198,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.
    * 
@@ -188,18 +225,23 @@ public com.google.cloud.asset.v1p2beta1.Resource getResource() { */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() + : resource_; } 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 @@ -207,12 +249,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 @@ -220,6 +265,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.
@@ -233,9 +280,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   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
@@ -245,13 +295,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
@@ -261,12 +313,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
@@ -276,6 +331,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -283,6 +339,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
@@ -292,15 +350,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; @@ -312,8 +371,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_); } @@ -345,12 +403,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; @@ -368,29 +424,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,97 +474,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.
@@ -521,33 +579,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -570,9 +627,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
@@ -591,9 +648,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -615,14 +675,10 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.resource_ = resourceBuilder_ == null
-            ? resource_
-            : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null
-            ? iamPolicy_
-            : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
       }
     }
 
@@ -630,38 +686,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -722,42 +779,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getResourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getIamPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -767,10 +826,13 @@ public Builder mergeFrom(
       } // finally
       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`.
@@ -780,13 +842,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; @@ -795,6 +857,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`.
@@ -804,15 +868,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 { @@ -820,6 +883,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`.
@@ -829,18 +894,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -850,6 +919,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -859,6 +929,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -868,12 +940,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -883,18 +957,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; @@ -903,20 +979,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 { @@ -924,28 +1001,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -955,17 +1039,21 @@ public Builder clearAssetType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -975,34 +1063,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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.
      * 
@@ -1023,14 +1124,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(); } else { @@ -1041,6 +1143,8 @@ public Builder setResource( return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1049,9 +1153,9 @@ public Builder setResource( */ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - resource_ != null && - resource_ != com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && resource_ != null + && resource_ != com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1064,6 +1168,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1081,6 +1187,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1093,6 +1201,8 @@ public com.google.cloud.asset.v1p2beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Representation of the resource.
      * 
@@ -1103,11 +1213,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.
      * 
@@ -1115,14 +1228,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_; @@ -1130,26 +1246,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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() { @@ -1160,6 +1285,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.
@@ -1181,6 +1308,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.
@@ -1188,8 +1317,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();
       } else {
@@ -1200,6 +1328,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.
@@ -1209,9 +1339,9 @@ public Builder setIamPolicy(
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          iamPolicy_ != null &&
-          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && iamPolicy_ != null
+            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -1224,6 +1354,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.
@@ -1242,6 +1374,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.
@@ -1255,6 +1389,8 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       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.
@@ -1266,11 +1402,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.
@@ -1279,27 +1416,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_ & 0x00000010) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000010;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1309,13 +1453,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
@@ -1325,12 +1471,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
@@ -1340,6 +1489,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1347,6 +1497,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
@@ -1356,14 +1508,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
@@ -1373,19 +1527,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestors(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1395,18 +1553,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestors(java.lang.String value) { + if (value == null) { + 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
@@ -1416,18 +1578,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
@@ -1437,6 +1600,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 6; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1446,6 +1610,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
@@ -1455,21 +1621,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -1479,12 +1647,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(); } @@ -1493,27 +1661,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1528,6 +1696,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java similarity index 83% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java index c7aacd76368d..6396365adb9e 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java +++ b/java-asset/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/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java new file mode 100644 index 000000000000..efe112860d8a --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java @@ -0,0 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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\032googl" + + "e/iam/v1/policy.proto\032\034google/protobuf/s" + + "truct.proto\032\037google/protobuf/timestamp.p" + + "roto\"\216\001\n\rTemporalAsset\0228\n\006window\030\001 \001(\0132(" + + ".google.cloud.asset.v1p2beta1.TimeWindow" + + "\022\017\n\007deleted\030\002 \001(\010\0222\n\005asset\030\003 \001(\0132#.googl" + + "e.cloud.asset.v1p2beta1.Asset\"j\n\nTimeWin" + + "dow\022.\n\nstart_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\"\241\001\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.v1p2beta1.Resource\022" + + ")\n\niam_policy\030\004 \001(\0132\025.google.iam.v1.Poli" + + "cy\022\021\n\tancestors\030\006 \003(\t\"\240\001\n\010Resource\022\017\n\007ve" + + "rsion\030\001 \001(\t\022\036\n\026discovery_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.StructB\251\001\n com.google." + + "cloud.asset.v1p2beta1B\nAssetProtoP\001Z6clo" + + "ud.google.com/go/asset/apiv1p2beta1/asse" + + "tpb;assetpb\370\001\001\252\002\034Google.Cloud.Asset.v1p2" + + "beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006pr" + + "oto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.PolicyProto.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.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java new file mode 100644 index 000000000000..7b4f6120baf0 --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java @@ -0,0 +1,270 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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\033" + + "google/protobuf/empty.proto\032 google/prot" + + "obuf/field_mask.proto\"u\n\021CreateFeedReque" + + "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\t" + + "B\003\340A\002\0225\n\004feed\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.googlea" + + "pis.com/Feed\"\'\n\020ListFeedsRequest\022\023\n\006pare" + + "nt\030\001 \001(\tB\003\340A\002\"F\n\021ListFeedsResponse\0221\n\005fe" + + "eds\030\001 \003(\0132\".google.cloud.asset.v1p2beta1" + + ".Feed\"\200\001\n\021UpdateFeedRequest\0225\n\004feed\030\001 \001(" + + "\0132\".google.cloud.asset.v1p2beta1.FeedB\003\340" + + "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMaskB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.googleap" + + "is.com/Feed\"f\n\014OutputConfig\022G\n\017gcs_desti" + + "nation\030\001 \001(\0132,.google.cloud.asset.v1p2be" + + "ta1.GcsDestinationH\000B\r\n\013destination\"-\n\016G" + + "csDestination\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_u" + + "ri\"\"\n\021PubsubDestination\022\r\n\005topic\030\001 \001(\t\"p" + + "\n\020FeedOutputConfig\022M\n\022pubsub_destination" + + "\030\001 \001(\0132/.google.cloud.asset.v1p2beta1.Pu" + + "bsubDestinationH\000B\r\n\013destination\"\351\002\n\004Fee" + + "d\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).google.cloud.asset.v1p2beta1.Cont" + + "entType\022O\n\022feed_output_config\030\005 \001(\0132..go" + + "ogle.cloud.asset.v1p2beta1.FeedOutputCon" + + "figB\003\340A\002:\221\001\352A\215\001\n\036cloudasset.googleapis.c" + + "om/Feed\022\037projects/{project}/feeds/{feed}" + + "\022\035folders/{folder}/feeds/{feed}\022)organiz" + + "ations/{organization}/feeds/{feed} \001*I\n\013" + + "ContentType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020" + + "\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014Asse" + + "tService\022\224\001\n\nCreateFeed\022/.google.cloud.a" + + "sset.v1p2beta1.CreateFeedRequest\032\".googl" + + "e.cloud.asset.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v" + + "1p2beta1/{parent=*/*}/feeds:\001*\332A\006parent\022" + + "\211\001\n\007GetFeed\022,.google.cloud.asset.v1p2bet" + + "a1.GetFeedRequest\032\".google.cloud.asset.v" + + "1p2beta1.Feed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=" + + "*/*/feeds/*}\332A\004name\022\234\001\n\tListFeeds\022..goog" + + "le.cloud.asset.v1p2beta1.ListFeedsReques" + + "t\032/.google.cloud.asset.v1p2beta1.ListFee" + + "dsResponse\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*" + + "/*}/feeds\332A\006parent\022\227\001\n\nUpdateFeed\022/.goog" + + "le.cloud.asset.v1p2beta1.UpdateFeedReque" + + "st\032\".google.cloud.asset.v1p2beta1.Feed\"4" + + "\202\323\344\223\002\'2\"/v1p2beta1/{feed.name=*/*/feeds/" + + "*}:\001*\332A\004feed\022\203\001\n\nDeleteFeed\022/.google.clo" + + "ud.asset.v1p2beta1.DeleteFeedRequest\032\026.g" + + "oogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1" + + "/{name=*/*/feeds/*}\332A\004name\032M\312A\031cloudasse" + + "t.googleapis.com\322A.https://www.googleapi" + + "s.com/auth/cloud-platformB\255\001\n com.google" + + ".cloud.asset.v1p2beta1B\021AssetServiceProt" + + "oP\001Z6cloud.google.com/go/asset/apiv1p2be" + + "ta1/assetpb;assetpb\252\002\034Google.Cloud.Asset" + + ".V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta" + + "1b\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.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.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.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java similarity index 66% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java index dffdb7a8ca46..6d7dda275e30 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java similarity index 72% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java index b612cb93a25d..4e60c9f52693 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -70,14 +93,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
@@ -87,16 +111,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 { @@ -105,15 +128,19 @@ public java.lang.String getParent() { } public static final int FEED_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -122,30 +149,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 { @@ -156,6 +183,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:
@@ -164,7 +193,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 @@ -172,6 +203,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:
@@ -180,7 +213,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 @@ -188,6 +223,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:
@@ -196,7 +233,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() { @@ -204,6 +242,7 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,8 +254,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_); } @@ -242,8 +280,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,21 +290,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -294,129 +329,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +473,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 @@ -453,8 +494,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.CreateFeedRequest result = + new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -468,9 +512,7 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.CreateFeedRequest re result.feedId_ = feedId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.feed_ = feedBuilder_ == null - ? feed_ - : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); } } @@ -478,38 +520,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.CreateFeedRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -517,7 +560,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_; bitField0_ |= 0x00000001; @@ -557,29 +601,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - feedId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getFeedFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + feedId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,10 +635,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -602,13 +651,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; @@ -617,6 +666,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
@@ -626,15 +677,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 { @@ -642,6 +692,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
@@ -651,18 +703,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -672,6 +728,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -681,6 +738,8 @@ public Builder clearParent() { 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
@@ -690,12 +749,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,19 +766,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; @@ -726,21 +789,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 { @@ -748,30 +812,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFeedId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } feedId_ = value; bitField0_ |= 0x00000002; 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() { @@ -781,18 +852,22 @@ public Builder clearFeedId() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); feedId_ = value; bitField0_ |= 0x00000002; @@ -802,8 +877,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:
@@ -812,13 +892,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -827,7 +911,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() { @@ -838,6 +924,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:
@@ -846,7 +934,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) { @@ -862,6 +951,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:
@@ -870,10 +961,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(); } else { @@ -884,6 +975,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:
@@ -892,13 +985,14 @@ 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 (((bitField0_ & 0x00000004) != 0) && - feed_ != null && - feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && feed_ != null + && feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { getFeedBuilder().mergeFrom(value); } else { feed_ = value; @@ -911,6 +1005,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:
@@ -919,7 +1015,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -932,6 +1029,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:
@@ -940,7 +1039,8 @@ 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() { bitField0_ |= 0x00000004; @@ -948,6 +1048,8 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { return getFeedFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -956,17 +1058,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:
@@ -975,24 +1079,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); } @@ -1002,12 +1110,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(); } @@ -1016,27 +1124,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1051,6 +1159,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.CreateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java index c8fc925433a5..559d9f10b9e0 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java similarity index 62% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java index f6efbaab3eca..f751c7df5d22 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java @@ -1,53 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; + @SuppressWarnings("serial") 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
@@ -55,7 +73,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -64,14 +85,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
@@ -79,17 +101,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 { @@ -98,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +133,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_); } @@ -134,15 +157,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,125 +185,127 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +315,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 @@ -311,8 +336,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest result = + new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +356,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -367,7 +396,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_; bitField0_ |= 0x00000001; @@ -399,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,10 +451,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -430,14 +465,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; @@ -446,6 +483,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
@@ -453,16 +492,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 { @@ -470,6 +510,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
@@ -477,19 +519,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -497,7 +545,10 @@ 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() { @@ -507,6 +558,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -514,22 +567,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +596,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(); } @@ -553,27 +610,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000000..ee25e690ff20 --- /dev/null +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java similarity index 75% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java index 0575f0ee6894..dbe3a4b37f6b 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java +++ b/java-asset/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,33 +50,37 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -69,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -77,14 +100,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
@@ -95,16 +119,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 { @@ -113,9 +136,12 @@ public java.lang.String getName() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -128,13 +154,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
@@ -147,12 +175,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
@@ -165,6 +196,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. */ @@ -172,6 +204,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
@@ -184,18 +218,21 @@ 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; + @SuppressWarnings("serial") 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
@@ -207,13 +244,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
@@ -225,12 +264,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
@@ -242,6 +284,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. */ @@ -249,6 +292,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
@@ -260,51 +305,65 @@ 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_ = 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; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { - com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { + com.google.cloud.asset.v1p2beta1.ContentType result = + com.google.cloud.asset.v1p2beta1.ContentType.forNumber(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 @@ -312,32 +371,46 @@ 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() { - return feedOutputConfig_ == null ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,8 +422,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_); } @@ -360,7 +432,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) { @@ -394,13 +467,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -410,24 +482,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -461,97 +529,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.
@@ -562,33 +636,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -608,9 +681,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
@@ -629,9 +702,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -658,9 +734,8 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Feed result) {
         result.contentType_ = contentType_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.feedOutputConfig_ = feedOutputConfigBuilder_ == null
-            ? feedOutputConfig_
-            : feedOutputConfigBuilder_.build();
+        result.feedOutputConfig_ =
+            feedOutputConfigBuilder_ == null ? feedOutputConfig_ : feedOutputConfigBuilder_.build();
       }
     }
 
@@ -668,38 +743,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Feed result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -765,41 +841,46 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAssetNamesIsMutable();
-              assetNames_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAssetTypesIsMutable();
-              assetTypes_.add(s);
-              break;
-            } // case 26
-            case 32: {
-              contentType_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getFeedOutputConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAssetNamesIsMutable();
+                assetNames_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAssetTypesIsMutable();
+                assetTypes_.add(s);
+                break;
+              } // case 26
+            case 32:
+              {
+                contentType_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getFeedOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -809,10 +890,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -823,13 +907,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; @@ -838,6 +922,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -848,15 +934,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 { @@ -864,6 +949,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -874,18 +961,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -896,6 +987,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -905,6 +997,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -915,12 +1009,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -928,14 +1024,18 @@ public Builder setNameBytes( 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_ & 0x00000002) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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
@@ -948,13 +1048,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
@@ -967,12 +1069,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
@@ -985,6 +1090,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. */ @@ -992,6 +1098,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
@@ -1004,14 +1112,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
@@ -1024,19 +1134,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetNames(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1049,18 +1163,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetNames(java.lang.String value) { + if (value == null) { + 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
@@ -1073,18 +1191,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
@@ -1097,6 +1216,7 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1106,6 +1226,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
@@ -1118,12 +1240,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); @@ -1131,14 +1255,18 @@ public Builder addAssetNamesBytes( 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_ & 0x00000004) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * 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
@@ -1150,13 +1278,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
@@ -1168,12 +1298,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
@@ -1185,6 +1318,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. */ @@ -1192,6 +1326,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
@@ -1203,14 +1339,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
@@ -1222,19 +1360,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1246,18 +1388,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1269,18 +1415,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
@@ -1292,6 +1439,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1301,6 +1449,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
@@ -1312,12 +1462,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1327,24 +1479,31 @@ 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. */ @@ -1355,26 +1514,33 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1p2beta1.ContentType result = + com.google.cloud.asset.v1p2beta1.ContentType.forNumber(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. */ @@ -1388,12 +1554,15 @@ public Builder setContentType(com.google.cloud.asset.v1p2beta1.ContentType value 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() { @@ -1405,42 +1574,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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) { @@ -1456,12 +1644,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) { @@ -1475,18 +1667,23 @@ 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 (((bitField0_ & 0x00000010) != 0) && - feedOutputConfig_ != null && - feedOutputConfig_ != com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && feedOutputConfig_ != null + && feedOutputConfig_ + != com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) { getFeedOutputConfigBuilder().mergeFrom(value); } else { feedOutputConfig_ = value; @@ -1499,12 +1696,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1517,12 +1718,16 @@ 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() { bitField0_ |= 0x00000010; @@ -1530,45 +1735,58 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder getFeedOutputCo 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); } @@ -1578,12 +1796,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(); } @@ -1592,27 +1810,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1627,6 +1845,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java similarity index 83% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java index 66d4f439178e..846765f2ef4f 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java similarity index 67% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java index 80a96daa555e..80de8241fc48 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; } @@ -70,29 +91,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 @@ -100,21 +126,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.
    * 
@@ -122,14 +153,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; @@ -141,8 +174,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_); } @@ -156,8 +188,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +200,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: @@ -208,129 +241,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +383,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 @@ -365,8 +404,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.FeedOutputConfig result = + new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -379,8 +421,7 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.FeedOutputConfig res private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.FeedOutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && - pubsubDestinationBuilder_ != null) { + if (destinationCase_ == 1 && pubsubDestinationBuilder_ != null) { result.destination_ = pubsubDestinationBuilder_.build(); } } @@ -389,38 +430,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.FeedOutputConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -428,15 +470,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.getUnknownFields()); onChanged(); @@ -464,19 +509,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPubsubDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getPubsubDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,12 +532,12 @@ public Builder mergeFrom( } // finally 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() { @@ -504,13 +550,19 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -518,11 +570,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 @@ -540,6 +595,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() } } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -560,6 +617,8 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDesti return this; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -578,18 +637,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; } @@ -605,6 +671,8 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDes return this; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -628,16 +696,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.
      * 
@@ -645,7 +718,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 { @@ -656,6 +730,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDest } } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -663,14 +739,19 @@ 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()); @@ -680,9 +761,9 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDest 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); } @@ -692,12 +773,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(); } @@ -706,27 +787,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +822,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java similarity index 63% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java index be3215779213..91029b15a997 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java similarity index 69% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java index 11a30467ac7a..9ea7d304d0c6 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; } @@ -70,24 +91,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
@@ -97,12 +122,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
@@ -112,6 +140,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -122,8 +151,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; @@ -132,6 +160,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
@@ -141,18 +171,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; } @@ -163,6 +192,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +204,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_); } @@ -199,18 +228,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: @@ -239,130 +268,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +408,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 @@ -394,8 +429,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.GcsDestination result = + new com.google.cloud.asset.v1p2beta1.GcsDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -414,38 +452,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.GcsDestination public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -453,17 +492,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.getUnknownFields()); onChanged(); @@ -491,18 +533,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -512,12 +556,12 @@ public Builder mergeFrom( } // finally 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() { @@ -530,6 +574,8 @@ public Builder clearObjectUri() { private int bitField0_; /** + * + * *
      * 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
@@ -539,6 +585,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -546,6 +593,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
@@ -555,6 +604,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -564,8 +614,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; @@ -576,6 +625,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
@@ -585,19 +636,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; } @@ -607,6 +657,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
@@ -616,18 +668,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + 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
@@ -637,6 +693,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -648,6 +705,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
@@ -657,21 +716,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -681,12 +742,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(); } @@ -695,27 +756,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -730,6 +791,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java similarity index 68% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java index 083a2c545a11..3cefb0ca9b59 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java similarity index 63% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java index 998048245d9f..d7cf3e2403dd 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -68,14 +93,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
@@ -83,17 +109,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 { @@ -102,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +141,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_); } @@ -138,15 +165,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,130 +192,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,9 +331,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 @@ -319,8 +352,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.GetFeedRequest result = + new com.google.cloud.asset.v1p2beta1.GetFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -336,38 +372,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.GetFeedRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -375,7 +412,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_; bitField0_ |= 0x00000001; @@ -407,17 +445,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,10 +467,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -438,14 +481,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; @@ -454,6 +499,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
@@ -461,16 +508,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 { @@ -478,6 +526,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
@@ -485,19 +535,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -505,7 +561,10 @@ 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() { @@ -515,6 +574,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -522,22 +583,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,12 +612,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(); } @@ -561,27 +626,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -596,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000000..53061113e331 --- /dev/null +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java similarity index 67% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java index 8bb5cf0b6886..04d09ea9e6e7 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -67,14 +90,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
@@ -82,16 +106,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 { @@ -100,6 +123,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -136,15 +159,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +187,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +325,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 @@ -317,8 +346,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.ListFeedsRequest result = + new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +366,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.ListFeedsRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -373,7 +406,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_; bitField0_ |= 0x00000001; @@ -405,17 +439,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +461,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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
@@ -436,13 +475,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; @@ -451,6 +490,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
@@ -458,15 +499,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 { @@ -474,6 +514,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
@@ -481,18 +523,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -500,6 +546,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -509,6 +556,8 @@ public Builder clearParent() { 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
@@ -516,21 +565,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +591,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(); } @@ -554,27 +605,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java index 65b8118c4c25..07ffeb181dec 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java similarity index 68% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java index a8b4841a4d98..b3ab5c11bed6 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java @@ -1,53 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; + @SuppressWarnings("serial") private java.util.List feeds_; /** + * + * *
    * A list of feeds.
    * 
@@ -59,6 +77,8 @@ public java.util.List getFeedsList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -66,11 +86,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.
    * 
@@ -82,6 +104,8 @@ public int getFeedsCount() { return feeds_.size(); } /** + * + * *
    * A list of feeds.
    * 
@@ -93,6 +117,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { return feeds_.get(index); } /** + * + * *
    * A list of feeds.
    * 
@@ -100,12 +126,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; @@ -117,8 +143,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)); } @@ -132,8 +157,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,15 +167,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,125 +197,127 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -307,9 +333,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 @@ -328,14 +354,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p2beta1.ListFeedsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p2beta1.ListFeedsResponse result) { if (feedsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { feeds_ = java.util.Collections.unmodifiableList(feeds_); @@ -355,38 +385,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.ListFeedsResponse re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -394,7 +425,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()) { @@ -413,9 +445,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_); } @@ -447,25 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p2beta1.Feed m = - input.readMessage( - com.google.cloud.asset.v1p2beta1.Feed.parser(), - extensionRegistry); - if (feedsBuilder_ == null) { - ensureFeedsIsMutable(); - feeds_.add(m); - } else { - feedsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.asset.v1p2beta1.Feed m = + input.readMessage( + com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(m); + } else { + feedsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -475,21 +509,28 @@ public Builder mergeFrom( } // finally 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.
      * 
@@ -504,6 +545,8 @@ public java.util.List getFeedsList() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -518,6 +561,8 @@ public int getFeedsCount() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -532,14 +577,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(); @@ -553,6 +599,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -571,6 +619,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -591,14 +641,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(); @@ -612,14 +663,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()); @@ -630,6 +682,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -648,6 +702,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -658,8 +714,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); @@ -667,6 +722,8 @@ public Builder addAllFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -684,6 +741,8 @@ public Builder clearFeeds() { return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -701,39 +760,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 { @@ -741,6 +805,8 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( } } /** + * + * *
      * A list of feeds.
      * 
@@ -748,49 +814,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); } @@ -800,12 +871,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(); } @@ -814,27 +885,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +920,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java index b80afe70fd20..3f00050ebe87 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java similarity index 68% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java index 5963f9a10343..c677a107910b 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; } @@ -70,29 +91,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 @@ -100,21 +126,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.
    * 
@@ -124,12 +155,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; @@ -141,8 +173,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_); } @@ -156,8 +187,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +199,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: @@ -207,130 +239,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,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_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 @@ -365,8 +403,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.OutputConfig result = + new com.google.cloud.asset.v1p2beta1.OutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -379,8 +420,7 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.OutputConfig result) private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.OutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && - gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } } @@ -389,38 +429,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.OutputConfig re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -430,13 +471,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.getUnknownFields()); onChanged(); @@ -464,19 +507,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,12 +529,12 @@ public Builder mergeFrom( } // finally 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() { @@ -504,13 +547,19 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -518,11 +567,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 @@ -540,6 +592,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -560,6 +614,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -578,6 +634,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -586,10 +644,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; } @@ -605,6 +667,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestinati return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -628,6 +692,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -638,6 +704,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -656,6 +724,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -663,14 +733,19 @@ 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()); @@ -680,9 +755,9 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio 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); } @@ -692,12 +767,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(); } @@ -706,27 +781,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +816,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.OutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java index ce0072cbcb16..2eadb8a878a4 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java similarity index 65% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java index 4ccc8e9b3c43..34ed97dfbab1 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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; + @SuppressWarnings("serial") 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 @@ -66,30 +89,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 { @@ -98,6 +121,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +133,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_); } @@ -134,15 +157,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +323,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 @@ -315,8 +344,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.PubsubDestination result = + new com.google.cloud.asset.v1p2beta1.PubsubDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +364,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.PubsubDestination re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -371,7 +404,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_; bitField0_ |= 0x00000001; @@ -403,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - topic_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + topic_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +459,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -448,21 +487,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 { @@ -470,30 +510,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTopic(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } topic_ = value; bitField0_ |= 0x00000001; 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() { @@ -503,27 +550,31 @@ public Builder clearTopic() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTopicBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); topic_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +584,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(); } @@ -547,27 +598,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java similarity index 51% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java index e6d950141c14..b52b0f9aa6ea 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java similarity index 75% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java index 700e35ac3d97..41ccbf23b397 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java +++ b/java-asset/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,38 +47,43 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -69,29 +92,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 { @@ -100,9 +123,12 @@ public java.lang.String getVersion() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -112,6 +138,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -120,14 +147,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:
@@ -137,16 +165,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 { @@ -155,9 +182,12 @@ public java.lang.String getDiscoveryDocumentUri() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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
@@ -165,6 +195,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -173,14 +204,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
@@ -188,16 +220,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 { @@ -206,9 +237,12 @@ public java.lang.String getDiscoveryName() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object resourceUrl_ = ""; /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -218,6 +252,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -226,14 +261,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.
@@ -243,16 +279,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 { @@ -261,9 +296,12 @@ public java.lang.String getResourceUrl() { } public static final int PARENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -277,6 +315,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -285,14 +324,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
@@ -306,16 +346,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 { @@ -326,12 +365,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 @@ -339,12 +381,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 @@ -352,6 +397,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.
@@ -365,6 +412,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -376,8 +424,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_);
     }
@@ -421,8 +468,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -432,27 +478,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -484,130 +525,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +673,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 @@ -647,8 +694,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.Resource result = + new com.google.cloud.asset.v1p2beta1.Resource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -671,9 +721,7 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null - ? data_ - : dataBuilder_.build(); + result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); } } @@ -681,38 +729,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Resource result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -775,44 +824,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getDataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -822,22 +876,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -846,20 +903,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 { @@ -867,28 +925,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -898,17 +963,21 @@ public Builder clearVersion() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -918,6 +987,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -927,13 +998,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; @@ -942,6 +1013,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -951,15 +1024,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 { @@ -967,6 +1039,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -976,18 +1050,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -997,6 +1075,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1006,6 +1085,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1015,12 +1096,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1030,6 +1113,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
@@ -1037,13 +1122,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; @@ -1052,6 +1137,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
@@ -1059,15 +1146,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 { @@ -1075,6 +1161,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
@@ -1082,18 +1170,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1101,6 +1193,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1110,6 +1203,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1117,12 +1212,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1132,6 +1229,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.
@@ -1141,13 +1240,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; @@ -1156,6 +1255,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1165,15 +1266,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 { @@ -1181,6 +1281,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1190,18 +1292,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1211,6 +1317,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1220,6 +1327,8 @@ public Builder clearResourceUrl() { return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1229,12 +1338,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1244,6 +1355,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1257,13 +1370,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; @@ -1272,6 +1385,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1285,15 +1400,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 { @@ -1301,6 +1415,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1314,18 +1430,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1339,6 +1459,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1348,6 +1469,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1361,12 +1484,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1376,26 +1501,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 ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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() { @@ -1406,6 +1540,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.
@@ -1427,6 +1563,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.
@@ -1434,8 +1572,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();
       } else {
@@ -1446,6 +1583,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1455,9 +1594,9 @@ public Builder setData(
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          data_ != null &&
-          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && data_ != null
+            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1470,6 +1609,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.
@@ -1488,6 +1629,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1501,6 +1644,8 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1512,11 +1657,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.
@@ -1525,21 +1671,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);
     }
 
@@ -1549,12 +1697,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();
   }
@@ -1563,27 +1711,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Resource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1598,6 +1746,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
index 8e45f66a2bb8..106c7dfff4c7 100644
--- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
+++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
similarity index 68%
rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
index 5d8e412fc366..ab7976d6078c 100644
--- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
+++ b/java-asset/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,51 +28,55 @@
  *
  * 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;
   }
-  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 @@ -63,18 +84,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.
    * 
@@ -83,17 +111,22 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow getWindow() { */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() { - return window_ == null ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() + : window_; } public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_ = false; /** + * + * *
    * If the asset is deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -104,11 +137,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 @@ -116,11 +152,14 @@ public boolean hasAsset() { return asset_ != null; } /** + * + * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return The asset. */ @java.lang.Override @@ -128,6 +167,8 @@ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } /** + * + * *
    * Asset.
    * 
@@ -140,6 +181,7 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -172,16 +213,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,24 +229,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -226,8 +262,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(); @@ -237,97 +272,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.
@@ -335,33 +377,32 @@ 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()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -381,9 +422,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
@@ -402,8 +443,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1p2beta1.TemporalAsset result =
+          new com.google.cloud.asset.v1p2beta1.TemporalAsset(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -411,17 +455,13 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1p2beta1.TemporalAsset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.window_ = windowBuilder_ == null
-            ? window_
-            : windowBuilder_.build();
+        result.window_ = windowBuilder_ == null ? window_ : windowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.deleted_ = deleted_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.asset_ = assetBuilder_ == null
-            ? asset_
-            : assetBuilder_.build();
+        result.asset_ = assetBuilder_ == null ? asset_ : assetBuilder_.build();
       }
     }
 
@@ -429,38 +469,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.TemporalAsset result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -504,31 +545,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getWindowFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              deleted_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getAssetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                deleted_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getAssetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,38 +579,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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.
      * 
@@ -590,14 +645,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(); } else { @@ -608,6 +664,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -616,9 +674,9 @@ public Builder setWindow( */ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { if (windowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - window_ != null && - window_ != com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && window_ != null + && window_ != com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance()) { getWindowBuilder().mergeFrom(value); } else { window_ = value; @@ -631,6 +689,8 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -648,6 +708,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -660,6 +722,8 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow.Builder getWindowBuilder() { return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -670,11 +734,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.
      * 
@@ -682,26 +749,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 @@ -709,27 +782,33 @@ 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; + * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -741,34 +820,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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.
      * 
@@ -789,14 +881,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(); } else { @@ -807,6 +900,8 @@ public Builder setAsset( return this; } /** + * + * *
      * Asset.
      * 
@@ -815,9 +910,9 @@ public Builder setAsset( */ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { if (assetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - asset_ != null && - asset_ != com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && asset_ != null + && asset_ != com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance()) { getAssetBuilder().mergeFrom(value); } else { asset_ = value; @@ -830,6 +925,8 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** + * + * *
      * Asset.
      * 
@@ -847,6 +944,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Asset.
      * 
@@ -859,6 +958,8 @@ public com.google.cloud.asset.v1p2beta1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * Asset.
      * 
@@ -869,11 +970,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.
      * 
@@ -881,21 +985,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); } @@ -905,12 +1012,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(); } @@ -919,27 +1026,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TemporalAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,6 +1061,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.TemporalAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java similarity index 70% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java index d927836ba421..f2666eaba337 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java similarity index 69% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java index 4b778f935239..6e78650d853a 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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 @@ -62,11 +83,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 @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -88,12 +114,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 @@ -101,12 +130,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 @@ -114,6 +146,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.
@@ -127,6 +161,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +173,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());
     }
@@ -156,12 +190,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,22 +203,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,130 +243,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +391,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 @@ -375,8 +412,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.TimeWindow result = + new com.google.cloud.asset.v1p2beta1.TimeWindow(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,14 +424,10 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow buildPartial() { private void buildPartial0(com.google.cloud.asset.v1p2beta1.TimeWindow result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } } @@ -399,38 +435,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.TimeWindow result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -471,26 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,28 +536,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -532,6 +578,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -552,14 +600,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(); } else { @@ -570,6 +619,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -578,9 +629,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -593,6 +644,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -610,6 +663,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -622,6 +677,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -632,11 +689,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).
      * 
@@ -644,14 +702,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_; @@ -659,26 +720,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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() { @@ -689,6 +759,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -710,6 +782,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -717,8 +791,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();
       } else {
@@ -729,6 +802,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -738,9 +813,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -753,6 +828,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -771,6 +848,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -784,6 +863,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -795,11 +876,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.
@@ -808,21 +890,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);
     }
 
@@ -832,12 +917,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();
   }
@@ -846,27 +931,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -881,6 +966,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
index c80313df9f9c..2b5701c7df21 100644
--- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
+++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
similarity index 70%
rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
index 630a845cc895..6719cbc85a89 100644
--- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
+++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
@@ -1,55 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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; } - 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:
@@ -58,7 +78,9 @@ protected java.lang.Object newInstance(
    * 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 @@ -66,6 +88,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:
@@ -74,7 +98,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 @@ -82,6 +108,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:
@@ -90,7 +118,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() { @@ -100,13 +129,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 @@ -114,13 +147,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 @@ -128,13 +165,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() { @@ -142,6 +182,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 { if (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -171,12 +211,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -186,22 +224,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -228,129 +265,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -369,9 +412,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 @@ -390,8 +433,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result = + new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -399,14 +445,10 @@ public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest buildPartial() { private void buildPartial0(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.feed_ = feedBuilder_ == null - ? feed_ - : feedBuilder_.build(); + result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -414,38 +456,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -453,7 +496,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()); } @@ -486,26 +530,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFeedFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFeedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,12 +558,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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:
@@ -529,13 +578,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -544,7 +597,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() { @@ -555,6 +610,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:
@@ -563,7 +620,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) { @@ -579,6 +637,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:
@@ -587,10 +647,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(); } else { @@ -601,6 +661,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:
@@ -609,13 +671,14 @@ 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 (((bitField0_ & 0x00000001) != 0) && - feed_ != null && - feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && feed_ != null + && feed_ != com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()) { getFeedBuilder().mergeFrom(value); } else { feed_ = value; @@ -628,6 +691,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:
@@ -636,7 +701,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -649,6 +715,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:
@@ -657,7 +725,8 @@ 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() { bitField0_ |= 0x00000001; @@ -665,6 +734,8 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { 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:
@@ -673,17 +744,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:
@@ -692,17 +765,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_; @@ -710,45 +787,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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) { @@ -764,16 +857,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(); } else { @@ -784,19 +879,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -809,13 +907,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -828,13 +929,16 @@ 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() { bitField0_ |= 0x00000002; @@ -842,47 +946,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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); } @@ -892,12 +1006,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(); } @@ -906,27 +1020,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -941,6 +1055,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java index dc99969d8825..f47a2da67b7f 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java similarity index 78% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java index d3f4395d94fd..72936d1b996e 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java +++ b/java-asset/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; /** + * + * *
  * 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.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_ = "";
@@ -35,39 +53,43 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.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;
     }
@@ -83,28 +105,35 @@ 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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -114,6 +143,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -122,14 +152,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`
@@ -139,16 +170,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 { @@ -157,9 +187,12 @@ public java.lang.String getName() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -168,6 +201,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -176,14 +210,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
@@ -192,16 +227,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 { @@ -212,11 +246,14 @@ public java.lang.String getAssetType() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p5beta1.Resource resource_; /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -224,18 +261,25 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * A 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_; } /** + * + * *
    * A representation of the resource.
    * 
@@ -244,12 +288,16 @@ public com.google.cloud.asset.v1p5beta1.Resource getResource() { */ @java.lang.Override public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() + : resource_; } public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -263,6 +311,7 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder()
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -270,6 +319,8 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -283,6 +334,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -290,6 +342,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -310,9 +364,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private java.util.List orgPolicy_;
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -327,6 +384,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).
@@ -337,11 +396,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).
@@ -356,6 +417,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).
@@ -370,6 +433,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).
@@ -380,19 +445,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 @@ -400,22 +467,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).
@@ -424,21 +496,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 @@ -446,22 +522,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).
@@ -470,21 +551,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 @@ -492,22 +577,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).
@@ -516,17 +606,21 @@ 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();
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 10;
+
   @SuppressWarnings("serial")
   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),
@@ -538,13 +632,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_; } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -556,12 +652,15 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
    * 
* * 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),
@@ -573,6 +672,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -580,6 +680,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),
@@ -591,15 +693,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; @@ -611,8 +714,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_); } @@ -629,13 +731,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)); @@ -656,28 +761,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; @@ -695,44 +801,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: @@ -789,97 +886,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; } /** + * + * *
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -893,33 +997,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -960,9 +1063,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
@@ -981,9 +1084,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1015,30 +1121,23 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.resource_ = resourceBuilder_ == null
-            ? resource_
-            : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null
-            ? iamPolicy_
-            : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.asset.v1p5beta1.Asset result) {
       result.accessContextPolicyCase_ = accessContextPolicyCase_;
       result.accessContextPolicy_ = this.accessContextPolicy_;
-      if (accessContextPolicyCase_ == 7 &&
-          accessPolicyBuilder_ != null) {
+      if (accessContextPolicyCase_ == 7 && accessPolicyBuilder_ != null) {
         result.accessContextPolicy_ = accessPolicyBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 8 &&
-          accessLevelBuilder_ != null) {
+      if (accessContextPolicyCase_ == 8 && accessLevelBuilder_ != null) {
         result.accessContextPolicy_ = accessLevelBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 9 &&
-          servicePerimeterBuilder_ != null) {
+      if (accessContextPolicyCase_ == 9 && servicePerimeterBuilder_ != null) {
         result.accessContextPolicy_ = servicePerimeterBuilder_.build();
       }
     }
@@ -1047,38 +1146,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p5beta1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1121,9 +1221,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1140,21 +1241,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.getUnknownFields());
       onChanged();
@@ -1182,76 +1287,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getResourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getIamPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 50: {
-              com.google.cloud.orgpolicy.v1.Policy m =
-                  input.readMessage(
-                      com.google.cloud.orgpolicy.v1.Policy.parser(),
-                      extensionRegistry);
-              if (orgPolicyBuilder_ == null) {
-                ensureOrgPolicyIsMutable();
-                orgPolicy_.add(m);
-              } else {
-                orgPolicyBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getAccessPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getAccessLevelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 8;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getServicePerimeterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 9;
-              break;
-            } // case 74
-            case 82: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 50:
+              {
+                com.google.cloud.orgpolicy.v1.Policy m =
+                    input.readMessage(
+                        com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry);
+                if (orgPolicyBuilder_ == null) {
+                  ensureOrgPolicyIsMutable();
+                  orgPolicy_.add(m);
+                } else {
+                  orgPolicyBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getAccessPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getAccessLevelFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 8;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getServicePerimeterFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 9;
+                break;
+              } // case 74
+            case 82:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                break;
+              } // case 82
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1261,12 +1366,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -1280,6 +1385,8 @@ public Builder clearAccessContextPolicy() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1289,13 +1396,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; @@ -1304,6 +1411,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1313,15 +1422,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 { @@ -1329,6 +1437,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1338,18 +1448,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1359,6 +1473,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1368,6 +1483,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1377,12 +1494,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1392,6 +1511,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1400,13 +1521,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; @@ -1415,6 +1536,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1423,15 +1546,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 { @@ -1439,6 +1561,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1447,18 +1571,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1467,6 +1595,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1476,6 +1605,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1484,12 +1615,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -1499,34 +1632,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_; /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * A 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(); } } /** + * + * *
      * A representation of the resource.
      * 
@@ -1547,14 +1693,15 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** + * + * *
      * A 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(); } else { @@ -1565,6 +1712,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1573,9 +1722,9 @@ public Builder setResource( */ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - resource_ != null && - resource_ != com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && resource_ != null + && resource_ != com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1588,6 +1737,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1605,6 +1756,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1617,6 +1770,8 @@ public com.google.cloud.asset.v1p5beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -1627,11 +1782,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_; } } /** + * + * *
      * A representation of the resource.
      * 
@@ -1639,14 +1797,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_; @@ -1654,8 +1815,13 @@ 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_; /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1669,12 +1835,15 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder()
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1688,6 +1857,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1698,6 +1868,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1726,6 +1898,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1740,8 +1914,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();
       } else {
@@ -1752,6 +1925,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1768,9 +1943,9 @@ public Builder setIamPolicy(
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          iamPolicy_ != null &&
-          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && iamPolicy_ != null
+            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -1783,6 +1958,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1808,6 +1985,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1828,6 +2007,8 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1846,11 +2027,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1866,32 +2048,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_ & 0x00000010) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000010;
-       }
+      }
     }
 
     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).
@@ -1909,6 +2100,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -1926,6 +2119,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -1943,6 +2138,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).
@@ -1952,8 +2149,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();
@@ -1967,6 +2163,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -1988,6 +2186,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2011,6 +2211,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).
@@ -2020,8 +2222,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();
@@ -2035,6 +2236,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2044,8 +2247,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());
@@ -2056,6 +2258,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2077,6 +2281,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2090,8 +2296,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);
@@ -2099,6 +2304,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2119,6 +2326,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2139,6 +2348,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).
@@ -2148,11 +2359,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).
@@ -2162,14 +2374,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).
@@ -2179,8 +2393,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 {
@@ -2188,6 +2402,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).
@@ -2198,10 +2414,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).
@@ -2211,12 +2429,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).
@@ -2226,34 +2445,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_ & 0x00000010) != 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_ & 0x00000010) != 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 @@ -2261,12 +2488,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 @@ -2284,6 +2514,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).
@@ -2305,6 +2537,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).
@@ -2324,6 +2558,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).
@@ -2331,12 +2567,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;
         }
@@ -2352,6 +2594,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).
@@ -2376,6 +2620,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).
@@ -2383,10 +2629,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).
@@ -2395,7 +2644,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 {
@@ -2406,6 +2656,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).
@@ -2414,14 +2666,20 @@ 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());
@@ -2433,14 +2691,20 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
     }
 
     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 @@ -2448,12 +2712,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 @@ -2471,6 +2738,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).
@@ -2492,6 +2761,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).
@@ -2511,6 +2782,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).
@@ -2520,10 +2793,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;
         }
@@ -2539,6 +2817,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).
@@ -2563,6 +2843,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).
@@ -2574,6 +2856,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).
@@ -2582,7 +2866,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 {
@@ -2593,6 +2878,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).
@@ -2601,14 +2888,20 @@ 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());
@@ -2620,14 +2913,20 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
     }
 
     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 @@ -2635,19 +2934,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 { @@ -2658,6 +2961,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).
@@ -2665,7 +2970,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();
@@ -2679,6 +2985,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).
@@ -2698,6 +3006,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -2705,12 +3015,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;
         }
@@ -2726,6 +3043,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).
@@ -2750,6 +3069,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -2757,10 +3078,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).
@@ -2769,17 +3093,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).
@@ -2788,14 +3116,20 @@ 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());
@@ -2806,14 +3140,18 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
       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_ & 0x00000100) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000100;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2825,13 +3163,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),
@@ -2843,12 +3183,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),
@@ -2860,6 +3203,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -2867,6 +3211,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),
@@ -2878,14 +3224,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),
@@ -2897,19 +3245,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestors(int index, java.lang.String value) { + if (value == null) { + 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),
@@ -2921,18 +3273,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestors(java.lang.String value) { + if (value == null) { + 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),
@@ -2944,18 +3300,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),
@@ -2967,6 +3324,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -2976,6 +3334,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),
@@ -2987,21 +3347,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -3011,12 +3373,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(); } @@ -3025,27 +3387,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3060,6 +3422,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java similarity index 90% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java index 544ac195bc27..e76966b12e6b 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java +++ b/java-asset/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. 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. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -30,12 +51,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
@@ -44,10 +67,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
@@ -56,30 +82,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.v1p5beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return The resource. */ com.google.cloud.asset.v1p5beta1.Resource getResource(); /** + * + * *
    * A representation of the resource.
    * 
@@ -89,6 +123,8 @@ public interface AssetOrBuilder extends com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder(); /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -102,10 +138,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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -119,10 +158,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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -140,6 +182,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).
@@ -149,9 +193,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).
@@ -163,6 +208,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).
@@ -174,6 +221,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).
@@ -183,9 +232,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).
@@ -195,30 +246,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).
@@ -229,26 +287,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).
@@ -259,26 +325,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).
@@ -286,9 +360,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();
 
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -300,11 +377,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),
@@ -316,10 +395,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),
@@ -331,11 +413,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),
@@ -347,11 +432,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/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java new file mode 100644 index 000000000000..b406b451a85c --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java @@ -0,0 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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\031googl" + + "e/api/resource.proto\032)google/cloud/orgpo" + + "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" + + "olicy.proto\032:google/identity/accessconte" + + "xtmanager/v1/access_level.proto\032;google/" + + "identity/accesscontextmanager/v1/access_" + + "policy.proto\032?google/identity/accesscont" + + "extmanager/v1/service_perimeter.proto\032\034g" + + "oogle/protobuf/struct.proto\"\220\004\n\005Asset\022\014\n" + + "\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228\n\010resou" + + "rce\030\003 \001(\0132&.google.cloud.asset.v1p5beta1" + + ".Resource\022)\n\niam_policy\030\004 \001(\0132\025.google.i" + + "am.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.googl" + + "e.cloud.orgpolicy.v1.Policy\022N\n\raccess_po" + + "licy\030\007 \001(\01325.google.identity.accessconte" + + "xtmanager.v1.AccessPolicyH\000\022L\n\014access_le" + + "vel\030\010 \001(\01324.google.identity.accesscontex" + + "tmanager.v1.AccessLevelH\000\022V\n\021service_per" + + "imeter\030\t \001(\01329.google.identity.accesscon" + + "textmanager.v1.ServicePerimeterH\000\022\021\n\tanc" + + "estors\030\n \003(\t:\'\352A$\n\037cloudasset.googleapis" + + ".com/Asset\022\001*B\027\n\025access_context_policy\"\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\251\001\n com.google.cloud.asset.v1p5beta1B\n" + + "AssetProtoP\001Z6cloud.google.com/go/asset/" + + "apiv1p5beta1/assetpb;assetpb\370\001\001\252\002\034Google" + + ".Cloud.Asset.V1p5Beta1\312\002\034Google\\Cloud\\As" + + "set\\V1p5beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + 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.StructProto.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.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.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java new file mode 100644 index 000000000000..b09a4d98c7fd --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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\031google/api/resource.proto\032)goo" + + "gle/cloud/asset/v1p5beta1/assets.proto\032\037" + + "google/protobuf/timestamp.proto\"\370\001\n\021List" + + "AssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" + + "loudasset.googleapis.com/Asset\022-\n\tread_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n" + + "\013asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\016" + + "2).google.cloud.asset.v1p5beta1.ContentT" + + "ype\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001" + + "(\t\"\221\001\n\022ListAssetsResponse\022-\n\tread_time\030\001" + + " \001(\0132\032.google.protobuf.Timestamp\0223\n\006asse" + + "ts\030\002 \003(\0132#.google.cloud.asset.v1p5beta1." + + "Asset\022\027\n\017next_page_token\030\003 \001(\t*l\n\013Conten" + + "tType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010R" + + "ESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\nORG_POLICY\020" + + "\004\022\021\n\rACCESS_POLICY\020\0052\200\002\n\014AssetService\022\240\001" + + "\n\nListAssets\022/.google.cloud.asset.v1p5be" + + "ta1.ListAssetsRequest\0320.google.cloud.ass" + + "et.v1p5beta1.ListAssetsResponse\"/\202\323\344\223\002 \022" + + "\036/v1p5beta1/{parent=*/*}/assets\332A\006parent" + + "\032M\312A\031cloudasset.googleapis.com\322A.https:/" + + "/www.googleapis.com/auth/cloud-platformB" + + "\255\001\n com.google.cloud.asset.v1p5beta1B\021As" + + "setServiceProtoP\001Z6cloud.google.com/go/a" + + "sset/apiv1p5beta1/assetpb;assetpb\252\002\034Goog" + + "le.Cloud.Asset.V1P5Beta1\312\002\034Google\\Cloud\\" + + "Asset\\V1p5beta1b\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.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.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java similarity index 69% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java index f638179ec36e..7aa47a81868c 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java +++ b/java-asset/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 organization policy set on an asset.
    * 
@@ -45,6 +69,8 @@ public enum ContentType */ ORG_POLICY(4), /** + * + * *
    * The Access Context Manager 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 organization policy set on an asset.
    * 
@@ -88,6 +122,8 @@ public enum ContentType */ public static final int ORG_POLICY_VALUE = 4; /** + * + * *
    * The Access Context Manager 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/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java similarity index 78% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java index 72c62631a82e..1d9b4268621b 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java +++ b/java-asset/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,33 +46,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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"),
@@ -62,7 +84,10 @@ protected java.lang.Object newInstance(
    * "projects/[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 @@ -71,14 +96,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"),
@@ -86,17 +112,18 @@ public java.lang.String getParent() {
    * "projects/[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 { @@ -107,6 +134,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).
@@ -116,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -123,6 +153,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).
@@ -132,6 +164,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -139,6 +172,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).
@@ -155,9 +190,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -176,13 +214,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".
@@ -201,12 +241,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".
@@ -225,6 +268,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. */ @@ -232,6 +276,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".
@@ -250,51 +296,63 @@ 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_ = 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; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { - com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { + com.google.cloud.asset.v1p5beta1.ContentType result = + com.google.cloud.asset.v1p5beta1.ContentType.forNumber(contentType_); return result == null ? com.google.cloud.asset.v1p5beta1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** + * + * *
    * 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 @@ -303,9 +361,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -313,6 +374,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -321,14 +383,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
@@ -336,16 +399,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 { @@ -354,6 +416,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -376,7 +438,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) { @@ -398,8 +461,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; @@ -409,13 +471,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_); @@ -428,27 +489,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -482,129 +539,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +687,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 @@ -645,14 +708,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p5beta1.ListAssetsRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p5beta1.ListAssetsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -666,9 +733,7 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; @@ -685,38 +750,39 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -724,7 +790,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_; bitField0_ |= 0x00000001; @@ -780,45 +847,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: + { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -828,10 +900,13 @@ public Builder mergeFrom( } // finally 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"),
@@ -839,14 +914,16 @@ public Builder mergeFrom(
      * "projects/[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; @@ -855,6 +932,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"),
@@ -862,16 +941,17 @@ public java.lang.String getParent() {
      * "projects/[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 { @@ -879,6 +959,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"),
@@ -886,19 +968,25 @@ public java.lang.String getParent() {
      * "projects/[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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -906,7 +994,10 @@ public Builder setParent(
      * "projects/[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() { @@ -916,6 +1007,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -923,13 +1016,17 @@ public Builder clearParent() {
      * "projects/[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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -939,8 +1036,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).
@@ -950,12 +1052,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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).
@@ -965,6 +1070,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -975,6 +1081,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).
@@ -999,6 +1107,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).
@@ -1009,8 +1119,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();
       } else {
@@ -1021,6 +1130,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).
@@ -1033,9 +1144,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1048,6 +1159,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).
@@ -1069,6 +1182,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).
@@ -1085,6 +1200,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1099,11 +1216,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).
@@ -1115,27 +1233,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1154,13 +1279,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".
@@ -1179,12 +1306,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".
@@ -1203,6 +1333,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. */ @@ -1210,6 +1341,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".
@@ -1228,14 +1361,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".
@@ -1254,19 +1389,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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".
@@ -1285,18 +1424,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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".
@@ -1315,18 +1458,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".
@@ -1345,6 +1489,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1354,6 +1499,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1372,12 +1519,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1387,24 +1536,31 @@ 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. */ @@ -1415,26 +1571,33 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1p5beta1.ContentType result = + com.google.cloud.asset.v1p5beta1.ContentType.forNumber(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. */ @@ -1448,12 +1611,15 @@ public Builder setContentType(com.google.cloud.asset.v1p5beta1.ContentType value 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() { @@ -1463,14 +1629,17 @@ public Builder clearContentType() { 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 @@ -1478,29 +1647,35 @@ 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; bitField0_ |= 0x00000010; 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() { @@ -1512,6 +1687,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
@@ -1519,13 +1696,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; @@ -1534,6 +1711,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
@@ -1541,15 +1720,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 { @@ -1557,6 +1735,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
@@ -1564,18 +1744,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1583,6 +1767,7 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1592,6 +1777,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1599,21 +1786,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1623,12 +1812,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(); } @@ -1637,27 +1826,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1672,6 +1861,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java similarity index 86% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java index 5d6777d8bca4..c13df875ee7a 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java +++ b/java-asset/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"),
@@ -15,11 +33,16 @@ public interface ListAssetsRequestOrBuilder extends
    * "projects/[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. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -27,13 +50,17 @@ public interface ListAssetsRequestOrBuilder extends
    * "projects/[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(); /** + * + * *
    * 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 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).
@@ -56,10 +86,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).
@@ -73,6 +106,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".
@@ -91,11 +126,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".
@@ -114,10 +151,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".
@@ -136,11 +176,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".
@@ -159,45 +202,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
@@ -205,10 +259,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
@@ -216,8 +273,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/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java similarity index 72% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java index 4e895a3c6480..dfe0bbf36b38 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java +++ b/java-asset/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,37 +44,41 @@ 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; } - 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 @@ -64,11 +86,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -76,6 +101,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -88,9 +115,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } public static final int ASSETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * Assets.
    * 
@@ -102,6 +132,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -109,11 +141,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.
    * 
@@ -125,6 +159,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Assets.
    * 
@@ -136,6 +172,8 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Assets.
    * 
@@ -143,15 +181,17 @@ 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; + @SuppressWarnings("serial") 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
@@ -159,6 +199,7 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -167,14 +208,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
@@ -182,16 +224,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 { @@ -200,6 +241,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,8 +253,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()); } @@ -232,12 +273,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_); @@ -250,22 +289,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,129 +330,135 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,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 @@ -458,14 +501,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p5beta1.ListAssetsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p5beta1.ListAssetsResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -480,9 +527,7 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p5beta1.ListAss private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -493,38 +538,39 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.ListAssetsResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -532,7 +578,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()); } @@ -554,9 +601,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsResponse oth assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000002); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -593,37 +641,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1p5beta1.Asset m = - input.readMessage( - com.google.cloud.asset.v1p5beta1.Asset.parser(), - extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1p5beta1.Asset m = + input.readMessage( + com.google.cloud.asset.v1p5beta1.Asset.parser(), extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -633,28 +682,38 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -665,6 +724,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -685,14 +746,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(); } else { @@ -703,6 +765,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -711,9 +775,9 @@ public Builder setReadTime( */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - readTime_ != null && - readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && readTime_ != null + && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -726,6 +790,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -743,6 +809,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -755,6 +823,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -765,11 +835,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.
      * 
@@ -777,32 +848,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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -817,6 +897,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Assets.
      * 
@@ -831,6 +913,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Assets.
      * 
@@ -845,14 +929,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(); @@ -866,6 +951,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -884,6 +971,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -904,14 +993,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(); @@ -925,14 +1015,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()); @@ -943,6 +1034,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -961,6 +1054,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -971,8 +1066,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); @@ -980,6 +1074,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -997,6 +1093,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Assets.
      * 
@@ -1014,39 +1112,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 { @@ -1054,6 +1157,8 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Assets.
      * 
@@ -1061,42 +1166,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_ & 0x00000002) != 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_ & 0x00000002) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; @@ -1104,6 +1214,8 @@ public com.google.cloud.asset.v1p5beta1.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
@@ -1111,13 +1223,13 @@ public com.google.cloud.asset.v1p5beta1.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; @@ -1126,6 +1238,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
@@ -1133,15 +1247,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 { @@ -1149,6 +1262,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
@@ -1156,18 +1271,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; 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
@@ -1175,6 +1294,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1184,6 +1304,8 @@ public Builder clearNextPageToken() { 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
@@ -1191,21 +1313,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,12 +1339,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(); } @@ -1229,27 +1353,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1264,6 +1388,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java index c0ab522665a4..88f17363fea7 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java +++ b/java-asset/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,25 +89,30 @@ 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. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -86,10 +120,13 @@ com.google.cloud.asset.v1p5beta1.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 +134,8 @@ com.google.cloud.asset.v1p5beta1.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/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java similarity index 75% rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java index b43fc28cddde..3580aa35de23 100644 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java +++ b/java-asset/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; /** + * + * *
  * A representation of a Google 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,38 +47,43 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -69,29 +92,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 { @@ -100,9 +123,12 @@ public java.lang.String getVersion() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -112,6 +138,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -120,14 +147,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:
@@ -137,16 +165,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 { @@ -155,9 +182,12 @@ public java.lang.String getDiscoveryDocumentUri() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryName_ = ""; /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -166,6 +196,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -174,14 +205,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`
@@ -190,16 +222,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 { @@ -208,9 +239,12 @@ public java.lang.String getDiscoveryName() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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:
@@ -219,6 +253,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -227,14 +262,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:
@@ -243,16 +279,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 { @@ -261,9 +296,12 @@ public java.lang.String getResourceUrl() { } public static final int PARENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -278,6 +316,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -286,14 +325,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
@@ -308,16 +348,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 { @@ -328,12 +367,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 @@ -341,12 +383,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 @@ -354,6 +399,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.
@@ -367,6 +414,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -378,8 +426,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_);
     }
@@ -423,8 +470,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -434,27 +480,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -486,130 +527,136 @@ 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;
   }
   /**
+   *
+   *
    * 
    * A representation of a Google 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -628,9 +675,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 @@ -649,8 +696,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p5beta1.Resource result = + new com.google.cloud.asset.v1p5beta1.Resource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -673,9 +723,7 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null - ? data_ - : dataBuilder_.build(); + result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); } } @@ -683,38 +731,39 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Resource result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -777,44 +826,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getDataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -824,22 +878,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -848,20 +905,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 { @@ -869,28 +927,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -900,17 +965,21 @@ public Builder clearVersion() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -920,6 +989,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -929,13 +1000,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; @@ -944,6 +1015,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -953,15 +1026,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 { @@ -969,6 +1041,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -978,18 +1052,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -999,6 +1077,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1008,6 +1087,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1017,12 +1098,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1032,6 +1115,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1040,13 +1125,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; @@ -1055,6 +1140,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1063,15 +1150,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 { @@ -1079,6 +1165,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1087,18 +1175,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1107,6 +1199,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1116,6 +1209,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1124,12 +1219,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1139,6 +1236,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:
@@ -1147,13 +1246,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; @@ -1162,6 +1261,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:
@@ -1170,15 +1271,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 { @@ -1186,6 +1286,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:
@@ -1194,18 +1296,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1214,6 +1320,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1223,6 +1330,8 @@ public Builder clearResourceUrl() { return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1231,12 +1340,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1246,6 +1357,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1260,13 +1373,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; @@ -1275,6 +1388,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1289,15 +1404,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 { @@ -1305,6 +1419,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1319,18 +1435,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1345,6 +1465,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1354,6 +1475,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1368,12 +1491,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1383,26 +1508,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 ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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() { @@ -1413,6 +1547,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1434,6 +1570,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.
@@ -1441,8 +1579,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();
       } else {
@@ -1453,6 +1590,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1462,9 +1601,9 @@ public Builder setData(
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          data_ != null &&
-          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && data_ != null
+            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1477,6 +1616,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.
@@ -1495,6 +1636,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1508,6 +1651,8 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1519,11 +1664,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.
@@ -1532,21 +1678,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);
     }
 
@@ -1556,12 +1704,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();
   }
@@ -1570,27 +1718,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Resource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1605,6 +1753,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p5beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
similarity index 82%
rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
index 424649f34314..689009d00ac2 100644
--- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
+++ b/java-asset/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.
    * 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.
diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
similarity index 100%
rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
similarity index 100%
rename from owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
rename to java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
similarity index 78%
rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
index 9b909b2e4e39..a332cd330c8b 100644
--- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
+++ b/java-asset/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,39 +53,43 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.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;
     }
@@ -83,33 +105,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 @@ -117,12 +146,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 @@ -130,6 +162,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.
@@ -143,9 +177,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -155,6 +192,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +201,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`
@@ -180,16 +219,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,9 +236,12 @@ public java.lang.String getName() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -209,6 +250,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -217,14 +259,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
@@ -233,16 +276,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 { @@ -253,11 +295,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 @@ -265,18 +310,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.
    * 
@@ -285,12 +337,16 @@ public com.google.cloud.asset.v1p7beta1.Resource getResource() { */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() { - return resource_ == null ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() + : resource_; } public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -304,6 +360,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 @@ -311,6 +368,8 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -324,6 +383,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -331,6 +391,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * A representation of the IAM policy set on a Google Cloud resource.
    * There can be a maximum of one IAM policy set on any given resource.
@@ -351,9 +413,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private java.util.List orgPolicy_;
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -368,6 +433,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).
@@ -378,11 +445,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).
@@ -397,6 +466,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).
@@ -411,6 +482,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).
@@ -421,19 +494,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 @@ -441,22 +516,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).
@@ -465,21 +545,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 @@ -487,22 +571,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).
@@ -511,21 +600,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 @@ -533,22 +626,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).
@@ -557,9 +655,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();
   }
@@ -567,12 +666,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 @@ -580,19 +682,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.
@@ -602,13 +711,18 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
-    return relatedAssets_ == null ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_;
+    return relatedAssets_ == null
+        ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()
+        : relatedAssets_;
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 10;
+
   @SuppressWarnings("serial")
   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),
@@ -620,13 +734,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),
@@ -638,12 +754,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),
@@ -655,6 +774,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -662,6 +782,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),
@@ -673,15 +795,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; @@ -693,8 +816,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_); } @@ -711,13 +833,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)); @@ -744,28 +869,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; @@ -776,12 +902,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -791,7 +915,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); @@ -800,45 +924,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: @@ -903,97 +1016,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
@@ -1007,33 +1127,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1084,9 +1203,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
@@ -1105,9 +1224,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1133,9 +1255,7 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.Asset r
     private void buildPartial0(com.google.cloud.asset.v1p7beta1.Asset result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.name_ = name_;
@@ -1144,35 +1264,27 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Asset result) {
         result.assetType_ = assetType_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.resource_ = resourceBuilder_ == null
-            ? resource_
-            : resourceBuilder_.build();
+        result.resource_ = resourceBuilder_ == null ? resource_ : resourceBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.iamPolicy_ = iamPolicyBuilder_ == null
-            ? iamPolicy_
-            : iamPolicyBuilder_.build();
+        result.iamPolicy_ = iamPolicyBuilder_ == null ? iamPolicy_ : iamPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.relatedAssets_ = relatedAssetsBuilder_ == null
-            ? relatedAssets_
-            : relatedAssetsBuilder_.build();
+        result.relatedAssets_ =
+            relatedAssetsBuilder_ == null ? relatedAssets_ : relatedAssetsBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.Asset result) {
       result.accessContextPolicyCase_ = accessContextPolicyCase_;
       result.accessContextPolicy_ = this.accessContextPolicy_;
-      if (accessContextPolicyCase_ == 7 &&
-          accessPolicyBuilder_ != null) {
+      if (accessContextPolicyCase_ == 7 && accessPolicyBuilder_ != null) {
         result.accessContextPolicy_ = accessPolicyBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 8 &&
-          accessLevelBuilder_ != null) {
+      if (accessContextPolicyCase_ == 8 && accessLevelBuilder_ != null) {
         result.accessContextPolicy_ = accessLevelBuilder_.build();
       }
-      if (accessContextPolicyCase_ == 9 &&
-          servicePerimeterBuilder_ != null) {
+      if (accessContextPolicyCase_ == 9 && servicePerimeterBuilder_ != null) {
         result.accessContextPolicy_ = servicePerimeterBuilder_.build();
       }
     }
@@ -1181,38 +1293,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.Asset result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1258,9 +1371,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1280,21 +1394,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.getUnknownFields());
       onChanged();
@@ -1322,90 +1440,88 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getResourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getIamPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 34
-            case 50: {
-              com.google.cloud.orgpolicy.v1.Policy m =
-                  input.readMessage(
-                      com.google.cloud.orgpolicy.v1.Policy.parser(),
-                      extensionRegistry);
-              if (orgPolicyBuilder_ == null) {
-                ensureOrgPolicyIsMutable();
-                orgPolicy_.add(m);
-              } else {
-                orgPolicyBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getAccessPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getAccessLevelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 8;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getServicePerimeterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              accessContextPolicyCase_ = 9;
-              break;
-            } // case 74
-            case 82: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 90
-            case 106: {
-              input.readMessage(
-                  getRelatedAssetsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 34
+            case 50:
+              {
+                com.google.cloud.orgpolicy.v1.Policy m =
+                    input.readMessage(
+                        com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry);
+                if (orgPolicyBuilder_ == null) {
+                  ensureOrgPolicyIsMutable();
+                  orgPolicy_.add(m);
+                } else {
+                  orgPolicyBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getAccessPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getAccessLevelFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 8;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getServicePerimeterFieldBuilder().getBuilder(), extensionRegistry);
+                accessContextPolicyCase_ = 9;
+                break;
+              } // case 74
+            case 82:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 90
+            case 106:
+              {
+                input.readMessage(getRelatedAssetsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 106
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1415,12 +1531,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -1434,36 +1550,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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.
@@ -1485,6 +1614,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.
@@ -1492,8 +1623,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();
       } else {
@@ -1504,6 +1634,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1513,9 +1645,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1528,6 +1660,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.
@@ -1546,6 +1680,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1559,6 +1695,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1570,11 +1708,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.
@@ -1583,14 +1724,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_;
@@ -1598,6 +1742,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`
@@ -1607,13 +1753,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; @@ -1622,6 +1768,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1631,15 +1779,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 { @@ -1647,6 +1794,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1656,18 +1805,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1677,6 +1830,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1686,6 +1840,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1695,12 +1851,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -1710,6 +1868,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1718,13 +1878,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; @@ -1733,6 +1893,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1741,15 +1903,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 { @@ -1757,6 +1918,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1765,18 +1928,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1785,6 +1952,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1794,6 +1962,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1802,12 +1972,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000004; @@ -1817,34 +1989,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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.
      * 
@@ -1865,14 +2050,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(); } else { @@ -1883,6 +2069,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1891,9 +2079,9 @@ public Builder setResource( */ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - resource_ != null && - resource_ != com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && resource_ != null + && resource_ != com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance()) { getResourceBuilder().mergeFrom(value); } else { resource_ = value; @@ -1906,6 +2094,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1923,6 +2113,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1935,6 +2127,8 @@ public com.google.cloud.asset.v1p7beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -1945,11 +2139,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.
      * 
@@ -1957,14 +2154,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_; @@ -1972,8 +2172,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -1987,12 +2192,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2006,6 +2214,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2016,6 +2225,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2044,6 +2255,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2058,8 +2271,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();
       } else {
@@ -2070,6 +2282,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2086,9 +2300,9 @@ public Builder setIamPolicy(
      */
     public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          iamPolicy_ != null &&
-          iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && iamPolicy_ != null
+            && iamPolicy_ != com.google.iam.v1.Policy.getDefaultInstance()) {
           getIamPolicyBuilder().mergeFrom(value);
         } else {
           iamPolicy_ = value;
@@ -2101,6 +2315,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2126,6 +2342,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2146,6 +2364,8 @@ public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of the IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2164,11 +2384,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 IAM policy set on a Google Cloud resource.
      * There can be a maximum of one IAM policy set on any given resource.
@@ -2184,32 +2405,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_ & 0x00000020) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000020;
-       }
+      }
     }
 
     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).
@@ -2227,6 +2457,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2244,6 +2476,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2261,6 +2495,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).
@@ -2270,8 +2506,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();
@@ -2285,6 +2520,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2306,6 +2543,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2329,6 +2568,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).
@@ -2338,8 +2579,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();
@@ -2353,6 +2593,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2362,8 +2604,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());
@@ -2374,6 +2615,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2395,6 +2638,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2408,8 +2653,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);
@@ -2417,6 +2661,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2437,6 +2683,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2457,6 +2705,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).
@@ -2466,11 +2716,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).
@@ -2480,14 +2731,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).
@@ -2497,8 +2750,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 {
@@ -2506,6 +2759,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).
@@ -2516,10 +2771,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).
@@ -2529,12 +2786,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).
@@ -2544,34 +2802,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_ & 0x00000020) != 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_ & 0x00000020) != 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 @@ -2579,12 +2845,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 @@ -2602,6 +2871,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).
@@ -2623,6 +2894,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).
@@ -2642,6 +2915,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).
@@ -2649,12 +2924,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;
         }
@@ -2670,6 +2951,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).
@@ -2694,6 +2977,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).
@@ -2701,10 +2986,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).
@@ -2713,7 +3001,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 {
@@ -2724,6 +3013,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).
@@ -2732,14 +3023,20 @@ 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());
@@ -2751,14 +3048,20 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
     }
 
     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 @@ -2766,12 +3069,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 @@ -2789,6 +3095,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).
@@ -2810,6 +3118,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).
@@ -2829,6 +3139,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).
@@ -2838,10 +3150,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;
         }
@@ -2857,6 +3174,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).
@@ -2881,6 +3200,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).
@@ -2892,6 +3213,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).
@@ -2900,7 +3223,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 {
@@ -2911,6 +3235,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).
@@ -2919,14 +3245,20 @@ 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());
@@ -2938,14 +3270,20 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
     }
 
     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 @@ -2953,19 +3291,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 { @@ -2976,6 +3318,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).
@@ -2983,7 +3327,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();
@@ -2997,6 +3342,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).
@@ -3016,6 +3363,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3023,12 +3372,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;
         }
@@ -3044,6 +3400,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).
@@ -3068,6 +3426,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3075,10 +3435,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).
@@ -3087,17 +3450,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).
@@ -3106,14 +3473,20 @@ 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());
@@ -3126,36 +3499,49 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
 
     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 ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * 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.
@@ -3177,6 +3563,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.
@@ -3196,6 +3584,8 @@ public Builder setRelatedAssets(
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3205,9 +3595,10 @@ public Builder setRelatedAssets(
      */
     public Builder mergeRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets value) {
       if (relatedAssetsBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0) &&
-          relatedAssets_ != null &&
-          relatedAssets_ != com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0)
+            && relatedAssets_ != null
+            && relatedAssets_
+                != com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()) {
           getRelatedAssetsBuilder().mergeFrom(value);
         } else {
           relatedAssets_ = value;
@@ -3220,6 +3611,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.
@@ -3238,6 +3631,8 @@ public Builder clearRelatedAssets() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3251,6 +3646,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder getRelatedAssetsBu
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3262,11 +3659,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.
@@ -3275,27 +3675,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_ & 0x00000400) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000400;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3307,13 +3714,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),
@@ -3325,12 +3734,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),
@@ -3342,6 +3754,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3349,6 +3762,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),
@@ -3360,14 +3775,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),
@@ -3379,19 +3796,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestors(int index, java.lang.String value) { + if (value == null) { + 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),
@@ -3403,18 +3824,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestors(java.lang.String value) { + if (value == null) { + 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),
@@ -3426,18 +3851,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),
@@ -3449,6 +3875,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -3458,6 +3885,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),
@@ -3469,21 +3898,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -3493,12 +3924,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(); } @@ -3507,27 +3938,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3542,6 +3973,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java similarity index 90% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java index ef4fd1331cdf..010808924866 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java +++ b/java-asset/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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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 IAM policy set on a Google Cloud resource.
    * There can be a maximum of one 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/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java new file mode 100644 index 000000000000..9495f87c86b6 --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java @@ -0,0 +1,193 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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\031googl" + + "e/api/resource.proto\032)google/cloud/orgpo" + + "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" + + "olicy.proto\032:google/identity/accessconte" + + "xtmanager/v1/access_level.proto\032;google/" + + "identity/accesscontextmanager/v1/access_" + + "policy.proto\032?google/identity/accesscont" + + "extmanager/v1/service_perimeter.proto\032\034g" + + "oogle/protobuf/struct.proto\032\037google/prot" + + "obuf/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\nasset_type\030\002 \001(\t\0228\n\010res" + + "ource\030\003 \001(\0132&.google.cloud.asset.v1p7bet" + + "a1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.google" + + ".iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.goo" + + "gle.cloud.orgpolicy.v1.Policy\022N\n\raccess_" + + "policy\030\007 \001(\01325.google.identity.accesscon" + + "textmanager.v1.AccessPolicyH\000\022L\n\014access_" + + "level\030\010 \001(\01324.google.identity.accesscont" + + "extmanager.v1.AccessLevelH\000\022V\n\021service_p" + + "erimeter\030\t \001(\01329.google.identity.accessc" + + "ontextmanager.v1.ServicePerimeterH\000\022C\n\016r" + + "elated_assets\030\r \001(\0132+.google.cloud.asset" + + ".v1p7beta1.RelatedAssets\022\021\n\tancestors\030\n " + + "\003(\t:\'\352A$\n\037cloudasset.googleapis.com/Asse" + + "t\022\001*B\027\n\025access_context_policy\"\262\001\n\010Resour" + + "ce\022\017\n\007version\030\001 \001(\t\022\036\n\026discovery_documen" + + "t_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014r" + + "esource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004dat" + + "a\030\006 \001(\0132\027.google.protobuf.Struct\022\020\n\010loca" + + "tion\030\010 \001(\t\"\242\001\n\rRelatedAssets\022U\n\027relation" + + "ship_attributes\030\001 \001(\01324.google.cloud.ass" + + "et.v1p7beta1.RelationshipAttributes\022:\n\006a" + + "ssets\030\002 \003(\0132*.google.cloud.asset.v1p7bet" + + "a1.RelatedAsset\"r\n\026RelationshipAttribute" + + "s\022\014\n\004type\030\004 \001(\t\022\034\n\024source_resource_type\030" + + "\001 \001(\t\022\034\n\024target_resource_type\030\002 \001(\t\022\016\n\006a" + + "ction\030\003 \001(\t\"j\n\014RelatedAsset\0223\n\005asset\030\001 \001" + + "(\tB$\372A!\n\037cloudasset.googleapis.com/Asset" + + "\022\022\n\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\tB" + + "\251\001\n com.google.cloud.asset.v1p7beta1B\nAs" + + "setProtoP\001Z6cloud.google.com/go/asset/ap" + + "iv1p7beta1/assetpb;assetpb\370\001\001\252\002\034Google.C" + + "loud.Asset.V1P7Beta1\312\002\034Google\\Cloud\\Asse" + + "t\\V1p7beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + 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.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.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.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java new file mode 100644 index 000000000000..a488dd408060 --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java @@ -0,0 +1,226 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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/longrunning/operations.proto\032\037google" + + "/protobuf/timestamp.proto\"\267\002\n\023ExportAsse" + + "tsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloud" + + "asset.googleapis.com/Asset\022-\n\tread_time\030" + + "\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013ass" + + "et_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).g" + + "oogle.cloud.asset.v1p7beta1.ContentType\022" + + "F\n\routput_config\030\005 \001(\0132*.google.cloud.as" + + "set.v1p7beta1.OutputConfigB\003\340A\002\022\032\n\022relat" + + "ionship_types\030\006 \003(\t\"\313\001\n\024ExportAssetsResp" + + "onse\022-\n\tread_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022A\n\routput_config\030\002 \001(\0132*.goo" + + "gle.cloud.asset.v1p7beta1.OutputConfig\022A" + + "\n\routput_result\030\003 \001(\0132*.google.cloud.ass" + + "et.v1p7beta1.OutputResult\"\271\001\n\014OutputConf" + + "ig\022G\n\017gcs_destination\030\001 \001(\0132,.google.clo" + + "ud.asset.v1p7beta1.GcsDestinationH\000\022Q\n\024b" + + "igquery_destination\030\002 \001(\01321.google.cloud" + + ".asset.v1p7beta1.BigQueryDestinationH\000B\r" + + "\n\013destination\"]\n\014OutputResult\022C\n\ngcs_res" + + "ult\030\001 \001(\0132-.google.cloud.asset.v1p7beta1" + + ".GcsOutputResultH\000B\010\n\006result\"\037\n\017GcsOutpu" + + "tResult\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\n" + + "object_uri\"\273\001\n\023BigQueryDestination\022\024\n\007da" + + "taset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005" + + "force\030\003 \001(\010\022C\n\016partition_spec\030\004 \001(\0132+.go" + + "ogle.cloud.asset.v1p7beta1.PartitionSpec" + + "\022&\n\036separate_tables_per_asset_type\030\005 \001(\010" + + "\"\260\001\n\rPartitionSpec\022O\n\rpartition_key\030\001 \001(" + + "\01628.google.cloud.asset.v1p7beta1.Partiti" + + "onSpec.PartitionKey\"N\n\014PartitionKey\022\035\n\031P" + + "ARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020" + + "\001\022\020\n\014REQUEST_TIME\020\002*~\n\013ContentType\022\034\n\030CO" + + "NTENT_TYPE_UNSPECIFIED\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\014RELATIONSHIP\020\0072\332\002\n\014AssetSer" + + "vice\022\372\001\n\014ExportAssets\0221.google.cloud.ass" + + "et.v1p7beta1.ExportAssetsRequest\032\035.googl" + + "e.longrunning.Operation\"\227\001\202\323\344\223\002)\"$/v1p7b" + + "eta1/{parent=*/*}:exportAssets:\001*\312Ae\n1go" + + "ogle.cloud.asset.v1p7beta1.ExportAssetsR" + + "esponse\0220google.cloud.asset.v1p7beta1.Ex" + + "portAssetsRequest\032M\312A\031cloudasset.googlea" + + "pis.com\322A.https://www.googleapis.com/aut" + + "h/cloud-platformB\255\001\n com.google.cloud.as" + + "set.v1p7beta1B\021AssetServiceProtoP\001Z6clou" + + "d.google.com/go/asset/apiv1p7beta1/asset" + + "pb;assetpb\252\002\034Google.Cloud.Asset.V1P7Beta" + + "1\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.longrunning.OperationsProto.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.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java similarity index 81% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java index ff59268dbf9c..f79e8cde70c9 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java +++ b/java-asset/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,33 +44,37 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object dataset_ = ""; /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -69,14 +92,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
@@ -85,16 +109,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 { @@ -103,9 +126,12 @@ public java.lang.String getDataset() { } public static final int TABLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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
@@ -113,6 +139,7 @@ public java.lang.String getDataset() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -121,14 +148,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
@@ -136,16 +164,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 { @@ -156,6 +183,8 @@ public java.lang.String getTable() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_ = false; /** + * + * *
    * 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
@@ -164,6 +193,7 @@ public java.lang.String getTable() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -174,6 +204,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.
@@ -193,6 +225,7 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -200,6 +233,8 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -219,13 +254,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.
@@ -248,12 +288,16 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecOrBuilder() {
-    return partitionSpec_ == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_;
+    return partitionSpec_ == null
+        ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()
+        : partitionSpec_;
   }
 
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_ = false;
   /**
+   *
+   *
    * 
    * 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
@@ -282,6 +326,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -290,6 +335,7 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,8 +347,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_); } @@ -334,16 +379,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -353,26 +395,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,144 +427,148 @@ 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) + getUnknownFields().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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +586,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 @@ -565,8 +607,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.BigQueryDestination result = + new com.google.cloud.asset.v1p7beta1.BigQueryDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -583,9 +628,8 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.BigQueryDestination result.force_ = force_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.partitionSpec_ = partitionSpecBuilder_ == null - ? partitionSpec_ - : partitionSpecBuilder_.build(); + result.partitionSpec_ = + partitionSpecBuilder_ == null ? partitionSpec_ : partitionSpecBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.separateTablesPerAssetType_ = separateTablesPerAssetType_; @@ -596,38 +640,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.BigQueryDestination public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -635,7 +680,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_; bitField0_ |= 0x00000001; @@ -681,39 +727,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dataset_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - force_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - input.readMessage( - getPartitionSpecFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - separateTablesPerAssetType_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dataset_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + force_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getPartitionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + separateTablesPerAssetType_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -723,10 +773,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dataset_ = ""; /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -735,13 +788,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; @@ -750,6 +803,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -758,15 +813,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 { @@ -774,6 +828,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -782,18 +838,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDataset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dataset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -802,6 +862,7 @@ public Builder setDataset(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -811,6 +872,8 @@ public Builder clearDataset() { return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -819,12 +882,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dataset_ = value; bitField0_ |= 0x00000001; @@ -834,6 +899,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
@@ -841,13 +908,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; @@ -856,6 +923,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
@@ -863,15 +932,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 { @@ -879,6 +947,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
@@ -886,18 +956,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000002; 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
@@ -905,6 +979,7 @@ public Builder setTable(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -914,6 +989,8 @@ public Builder clearTable() { 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
@@ -921,12 +998,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000002; @@ -934,8 +1013,10 @@ public Builder setTableBytes( 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
@@ -944,6 +1025,7 @@ public Builder setTableBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -951,6 +1033,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
@@ -959,17 +1043,20 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; bitField0_ |= 0x00000004; 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
@@ -978,6 +1065,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -989,8 +1077,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.
@@ -1010,12 +1103,15 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1035,16 +1131,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.
@@ -1079,6 +1180,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.
@@ -1111,6 +1214,8 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1133,9 +1238,10 @@ public Builder setPartitionSpec(
      */
     public Builder mergePartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec value) {
       if (partitionSpecBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          partitionSpec_ != null &&
-          partitionSpec_ != com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && partitionSpec_ != null
+            && partitionSpec_
+                != com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()) {
           getPartitionSpecBuilder().mergeFrom(value);
         } else {
           partitionSpec_ = value;
@@ -1148,6 +1254,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.
@@ -1179,6 +1287,8 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1205,6 +1315,8 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder getPartitionSpecBu
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1229,11 +1341,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.
@@ -1255,21 +1370,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
@@ -1298,6 +1418,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1305,6 +1426,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
@@ -1333,17 +1456,20 @@ 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; bitField0_ |= 0x00000010; 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
@@ -1372,6 +1498,7 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { @@ -1380,9 +1507,9 @@ public Builder clearSeparateTablesPerAssetType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1392,12 +1519,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(); } @@ -1406,27 +1533,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1441,6 +1568,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java similarity index 89% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java index 40da134d5f87..f388d517d2fa 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java similarity index 69% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java index c385409d6341..ff9d6520da6f 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java +++ b/java-asset/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 organization policy set on an asset.
    * 
@@ -45,6 +69,8 @@ public enum ContentType */ ORG_POLICY(4), /** + * + * *
    * The 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 organization policy set on an asset.
    * 
@@ -96,6 +132,8 @@ public enum ContentType */ public static final int ORG_POLICY_VALUE = 4; /** + * + * *
    * The 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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java similarity index 78% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java index 1e7c4f9d1196..8937b27633e1 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java +++ b/java-asset/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,33 +46,37 @@ 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; } - 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; + @SuppressWarnings("serial") 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
@@ -62,7 +84,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -71,14 +96,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
@@ -86,17 +112,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 { @@ -107,6 +134,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).
@@ -116,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -123,6 +153,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).
@@ -132,6 +164,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -139,6 +172,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).
@@ -155,9 +190,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -176,13 +214,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".
@@ -201,12 +241,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".
@@ -225,6 +268,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. */ @@ -232,6 +276,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".
@@ -250,51 +296,65 @@ 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_ = 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; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { - com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.forNumber(contentType_); + @java.lang.Override + public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { + com.google.cloud.asset.v1p7beta1.ContentType result = + com.google.cloud.asset.v1p7beta1.ContentType.forNumber(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 @@ -302,35 +362,51 @@ 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() { - return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") 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
@@ -345,13 +421,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
@@ -366,12 +444,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
@@ -386,6 +467,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. */ @@ -393,6 +475,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
@@ -407,15 +491,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; @@ -427,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -438,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.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) { @@ -460,8 +545,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; @@ -471,13 +555,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; @@ -495,30 +578,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -556,129 +635,135 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -703,9 +788,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 @@ -724,14 +809,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { assetTypes_ = assetTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -750,17 +839,14 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.outputConfig_ = outputConfigBuilder_ == null - ? outputConfig_ - : outputConfigBuilder_.build(); + result.outputConfig_ = + outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); } } @@ -768,38 +854,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -807,7 +894,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_; bitField0_ |= 0x00000001; @@ -868,48 +956,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssetTypesIsMutable(); - assetTypes_.add(s); - break; - } // case 26 - case 32: { - contentType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - input.readMessage( - getOutputConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRelationshipTypesIsMutable(); - relationshipTypes_.add(s); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssetTypesIsMutable(); + assetTypes_.add(s); + break; + } // case 26 + case 32: + { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRelationshipTypesIsMutable(); + relationshipTypes_.add(s); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -919,10 +1010,13 @@ public Builder mergeFrom( } // finally 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
@@ -930,14 +1024,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; @@ -946,6 +1042,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
@@ -953,16 +1051,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 { @@ -970,6 +1069,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
@@ -977,19 +1078,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -997,7 +1104,10 @@ 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() { @@ -1007,6 +1117,8 @@ public Builder clearParent() { 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
@@ -1014,13 +1126,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1030,8 +1146,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).
@@ -1041,12 +1162,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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).
@@ -1056,6 +1180,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1066,6 +1191,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).
@@ -1090,6 +1217,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).
@@ -1100,8 +1229,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();
       } else {
@@ -1112,6 +1240,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).
@@ -1124,9 +1254,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1139,6 +1269,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).
@@ -1160,6 +1292,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).
@@ -1176,6 +1310,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       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).
@@ -1190,11 +1326,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).
@@ -1206,27 +1343,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_ & 0x00000004) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1245,13 +1389,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".
@@ -1270,12 +1416,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".
@@ -1294,6 +1443,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. */ @@ -1301,6 +1451,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".
@@ -1319,14 +1471,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".
@@ -1345,19 +1499,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypes(int index, java.lang.String value) { + if (value == null) { + 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".
@@ -1376,18 +1534,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypes(java.lang.String value) { + if (value == null) { + 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".
@@ -1406,18 +1568,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".
@@ -1436,6 +1599,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1445,6 +1609,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1463,12 +1629,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); @@ -1478,24 +1646,31 @@ 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. */ @@ -1506,26 +1681,33 @@ public Builder setContentTypeValue(int value) { 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() { - com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.forNumber(contentType_); + com.google.cloud.asset.v1p7beta1.ContentType result = + com.google.cloud.asset.v1p7beta1.ContentType.forNumber(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. */ @@ -1539,12 +1721,15 @@ public Builder setContentType(com.google.cloud.asset.v1p7beta1.ContentType value 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() { @@ -1556,42 +1741,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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) { @@ -1607,12 +1811,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) { @@ -1626,18 +1834,23 @@ 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 (((bitField0_ & 0x00000010) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && outputConfig_ != null + && outputConfig_ + != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -1650,12 +1863,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1668,12 +1885,16 @@ 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() { bitField0_ |= 0x00000010; @@ -1681,51 +1902,67 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuil 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_ & 0x00000020) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1740,13 +1977,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
@@ -1761,12 +2000,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
@@ -1781,6 +2023,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. */ @@ -1788,6 +2031,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
@@ -1802,14 +2047,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
@@ -1824,19 +2071,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRelationshipTypes(int index, java.lang.String value) { + if (value == null) { + 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
@@ -1851,18 +2102,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypes(java.lang.String value) { + if (value == null) { + 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
@@ -1877,18 +2132,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
@@ -1903,6 +2159,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -1912,6 +2169,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
@@ -1926,21 +2185,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -1950,12 +2211,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(); } @@ -1964,27 +2225,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1999,6 +2260,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java similarity index 86% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java index 068316c46c0b..909201e7a98f 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java similarity index 72% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java index 7c2afed7a837..71917cea235c 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java +++ b/java-asset/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,51 +31,55 @@
  *
  * 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;
   }
-  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 @@ -66,11 +87,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -78,6 +102,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -92,11 +118,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 @@ -104,18 +133,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.
    * 
@@ -124,12 +160,16 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } 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 Cloud Storage object URIs where the assets are
@@ -139,6 +179,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 @@ -146,6 +187,8 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Cloud Storage object URIs where the assets are
@@ -155,13 +198,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 Cloud Storage object URIs where the assets are
@@ -174,10 +222,13 @@ public com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult() {
    */
   @java.lang.Override
   public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrBuilder() {
-    return outputResult_ == null ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_;
+    return outputResult_ == null
+        ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()
+        : outputResult_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -189,8 +240,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (readTime_ != null) {
       output.writeMessage(1, getReadTime());
     }
@@ -210,16 +260,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -229,27 +276,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -280,96 +325,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]
@@ -380,33 +433,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +482,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
@@ -451,8 +503,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result =
+          new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -460,19 +515,15 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.outputConfig_ = outputConfigBuilder_ == null
-            ? outputConfig_
-            : outputConfigBuilder_.build();
+        result.outputConfig_ =
+            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.outputResult_ = outputResultBuilder_ == null
-            ? outputResult_
-            : outputResultBuilder_.build();
+        result.outputResult_ =
+            outputResultBuilder_ == null ? outputResult_ : outputResultBuilder_.build();
       }
     }
 
@@ -480,38 +531,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -519,7 +571,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());
       }
@@ -555,33 +608,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOutputConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getOutputResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getOutputResultFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -591,28 +642,38 @@ public Builder mergeFrom(
       } // finally
       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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -623,6 +684,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -643,14 +706,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(); } else { @@ -661,6 +725,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -669,9 +735,9 @@ public Builder setReadTime( */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - readTime_ != null && - readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && readTime_ != null + && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -684,6 +750,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -701,6 +769,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -713,6 +783,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -723,11 +795,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.
      * 
@@ -735,14 +808,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_; @@ -750,34 +826,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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.
      * 
@@ -798,6 +887,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -816,6 +907,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -824,9 +917,10 @@ public Builder setOutputConfig( */ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && outputConfig_ != null + && outputConfig_ + != com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -839,6 +933,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -856,6 +952,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -868,6 +966,8 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuil return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -878,11 +978,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.
      * 
@@ -890,14 +993,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_; @@ -905,8 +1011,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 Cloud Storage object URIs where the assets are
@@ -916,12 +1027,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -931,16 +1045,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 Cloud Storage object URIs where the assets are
@@ -965,6 +1084,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 Cloud Storage object URIs where the assets are
@@ -987,6 +1108,8 @@ public Builder setOutputResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -999,9 +1122,10 @@ public Builder setOutputResult(
      */
     public Builder mergeOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult value) {
       if (outputResultBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          outputResult_ != null &&
-          outputResult_ != com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && outputResult_ != null
+            && outputResult_
+                != com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()) {
           getOutputResultBuilder().mergeFrom(value);
         } else {
           outputResult_ = value;
@@ -1014,6 +1138,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 Cloud Storage object URIs where the assets are
@@ -1035,6 +1161,8 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -1051,6 +1179,8 @@ public com.google.cloud.asset.v1p7beta1.OutputResult.Builder getOutputResultBuil
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Cloud Storage object URIs where the assets are
@@ -1065,11 +1195,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 Cloud Storage object URIs where the assets are
@@ -1081,21 +1214,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);
     }
 
@@ -1105,12 +1241,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();
   }
@@ -1119,27 +1255,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExportAssetsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1154,6 +1290,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
index d2858c9e0e3d..cab5f29133c8 100644
--- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
+++ b/java-asset/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 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 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 Cloud Storage object URIs where the assets are
diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
similarity index 74%
rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
index e4d0dd257542..5a5168ef6ae6 100644
--- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
+++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
@@ -1,61 +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/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; } - 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; } @@ -71,25 +92,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
@@ -99,12 +125,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
@@ -114,6 +143,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -124,8 +154,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; @@ -134,6 +163,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
@@ -143,18 +174,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; } @@ -166,6 +196,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:
@@ -179,12 +211,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:
@@ -198,6 +233,7 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -208,8 +244,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; @@ -218,6 +253,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:
@@ -231,18 +268,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; } @@ -253,6 +289,7 @@ public java.lang.String getUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +301,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_); } @@ -295,22 +331,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: @@ -343,130 +378,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +518,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 @@ -498,8 +539,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.GcsDestination result = + new com.google.cloud.asset.v1p7beta1.GcsDestination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -518,38 +562,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.GcsDestination public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -557,23 +602,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.getUnknownFields()); onChanged(); @@ -601,24 +650,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -628,12 +680,12 @@ public Builder mergeFrom( } // finally 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() { @@ -646,6 +698,8 @@ public Builder clearObjectUri() { private int bitField0_; /** + * + * *
      * 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
@@ -655,6 +709,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -662,6 +717,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
@@ -671,6 +728,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -680,8 +738,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; @@ -692,6 +749,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
@@ -701,19 +760,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; } @@ -723,6 +781,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
@@ -732,18 +792,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUri(java.lang.String value) { + if (value == null) { + 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
@@ -753,6 +817,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -764,6 +829,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
@@ -773,12 +840,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); objectUriCase_ = 1; objectUri_ = value; @@ -787,6 +856,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:
@@ -800,6 +871,7 @@ public Builder setUriBytes(
      * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -807,6 +879,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:
@@ -820,6 +894,7 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ @java.lang.Override @@ -829,8 +904,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; @@ -841,6 +915,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:
@@ -854,19 +930,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; } @@ -876,6 +951,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:
@@ -889,18 +966,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriPrefix(java.lang.String value) { + if (value == null) { + 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:
@@ -914,6 +995,7 @@ public Builder setUriPrefix(
      * 
* * string uri_prefix = 2; + * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -925,6 +1007,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:
@@ -938,21 +1022,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -962,12 +1048,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(); } @@ -976,27 +1062,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java similarity index 82% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java index 6bd5a0e0584c..d80027fc32b2 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java similarity index 67% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java index fe3ebadc415d..57505b1ab320 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java @@ -1,88 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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; } - 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; + @SuppressWarnings("serial") 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. */ @@ -90,21 +118,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; @@ -116,8 +147,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)); } @@ -146,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,130 +205,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -309,9 +345,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 @@ -330,14 +366,18 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.GcsOutputResult result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p7beta1.GcsOutputResult result) { if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -353,38 +393,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.GcsOutputResult resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -392,7 +433,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_; @@ -429,18 +471,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,47 +494,58 @@ public Builder mergeFrom( } // finally 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. */ @@ -498,81 +553,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUris(int index, java.lang.String value) { + if (value == null) { + 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addUris(java.lang.String value) { + if (value == null) { + 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() { @@ -582,27 +651,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -612,12 +685,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(); } @@ -626,27 +699,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,6 +734,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java similarity index 62% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java index e88169e7d6f1..ed53d70af72e 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java similarity index 70% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java index 4cb7d65733ee..f3fb8ffa0117 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java @@ -1,61 +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/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; } - 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; } @@ -71,30 +92,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 @@ -102,21 +129,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.
    * 
@@ -126,19 +158,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 @@ -146,22 +181,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.
@@ -170,14 +210,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;
@@ -189,8 +231,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_);
     }
@@ -207,12 +248,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 += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -222,22 +265,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:
@@ -270,130 +312,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +458,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 @@ -431,8 +479,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.OutputConfig result = + new com.google.cloud.asset.v1p7beta1.OutputConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -445,12 +496,10 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.OutputConfig result) private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputConfig result) { result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; - if (destinationCase_ == 1 && - gcsDestinationBuilder_ != null) { + if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) { result.destination_ = gcsDestinationBuilder_.build(); } - if (destinationCase_ == 2 && - bigqueryDestinationBuilder_ != null) { + if (destinationCase_ == 2 && bigqueryDestinationBuilder_ != null) { result.destination_ = bigqueryDestinationBuilder_.build(); } } @@ -459,38 +508,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputConfig re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -500,17 +550,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.getUnknownFields()); onChanged(); @@ -538,26 +591,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); - destinationCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + destinationCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,12 +620,12 @@ public Builder mergeFrom( } // finally 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() { @@ -585,13 +638,19 @@ public Builder clearDestination() { private int bitField0_; 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 @@ -599,11 +658,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 @@ -621,6 +683,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -641,6 +705,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -659,6 +725,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -667,10 +735,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; } @@ -686,6 +758,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestinati return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -709,6 +783,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -719,6 +795,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -737,6 +815,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -744,14 +824,19 @@ 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()); @@ -763,14 +848,20 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } 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 @@ -778,12 +869,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 @@ -801,6 +895,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.
@@ -808,7 +904,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();
@@ -822,6 +919,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.
@@ -841,6 +940,8 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -848,12 +949,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;
         }
@@ -869,6 +975,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.
@@ -893,6 +1001,8 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -900,10 +1010,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.
@@ -912,7 +1025,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 {
@@ -923,6 +1037,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.
@@ -931,14 +1047,19 @@ 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());
@@ -948,9 +1069,9 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigquery
       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);
     }
 
@@ -960,12 +1081,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();
   }
@@ -974,27 +1095,27 @@ 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 {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public OutputConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1009,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
index 0e59d14707ee..36a0629db410 100644
--- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
+++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
similarity index 67%
rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
index 4ecd35be4173..87b61705fc99 100644
--- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
+++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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; } - 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; } @@ -70,29 +91,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 @@ -100,21 +126,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.
    * 
@@ -124,12 +155,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; @@ -141,8 +173,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_); } @@ -156,8 +187,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +199,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: @@ -207,130 +239,136 @@ 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() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +382,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 @@ -365,8 +403,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.OutputResult result = + new com.google.cloud.asset.v1p7beta1.OutputResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -379,8 +420,7 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.OutputResult result) private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputResult result) { result.resultCase_ = resultCase_; result.result_ = this.result_; - if (resultCase_ == 1 && - gcsResultBuilder_ != null) { + if (resultCase_ == 1 && gcsResultBuilder_ != null) { result.result_ = gcsResultBuilder_.build(); } } @@ -389,38 +429,39 @@ private void buildPartialOneofs(com.google.cloud.asset.v1p7beta1.OutputResult re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -430,13 +471,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.getUnknownFields()); onChanged(); @@ -464,19 +507,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcsResultFieldBuilder().getBuilder(), - extensionRegistry); - resultCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcsResultFieldBuilder().getBuilder(), extensionRegistry); + resultCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,12 +529,12 @@ public Builder mergeFrom( } // finally 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() { @@ -504,13 +547,19 @@ public Builder clearResult() { private int bitField0_; 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 @@ -518,11 +567,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 @@ -540,6 +592,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -560,6 +614,8 @@ public Builder setGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult val return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -578,6 +634,8 @@ public Builder setGcsResult( return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -586,10 +644,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; } @@ -605,6 +666,8 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult v return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -628,6 +691,8 @@ public Builder clearGcsResult() { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -638,6 +703,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder getGcsResultBuil return getGcsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -656,6 +723,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -663,14 +732,19 @@ 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()); @@ -680,9 +754,9 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB 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); } @@ -692,12 +766,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(); } @@ -706,27 +780,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java similarity index 61% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java index 84f878583beb..ac917385440d 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java similarity index 68% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java index 1531ef2eebef..0579f70d7e1b 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * 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.
      * 
@@ -70,6 +92,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,
@@ -82,6 +106,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
@@ -96,6 +122,8 @@ public enum PartitionKey
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -104,6 +132,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,
@@ -116,6 +146,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
@@ -127,7 +159,6 @@ public enum PartitionKey
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -152,49 +183,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;
@@ -214,30 +245,42 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   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; + * * @return The partitionKey. */ - @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.forNumber(partitionKey_); - return result == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.forNumber(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; @@ -249,9 +292,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_); } getUnknownFields().writeTo(output); @@ -263,9 +307,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,12 +320,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -301,130 +347,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +486,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 @@ -455,8 +507,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.PartitionSpec result = + new com.google.cloud.asset.v1p7beta1.PartitionSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -472,38 +527,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.PartitionSpec result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -541,17 +597,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - partitionKey_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + partitionKey_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,26 +619,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. */ @@ -591,28 +657,38 @@ public Builder setPartitionKeyValue(int value) { 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() { - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.forNumber(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.forNumber(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(); } @@ -622,11 +698,14 @@ public Builder setPartitionKey(com.google.cloud.asset.v1p7beta1.PartitionSpec.Pa 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() { @@ -635,9 +714,9 @@ public Builder clearPartitionKey() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -647,12 +726,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(); } @@ -661,27 +740,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -696,6 +775,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java similarity index 56% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java index 0de671bc2e18..80414f9af8bd 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java similarity index 75% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java index 105d6a201585..c318107fa3cf 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java +++ b/java-asset/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,33 +52,37 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object asset_ = "";
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -70,6 +92,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ @java.lang.Override @@ -78,14 +101,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`
@@ -95,16 +119,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 { @@ -113,9 +136,12 @@ public java.lang.String getAsset() { } public static final int ASSET_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object assetType_ = ""; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -124,6 +150,7 @@ public java.lang.String getAsset() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -132,14 +159,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
@@ -148,16 +176,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 { @@ -166,9 +193,12 @@ public java.lang.String getAssetType() { } public static final int ANCESTORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") 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),
@@ -178,13 +208,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),
@@ -194,12 +226,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),
@@ -209,6 +244,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -216,6 +252,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),
@@ -225,15 +263,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; @@ -245,8 +284,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_); } @@ -287,19 +325,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,97 +360,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
@@ -428,33 +471,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -467,9 +509,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
@@ -488,9 +530,12 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -517,38 +562,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelatedAsset result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -603,28 +649,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              asset_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              assetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                asset_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                assetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -634,10 +684,13 @@ public Builder mergeFrom(
       } // finally
       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`
@@ -647,13 +700,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; @@ -662,6 +715,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -671,15 +726,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 { @@ -687,6 +741,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -696,18 +752,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsset(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } asset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -717,6 +777,7 @@ public Builder setAsset(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -726,6 +787,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -735,12 +798,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); asset_ = value; bitField0_ |= 0x00000001; @@ -750,6 +815,8 @@ public Builder setAssetBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -758,13 +825,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; @@ -773,6 +840,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -781,15 +850,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 { @@ -797,6 +865,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -805,18 +875,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } assetType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -825,6 +899,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -834,6 +909,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -842,12 +919,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); assetType_ = value; bitField0_ |= 0x00000002; @@ -855,14 +934,18 @@ public Builder setAssetTypeBytes( 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_ & 0x00000004) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -872,13 +955,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),
@@ -888,12 +973,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),
@@ -903,6 +991,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -910,6 +999,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),
@@ -919,14 +1010,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),
@@ -936,19 +1029,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestors(int index, java.lang.String value) { + if (value == null) { + 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),
@@ -958,18 +1055,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestors(java.lang.String value) { + if (value == null) { + 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),
@@ -979,18 +1080,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),
@@ -1000,6 +1102,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 3; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1009,6 +1112,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),
@@ -1018,21 +1123,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) { - if (value == null) { throw new NullPointerException(); } + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + 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); } @@ -1042,12 +1149,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(); } @@ -1056,27 +1163,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1091,6 +1198,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java similarity index 80% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java index 584ef775ccf2..8e4a2d70e655 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java similarity index 69% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java index 2f2ac431b783..3d396feb1d67 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - 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 @@ -63,18 +85,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.
    * 
@@ -82,14 +111,20 @@ 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() { - return relationshipAttributes_ == null ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder() { + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } public static final int ASSETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -101,6 +136,8 @@ public java.util.List getAssetsLi return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -108,11 +145,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.
    * 
@@ -124,6 +163,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -135,6 +176,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -142,12 +185,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; @@ -159,8 +202,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()); } @@ -177,12 +219,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,20 +233,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,130 +270,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +420,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 @@ -395,9 +441,12 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -417,9 +466,10 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p7beta1.Related private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelatedAssets result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.relationshipAttributes_ = relationshipAttributesBuilder_ == null - ? relationshipAttributes_ - : relationshipAttributesBuilder_.build(); + result.relationshipAttributes_ = + relationshipAttributesBuilder_ == null + ? relationshipAttributes_ + : relationshipAttributesBuilder_.build(); } } @@ -427,38 +477,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelatedAssets result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -488,9 +539,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.RelatedAssets other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000002); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -522,32 +574,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRelationshipAttributesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.asset.v1p7beta1.RelatedAsset m = - input.readMessage( - com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), - extensionRegistry); - if (assetsBuilder_ == null) { - ensureAssetsIsMutable(); - assets_.add(m); - } else { - assetsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getRelationshipAttributesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.asset.v1p7beta1.RelatedAsset m = + input.readMessage( + com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), extensionRegistry); + if (assetsBuilder_ == null) { + ensureAssetsIsMutable(); + assets_.add(m); + } else { + assetsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,45 +610,63 @@ public Builder mergeFrom( } // finally 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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * 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(); @@ -609,11 +680,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) { @@ -627,17 +701,22 @@ 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 (((bitField0_ & 0x00000001) != 0) && - relationshipAttributes_ != null && - relationshipAttributes_ != com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && relationshipAttributes_ != null + && relationshipAttributes_ + != com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance()) { getRelationshipAttributesBuilder().mergeFrom(value); } else { relationshipAttributes_ = value; @@ -650,11 +729,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -667,66 +749,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() { bitField0_ |= 0x00000001; 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_ & 0x00000002) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000002; - } + } } 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.
      * 
@@ -741,6 +844,8 @@ public java.util.List getAssetsLi } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -755,6 +860,8 @@ public int getAssetsCount() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -769,14 +876,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(); @@ -790,6 +898,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -808,6 +918,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -828,14 +940,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(); @@ -849,6 +962,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -867,6 +982,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -885,6 +1002,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -895,8 +1014,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); @@ -904,6 +1022,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -921,6 +1041,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -938,39 +1060,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 { @@ -978,6 +1105,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -985,49 +1114,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_ & 0x00000002) != 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_ & 0x00000002) != 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); } @@ -1037,12 +1172,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(); } @@ -1051,27 +1186,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1086,6 +1221,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java similarity index 72% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java index 209d5d21f46a..a3ac416cd3fc 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java similarity index 70% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java index 8a4e6797dc86..2f2d96507fea 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java +++ b/java-asset/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,39 +47,44 @@ 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;
   }
-  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;
+
   @SuppressWarnings("serial")
   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 @@ -70,30 +93,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 { @@ -102,14 +125,18 @@ public java.lang.String getType() { } public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") 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 @@ -118,29 +145,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 { @@ -149,14 +176,18 @@ public java.lang.String getSourceResourceType() { } public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") 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 @@ -165,29 +196,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 { @@ -196,14 +227,18 @@ public java.lang.String getTargetResourceType() { } public static final int ACTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object action_ = ""; /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The action. */ @java.lang.Override @@ -212,29 +247,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 { @@ -243,6 +278,7 @@ public java.lang.String getAction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,8 +290,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_); } @@ -297,21 +332,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,96 +369,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`.
@@ -434,33 +474,32 @@ 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()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -473,9 +512,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
@@ -494,8 +533,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1p7beta1.RelationshipAttributes result =
+          new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -520,38 +562,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.RelationshipAttribut
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -559,7 +602,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_;
         bitField0_ |= 0x00000001;
@@ -606,32 +650,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              sourceResourceType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              targetResourceType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              action_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              type_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                sourceResourceType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                targetResourceType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                action_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -641,23 +690,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     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; @@ -666,21 +718,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 { @@ -688,30 +741,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000001; 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() { @@ -721,18 +781,22 @@ public Builder clearType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000001; @@ -742,18 +806,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; @@ -762,20 +828,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 { @@ -783,28 +850,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceResourceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceResourceType_ = value; bitField0_ |= 0x00000002; 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() { @@ -814,17 +888,21 @@ public Builder clearSourceResourceType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceResourceType_ = value; bitField0_ |= 0x00000002; @@ -834,18 +912,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; @@ -854,20 +934,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 { @@ -875,28 +956,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetResourceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } targetResourceType_ = value; bitField0_ |= 0x00000004; 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() { @@ -906,17 +994,21 @@ public Builder clearTargetResourceType() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); targetResourceType_ = value; bitField0_ |= 0x00000004; @@ -926,18 +1018,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; @@ -946,20 +1040,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 { @@ -967,28 +1062,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return This builder for chaining. */ public Builder clearAction() { @@ -998,26 +1100,30 @@ public Builder clearAction() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +1133,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(); } @@ -1041,27 +1147,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1076,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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java similarity index 66% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java index 1f2a45eb68e5..8df443f22816 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java similarity index 75% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java index 88446e3eae4e..47ba019d73b5 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java +++ b/java-asset/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,38 +48,43 @@ 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; } - 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; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -70,29 +93,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 { @@ -101,9 +124,12 @@ public java.lang.String getVersion() { } public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -113,6 +139,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -121,14 +148,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:
@@ -138,16 +166,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 { @@ -156,9 +183,12 @@ public java.lang.String getDiscoveryDocumentUri() { } public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object discoveryName_ = ""; /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -167,6 +197,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -175,14 +206,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`
@@ -191,16 +223,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 { @@ -209,9 +240,12 @@ public java.lang.String getDiscoveryName() { } public static final int RESOURCE_URL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") 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:
@@ -220,6 +254,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -228,14 +263,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:
@@ -244,16 +280,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 { @@ -262,9 +297,12 @@ public java.lang.String getResourceUrl() { } public static final int PARENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -279,6 +317,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -287,14 +326,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
@@ -309,16 +349,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 { @@ -329,12 +368,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 @@ -342,12 +384,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 @@ -355,6 +400,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.
@@ -368,15 +415,19 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   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 @@ -385,30 +436,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 { @@ -417,6 +468,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -428,8 +480,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_); } @@ -476,8 +527,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_); @@ -490,30 +540,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -546,130 +590,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -689,9 +739,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 @@ -710,8 +760,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.Resource result = + new com.google.cloud.asset.v1p7beta1.Resource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -734,9 +787,7 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Resource result) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.data_ = dataBuilder_ == null - ? data_ - : dataBuilder_.build(); + result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.location_ = location_; @@ -747,38 +798,39 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Resource result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -846,49 +898,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - discoveryDocumentUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - discoveryName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - resourceUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getDataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 66: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + discoveryDocumentUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + discoveryName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + resourceUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -898,22 +956,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -922,20 +983,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 { @@ -943,28 +1005,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -974,17 +1043,21 @@ public Builder clearVersion() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -994,6 +1067,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1003,13 +1078,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; @@ -1018,6 +1093,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1027,15 +1104,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 { @@ -1043,6 +1119,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1052,18 +1130,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1073,6 +1155,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1082,6 +1165,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1091,12 +1176,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryDocumentUri_ = value; bitField0_ |= 0x00000002; @@ -1106,6 +1193,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1114,13 +1203,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; @@ -1129,6 +1218,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1137,15 +1228,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 { @@ -1153,6 +1243,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1161,18 +1253,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } discoveryName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1181,6 +1277,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1190,6 +1287,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1198,12 +1297,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); discoveryName_ = value; bitField0_ |= 0x00000004; @@ -1213,6 +1314,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:
@@ -1221,13 +1324,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; @@ -1236,6 +1339,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:
@@ -1244,15 +1349,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 { @@ -1260,6 +1364,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:
@@ -1268,18 +1374,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceUrl_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1288,6 +1398,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1297,6 +1408,8 @@ public Builder clearResourceUrl() { return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1305,12 +1418,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceUrl_ = value; bitField0_ |= 0x00000008; @@ -1320,6 +1435,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1334,13 +1451,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; @@ -1349,6 +1466,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1363,15 +1482,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 { @@ -1379,6 +1497,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1393,18 +1513,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1419,6 +1543,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1428,6 +1553,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1442,12 +1569,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1457,26 +1586,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 ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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() { @@ -1487,6 +1625,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1508,6 +1648,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.
@@ -1515,8 +1657,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();
       } else {
@@ -1527,6 +1668,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1536,9 +1679,9 @@ public Builder setData(
      */
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          data_ != null &&
-          data_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && data_ != null
+            && data_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDataBuilder().mergeFrom(value);
         } else {
           data_ = value;
@@ -1551,6 +1694,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.
@@ -1569,6 +1714,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1582,6 +1729,8 @@ public com.google.protobuf.Struct.Builder getDataBuilder() {
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1593,11 +1742,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.
@@ -1606,14 +1756,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_;
@@ -1621,19 +1773,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; @@ -1642,21 +1796,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 { @@ -1664,30 +1819,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; 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() { @@ -1697,27 +1859,31 @@ public Builder clearLocation() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1727,12 +1893,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(); } @@ -1741,27 +1907,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1776,6 +1942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java similarity index 82% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java index 6c78907e77e5..698c2d7a74ac 100644 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java +++ b/java-asset/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/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto rename to java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPolicies.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/AsyncAnalyzeOrgPoliciesPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPolicies.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicies/SyncAnalyzeOrgPoliciesStringStringString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/AsyncAnalyzeOrgPolicyGovernedAssetsPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedassets/SyncAnalyzeOrgPolicyGovernedAssetsStringStringString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainers.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/AsyncAnalyzeOrgPolicyGovernedContainersPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainers.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/analyzeorgpolicygovernedcontainers/SyncAnalyzeOrgPolicyGovernedContainersStringStringString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/AsyncCreateSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/AsyncDeleteSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/deletesavedquery/SyncDeleteSavedQueryString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/AsyncGetSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQuerySavedqueryname.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/getsavedquery/SyncGetSavedQueryString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueries.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/AsyncListSavedQueriesPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueries.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesFoldername.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesOrganizationname.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesProjectname.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/listsavedqueries/SyncListSavedQueriesString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/AsyncQueryAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/queryassets/SyncQueryAssets.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/AsyncUpdateSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuery.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservice/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/java-asset/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResources.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/AsyncCreateFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/createfeed/SyncCreateFeedString.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/AsyncDeleteFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedFeedname.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/deletefeed/SyncDeleteFeedString.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/AsyncGetFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedFeedname.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/getfeed/SyncGetFeedString.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/AsyncListFeeds.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeeds.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/listfeeds/SyncListFeedsString.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/AsyncUpdateFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservice/updatefeed/SyncUpdateFeedFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssets.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/AsyncListAssetsPaged.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssets.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsResourcename.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservice/listassets/SyncListAssetsString.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java diff --git a/owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssets.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/AsyncExportAssetsLRO.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservice/exportassets/SyncExportAssets.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/assetservicesettings/exportassets/SyncExportAssets.java diff --git a/owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java rename to java-asset/samples/snippets/generated/com/google/cloud/asset/v1p7beta1/stub/assetservicestubsettings/exportassets/SyncExportAssets.java diff --git a/owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java deleted file mode 100644 index b651e3edf0e2..000000000000 --- a/owl-bot-staging/java-asset/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java +++ /dev/null @@ -1,2475 +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 getQueryAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryAssets", - requestType = com.google.cloud.asset.v1.QueryAssetsRequest.class, - responseType = com.google.cloud.asset.v1.QueryAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryAssetsMethod() { - io.grpc.MethodDescriptor getQueryAssetsMethod; - if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getQueryAssetsMethod = AssetServiceGrpc.getQueryAssetsMethod) == null) { - AssetServiceGrpc.getQueryAssetsMethod = getQueryAssetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.QueryAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.QueryAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("QueryAssets")) - .build(); - } - } - } - return getQueryAssetsMethod; - } - - 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; - } - - private static volatile io.grpc.MethodDescriptor getAnalyzeOrgPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicies", - requestType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeOrgPoliciesMethod() { - io.grpc.MethodDescriptor getAnalyzeOrgPoliciesMethod; - if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeOrgPoliciesMethod = AssetServiceGrpc.getAnalyzeOrgPoliciesMethod) == null) { - AssetServiceGrpc.getAnalyzeOrgPoliciesMethod = getAnalyzeOrgPoliciesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicies")) - .build(); - } - } - } - return getAnalyzeOrgPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedContainersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedContainers", - requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedContainersMethod() { - io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedContainersMethod; - if ((getAnalyzeOrgPolicyGovernedContainersMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeOrgPolicyGovernedContainersMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod) == null) { - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedContainersMethod = getAnalyzeOrgPolicyGovernedContainersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicyGovernedContainers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicyGovernedContainers")) - .build(); - } - } - } - return getAnalyzeOrgPolicyGovernedContainersMethod; - } - - private static volatile io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeOrgPolicyGovernedAssets", - requestType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedAssetsMethod() { - io.grpc.MethodDescriptor getAnalyzeOrgPolicyGovernedAssetsMethod; - if ((getAnalyzeOrgPolicyGovernedAssetsMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeOrgPolicyGovernedAssetsMethod = AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod) == null) { - AssetServiceGrpc.getAnalyzeOrgPolicyGovernedAssetsMethod = getAnalyzeOrgPolicyGovernedAssetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeOrgPolicyGovernedAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeOrgPolicyGovernedAssets")) - .build(); - } - } - } - return getAnalyzeOrgPolicyGovernedAssetsMethod; - } - - /** - * 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 interface AsyncService { - - /** - *
-     * 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - - /** - *
-     * Searches all Google 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeMoveMethod(), responseObserver); - } - - /** - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - default void queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryAssetsMethod(), responseObserver); - } - - /** - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetEffectiveIamPoliciesMethod(), responseObserver); - } - - /** - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - default void analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeOrgPoliciesMethod(), responseObserver); - } - - /** - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - default void analyzeOrgPolicyGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeOrgPolicyGovernedContainersMethod(), responseObserver); - } - - /** - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - default void analyzeOrgPolicyGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AssetService. - *
-   * Asset service definition.
-   * 
- */ - public static abstract class AssetServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AssetServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AssetService. - *
-   * 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 Google 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); - } - - /** - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - public void queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryAssetsMethod(), 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); - } - - /** - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - public void analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - public void analyzeOrgPolicyGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - public void analyzeOrgPolicyGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AssetService. - *
-   * 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 Google 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); - } - - /** - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - public com.google.cloud.asset.v1.QueryAssetsResponse queryAssets(com.google.cloud.asset.v1.QueryAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryAssetsMethod(), 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); - } - - /** - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse analyzeOrgPolicies(com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeOrgPoliciesMethod(), getCallOptions(), request); - } - - /** - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse analyzeOrgPolicyGovernedContainers(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions(), request); - } - - /** - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse analyzeOrgPolicyGovernedAssets(com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeOrgPolicyGovernedAssetsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - *
-   * 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 Google 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); - } - - /** - *
-     * Issue a job that queries assets using a SQL statement compatible with
-     * [BigQuery Standard
-     * SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
-     * If the query execution finishes within timeout and there's no pagination,
-     * the full query results will be returned in the `QueryAssetsResponse`.
-     * Otherwise, full query results can be obtained by issuing extra requests
-     * with the `job_reference` from the a previous `QueryAssets` call.
-     * Note, the query result has approximately 10 GB limitation enforced by
-     * BigQuery
-     * https://cloud.google.com/bigquery/docs/best-practices-performance-output,
-     * queries return larger results will result in errors.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryAssets( - com.google.cloud.asset.v1.QueryAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryAssetsMethod(), 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); - } - - /** - *
-     * Analyzes organization policies under a scope.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeOrgPolicies( - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeOrgPoliciesMethod(), getCallOptions()), request); - } - - /** - *
-     * Analyzes organization policies governed containers (projects, folders or
-     * organization) under a scope.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeOrgPolicyGovernedContainers( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedContainersMethod(), getCallOptions()), request); - } - - /** - *
-     * Analyzes organization policies governed assets (Google Cloud resources or
-     * policies) under a scope. This RPC supports custom constraints and the
-     * following 10 canned constraints:
-     * * storage.uniformBucketLevelAccess
-     * * iam.disableServiceAccountKeyCreation
-     * * iam.allowedPolicyMemberDomains
-     * * compute.vmExternalIpAccess
-     * * appengine.enforceServiceAccountActAsCheck
-     * * gcp.resourceLocations
-     * * compute.trustedImageProjects
-     * * compute.skipDefaultNetworkCreation
-     * * compute.requireOsLogin
-     * * compute.disableNestedVirtualization
-     * This RPC only returns either resources of types supported by [searchable
-     * asset
-     * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types),
-     * or IAM policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeOrgPolicyGovernedAssets( - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeOrgPolicyGovernedAssetsMethod(), 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_QUERY_ASSETS = 13; - private static final int METHODID_CREATE_SAVED_QUERY = 14; - private static final int METHODID_GET_SAVED_QUERY = 15; - private static final int METHODID_LIST_SAVED_QUERIES = 16; - private static final int METHODID_UPDATE_SAVED_QUERY = 17; - private static final int METHODID_DELETE_SAVED_QUERY = 18; - private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 19; - private static final int METHODID_ANALYZE_ORG_POLICIES = 20; - private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS = 21; - private static final int METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS = 22; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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_QUERY_ASSETS: - serviceImpl.queryAssets((com.google.cloud.asset.v1.QueryAssetsRequest) 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; - case METHODID_ANALYZE_ORG_POLICIES: - serviceImpl.analyzeOrgPolicies((com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS: - serviceImpl.analyzeOrgPolicyGovernedContainers((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS: - serviceImpl.analyzeOrgPolicyGovernedAssets((com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExportAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ExportAssetsRequest, - com.google.longrunning.Operation>( - service, METHODID_EXPORT_ASSETS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListAssetsRequest, - com.google.cloud.asset.v1.ListAssetsResponse>( - service, METHODID_LIST_ASSETS))) - .addMethod( - getBatchGetAssetsHistoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( - service, 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>( - service, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.GetFeedRequest, - com.google.cloud.asset.v1.Feed>( - service, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListFeedsRequest, - com.google.cloud.asset.v1.ListFeedsResponse>( - service, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.UpdateFeedRequest, - com.google.cloud.asset.v1.Feed>( - service, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteFeedRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_FEED))) - .addMethod( - getSearchAllResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse>( - service, 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>( - service, 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>( - service, METHODID_ANALYZE_IAM_POLICY))) - .addMethod( - getAnalyzeIamPolicyLongrunningMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation>( - service, 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>( - service, METHODID_ANALYZE_MOVE))) - .addMethod( - getQueryAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.QueryAssetsRequest, - com.google.cloud.asset.v1.QueryAssetsResponse>( - service, METHODID_QUERY_ASSETS))) - .addMethod( - getCreateSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.CreateSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_UPDATE_SAVED_QUERY))) - .addMethod( - getDeleteSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, - com.google.protobuf.Empty>( - service, 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>( - service, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) - .addMethod( - getAnalyzeOrgPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, - com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse>( - service, METHODID_ANALYZE_ORG_POLICIES))) - .addMethod( - getAnalyzeOrgPolicyGovernedContainersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse>( - service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_CONTAINERS))) - .addMethod( - getAnalyzeOrgPolicyGovernedAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, - com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse>( - service, METHODID_ANALYZE_ORG_POLICY_GOVERNED_ASSETS))) - .build(); - } - - 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(getQueryAssetsMethod()) - .addMethod(getCreateSavedQueryMethod()) - .addMethod(getGetSavedQueryMethod()) - .addMethod(getListSavedQueriesMethod()) - .addMethod(getUpdateSavedQueryMethod()) - .addMethod(getDeleteSavedQueryMethod()) - .addMethod(getBatchGetEffectiveIamPoliciesMethod()) - .addMethod(getAnalyzeOrgPoliciesMethod()) - .addMethod(getAnalyzeOrgPolicyGovernedContainersMethod()) - .addMethod(getAnalyzeOrgPolicyGovernedAssetsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java deleted file mode 100644 index e2d8e4d0037f..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java deleted file mode 100644 index 7d94de01635c..000000000000 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzerOrgPolicyConstraintOrBuilder.java +++ /dev/null @@ -1,65 +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 AnalyzerOrgPolicyConstraintOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzerOrgPolicyConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The definition of the canned constraint defined by Google.
-   * 
- * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * @return Whether the googleDefinedConstraint field is set. - */ - boolean hasGoogleDefinedConstraint(); - /** - *
-   * The definition of the canned constraint defined by Google.
-   * 
- * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - * @return The googleDefinedConstraint. - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint(); - /** - *
-   * The definition of the canned constraint defined by Google.
-   * 
- * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder(); - - /** - *
-   * The definition of the custom constraint.
-   * 
- * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * @return Whether the customConstraint field is set. - */ - boolean hasCustomConstraint(); - /** - *
-   * The definition of the custom constraint.
-   * 
- * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - * @return The customConstraint. - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint(); - /** - *
-   * The definition of the custom constraint.
-   * 
- * - * .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; - */ - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder(); - - public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase getConstraintDefinitionCase(); -} diff --git a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java deleted file mode 100644 index 827b5e487605..000000000000 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java +++ /dev/null @@ -1,505 +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\"\310\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\023\n\007kms_key\030\n \001(\tB\002\030\001\022\020\n\010kms_ke" + - "ys\030\034 \003(\t\022/\n\013create_time\030\013 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022/\n\013update_time\030\014 \001(\0132\032" + - ".google.protobuf.Timestamp\022\r\n\005state\030\r \001(" + - "\t\0226\n\025additional_attributes\030\t \001(\0132\027.googl" + - "e.protobuf.Struct\022!\n\031parent_full_resourc" + - "e_name\030\023 \001(\t\022E\n\023versioned_resources\030\020 \003(" + - "\0132(.google.cloud.asset.v1.VersionedResou" + - "rce\022C\n\022attached_resources\030\024 \003(\0132\'.google" + - ".cloud.asset.v1.AttachedResource\022U\n\rrela" + - "tionships\030\025 \003(\0132>.google.cloud.asset.v1." + - "ResourceSearchResult.RelationshipsEntry\022" + - "\020\n\010tag_keys\030\027 \003(\t\022\022\n\ntag_values\030\031 \003(\t\022\025\n" + - "\rtag_value_ids\030\032 \003(\t\022\031\n\021parent_asset_typ" + - "e\030g \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t:\0028\001\032]\n\022RelationshipsEntry\022\013\n\003" + - "key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud." + - "asset.v1.RelatedResources:\0028\001\"O\n\021Version" + - "edResource\022\017\n\007version\030\001 \001(\t\022)\n\010resource\030" + - "\002 \001(\0132\027.google.protobuf.Struct\"m\n\020Attach" + - "edResource\022\022\n\nasset_type\030\001 \001(\t\022E\n\023versio" + - "ned_resources\030\003 \003(\0132(.google.cloud.asset" + - ".v1.VersionedResource\"U\n\020RelatedResource" + - "s\022A\n\021related_resources\030\001 \003(\0132&.google.cl" + - "oud.asset.v1.RelatedResource\"A\n\017RelatedR" + - "esource\022\022\n\nasset_type\030\001 \001(\t\022\032\n\022full_reso" + - "urce_name\030\002 \001(\t\"\217\004\n\025IamPolicySearchResul" + - "t\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\007folders\030\006 \003(\t\022\024\n\014org" + - "anization\030\007 \001(\t\022%\n\006policy\030\003 \001(\0132\025.google" + - ".iam.v1.Policy\022M\n\013explanation\030\004 \001(\01328.go" + - "ogle.cloud.asset.v1.IamPolicySearchResul" + - "t.Explanation\032\241\002\n\013Explanation\022m\n\023matched" + - "_permissions\030\001 \003(\0132P.google.cloud.asset." + - "v1.IamPolicySearchResult.Explanation.Mat" + - "chedPermissionsEntry\032\"\n\013Permissions\022\023\n\013p" + - "ermissions\030\001 \003(\t\032\177\n\027MatchedPermissionsEn" + - "try\022\013\n\003key\030\001 \001(\t\022S\n\005value\030\002 \001(\0132D.google" + - ".cloud.asset.v1.IamPolicySearchResult.Ex" + - "planation.Permissions:\0028\001\"G\n\026IamPolicyAn" + - "alysisState\022\036\n\004code\030\001 \001(\0162\020.google.rpc.C" + - "ode\022\r\n\005cause\030\002 \001(\t\"\306\001\n\023ConditionEvaluati" + - "on\022T\n\020evaluation_value\030\001 \001(\0162:.google.cl" + - "oud.asset.v1.ConditionEvaluation.Evaluat" + - "ionValue\"Y\n\017EvaluationValue\022 \n\034EVALUATIO" + - "N_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\027IamPolicyAnalysi" + - "sResult\022#\n\033attached_resource_full_name\030\001" + - " \001(\t\022+\n\013iam_binding\030\002 \001(\0132\026.google.iam.v" + - "1.Binding\022^\n\024access_control_lists\030\003 \003(\0132" + - "@.google.cloud.asset.v1.IamPolicyAnalysi" + - "sResult.AccessControlList\022R\n\ridentity_li" + - "st\030\004 \001(\0132;.google.cloud.asset.v1.IamPoli" + - "cyAnalysisResult.IdentityList\022\026\n\016fully_e" + - "xplored\030\005 \001(\010\032m\n\010Resource\022\032\n\022full_resour" + - "ce_name\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-." + - "google.cloud.asset.v1.IamPolicyAnalysisS" + - "tate\032\205\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermi" + - "ssion\030\002 \001(\tH\000\022E\n\016analysis_state\030\003 \001(\0132-." + - "google.cloud.asset.v1.IamPolicyAnalysisS" + - "tateB\016\n\014oneof_access\032_\n\010Identity\022\014\n\004name" + - "\030\001 \001(\t\022E\n\016analysis_state\030\002 \001(\0132-.google." + - "cloud.asset.v1.IamPolicyAnalysisState\0320\n" + - "\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_nod" + - "e\030\002 \001(\t\032\277\002\n\021AccessControlList\022J\n\tresourc" + - "es\030\001 \003(\01327.google.cloud.asset.v1.IamPoli" + - "cyAnalysisResult.Resource\022G\n\010accesses\030\002 " + - "\003(\01325.google.cloud.asset.v1.IamPolicyAna" + - "lysisResult.Access\022K\n\016resource_edges\030\003 \003" + - "(\01323.google.cloud.asset.v1.IamPolicyAnal" + - "ysisResult.Edge\022H\n\024condition_evaluation\030" + - "\004 \001(\0132*.google.cloud.asset.v1.ConditionE" + - "valuation\032\245\001\n\014IdentityList\022K\n\nidentities" + - "\030\001 \003(\01327.google.cloud.asset.v1.IamPolicy" + - "AnalysisResult.Identity\022H\n\013group_edges\030\002" + - " \003(\01323.google.cloud.asset.v1.IamPolicyAn" + - "alysisResult.EdgeB\215\001\n\031com.google.cloud.a" + - "sset.v1B\nAssetProtoP\001Z/cloud.google.com/" + - "go/asset/apiv1/assetpb;assetpb\370\001\001\252\002\025Goog" + - "le.Cloud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V" + - "1b\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", "KmsKeys", "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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java deleted file mode 100644 index f22e2e60b9c2..000000000000 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java +++ /dev/null @@ -1,1474 +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_QueryAssetsOutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_QueryResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_TableSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TableFieldSchema_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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_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\034google/protobuf/struc" + - "t.proto\032\037google/protobuf/timestamp.proto" + - "\032\027google/rpc/status.proto\032\026google/type/e" + - "xpr.proto\"[\n#AnalyzeIamPolicyLongrunning" + - "Metadata\0224\n\013create_time\030\001 \001(\0132\032.google.p" + - "rotobuf.TimestampB\003\340A\003\"\251\002\n\023ExportAssetsR" + - "equest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudass" + - "et.googleapis.com/Asset\022-\n\tread_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\".goog" + - "le.cloud.asset.v1.ContentType\022?\n\routput_" + - "config\030\005 \001(\0132#.google.cloud.asset.v1.Out" + - "putConfigB\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.Timestamp\022:\n\rou" + - "tput_config\030\002 \001(\0132#.google.cloud.asset.v" + - "1.OutputConfig\022:\n\routput_result\030\003 \001(\0132#." + - "google.cloud.asset.v1.OutputResult\"\215\002\n\021L" + - "istAssetsRequest\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" + - "\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\t\022\032" + - "\n\022relationship_types\030\007 \003(\t\"\212\001\n\022ListAsset" + - "sResponse\022-\n\tread_time\030\001 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022,\n\006assets\030\002 \003(\0132\034.googl" + - "e.cloud.asset.v1.Asset\022\027\n\017next_page_toke" + - "n\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHistoryRequest" + - "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.goo" + - "gleapis.com/Asset\022\023\n\013asset_names\030\002 \003(\t\022=" + - "\n\014content_type\030\003 \001(\0162\".google.cloud.asse" + - "t.v1.ContentTypeB\003\340A\001\022@\n\020read_time_windo" + - "w\030\004 \001(\0132!.google.cloud.asset.v1.TimeWind" + - "owB\003\340A\001\022\037\n\022relationship_types\030\005 \003(\tB\003\340A\001" + - "\"U\n\035BatchGetAssetsHistoryResponse\0224\n\006ass" + - "ets\030\001 \003(\0132$.google.cloud.asset.v1.Tempor" + - "alAsset\"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/Feed\"\'\n\020ListF" + - "eedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"?\n\021List" + - "FeedsResponse\022*\n\005feeds\030\001 \003(\0132\033.google.cl" + - "oud.asset.v1.Feed\"y\n\021UpdateFeedRequest\022." + - "\n\004feed\030\001 \001(\0132\033.google.cloud.asset.v1.Fee" + - "dB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pro" + - "tobuf.FieldMaskB\003\340A\002\"I\n\021DeleteFeedReques" + - "t\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.goog" + - "leapis.com/Feed\"\253\001\n\014OutputConfig\022@\n\017gcs_" + - "destination\030\001 \001(\0132%.google.cloud.asset.v" + - "1.GcsDestinationH\000\022J\n\024bigquery_destinati" + - "on\030\002 \001(\0132*.google.cloud.asset.v1.BigQuer" + - "yDestinationH\000B\r\n\013destination\"V\n\014OutputR" + - "esult\022<\n\ngcs_result\030\001 \001(\0132&.google.cloud" + - ".asset.v1.GcsOutputResultH\000B\010\n\006result\"\037\n" + - "\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t\"C\n\016GcsDes" + - "tination\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\023BigQueryDestinat" + - "ion\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\t" + - "B\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partition_spec\030\004" + - " \001(\0132$.google.cloud.asset.v1.PartitionSp" + - "ec\022&\n\036separate_tables_per_asset_type\030\005 \001" + - "(\010\"\251\001\n\rPartitionSpec\022H\n\rpartition_key\030\001 " + - "\001(\01621.google.cloud.asset.v1.PartitionSpe" + - "c.PartitionKey\"N\n\014PartitionKey\022\035\n\031PARTIT" + - "ION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014" + - "REQUEST_TIME\020\002\"\"\n\021PubsubDestination\022\r\n\005t" + - "opic\030\001 \001(\t\"i\n\020FeedOutputConfig\022F\n\022pubsub" + - "_destination\030\001 \001(\0132(.google.cloud.asset." + - "v1.PubsubDestinationH\000B\r\n\013destination\"\235\003" + - "\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\0228\n\014content_t" + - "ype\030\004 \001(\0162\".google.cloud.asset.v1.Conten" + - "tType\022H\n\022feed_output_config\030\005 \001(\0132\'.goog" + - "le.cloud.asset.v1.FeedOutputConfigB\003\340A\002\022" + - "$\n\tcondition\030\006 \001(\0132\021.google.type.Expr\022\032\n" + - "\022relationship_types\030\007 \003(\t:\221\001\352A\215\001\n\036clouda" + - "sset.googleapis.com/Feed\022\037projects/{proj" + - "ect}/feeds/{feed}\022\035folders/{folder}/feed" + - "s/{feed}\022)organizations/{organization}/f" + - "eeds/{feed} \001\"\331\001\n\031SearchAllResourcesRequ" + - "est\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_si" + - "ze\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(\013" + - "2\032.google.protobuf.FieldMaskB\003\340A\001\"s\n\032Sea" + - "rchAllResourcesResponse\022<\n\007results\030\001 \003(\013" + - "2+.google.cloud.asset.v1.ResourceSearchR" + - "esult\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n\033Searc" + - "hAllIamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340" + - "A\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\034SearchAllIamPoliciesResponse\022=\n\007resu" + - "lts\030\001 \003(\0132,.google.cloud.asset.v1.IamPol" + - "icySearchResult\022\027\n\017next_page_token\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>.goo" + - "gle.cloud.asset.v1.IamPolicyAnalysisQuer" + - "y.ResourceSelectorB\003\340A\001\022^\n\021identity_sele" + - "ctor\030\003 \001(\0132>.google.cloud.asset.v1.IamPo" + - "licyAnalysisQuery.IdentitySelectorB\003\340A\001\022" + - "Z\n\017access_selector\030\004 \001(\0132<.google.cloud." + - "asset.v1.IamPolicyAnalysisQuery.AccessSe" + - "lectorB\003\340A\001\022K\n\007options\030\005 \001(\01325.google.cl" + - "oud.asset.v1.IamPolicyAnalysisQuery.Opti" + - "onsB\003\340A\001\022^\n\021condition_context\030\006 \001(\0132>.go" + - "ogle.cloud.asset.v1.IamPolicyAnalysisQue" + - "ry.ConditionContextB\003\340A\001\0323\n\020ResourceSele" + - "ctor\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\007Options\022\032\n\r" + - "expand_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\340" + - "A\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%analy" + - "ze_service_account_impersonation\030\006 \001(\010B\003" + - "\340A\001\032T\n\020ConditionContext\0221\n\013access_time\030\001" + - " \001(\0132\032.google.protobuf.TimestampH\000B\r\n\013Ti" + - "meContext\"\303\001\n\027AnalyzeIamPolicyRequest\022J\n" + - "\016analysis_query\030\001 \001(\0132-.google.cloud.ass" + - "et.v1.IamPolicyAnalysisQueryB\003\340A\002\022!\n\024sav" + - "ed_analysis_query\030\003 \001(\tB\003\340A\001\0229\n\021executio" + - "n_timeout\030\002 \001(\0132\031.google.protobuf.Durati" + - "onB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyResponse\022X\n\r" + - "main_analysis\030\001 \001(\0132A.google.cloud.asset" + - ".v1.AnalyzeIamPolicyResponse.IamPolicyAn" + - "alysis\022q\n&service_account_impersonation_" + - "analysis\030\002 \003(\0132A.google.cloud.asset.v1.A" + - "nalyzeIamPolicyResponse.IamPolicyAnalysi" + - "s\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021IamPolicyA" + - "nalysis\022E\n\016analysis_query\030\001 \001(\0132-.google" + - ".cloud.asset.v1.IamPolicyAnalysisQuery\022H" + - "\n\020analysis_results\030\002 \003(\0132..google.cloud." + - "asset.v1.IamPolicyAnalysisResult\022\026\n\016full" + - "y_explored\030\003 \001(\010\022J\n\023non_critical_errors\030" + - "\005 \003(\0132-.google.cloud.asset.v1.IamPolicyA" + - "nalysisState\"\264\004\n\035IamPolicyAnalysisOutput" + - "Config\022^\n\017gcs_destination\030\001 \001(\0132C.google" + - ".cloud.asset.v1.IamPolicyAnalysisOutputC" + - "onfig.GcsDestinationH\000\022h\n\024bigquery_desti" + - "nation\030\002 \001(\0132H.google.cloud.asset.v1.Iam" + - "PolicyAnalysisOutputConfig.BigQueryDesti" + - "nationH\000\032\"\n\016GcsDestination\022\020\n\003uri\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.asse" + - "t.v1.IamPolicyAnalysisOutputConfig.BigQu" + - "eryDestination.PartitionKey\022\036\n\021write_dis" + - "position\030\004 \001(\tB\003\340A\001\"?\n\014PartitionKey\022\035\n\031P" + - "ARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014REQUEST_TI" + - "ME\020\001B\r\n\013destination\"\345\001\n\"AnalyzeIamPolicy" + - "LongrunningRequest\022J\n\016analysis_query\030\001 \001" + - "(\0132-.google.cloud.asset.v1.IamPolicyAnal" + - "ysisQueryB\003\340A\002\022!\n\024saved_analysis_query\030\003" + - " \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001(\01324.googl" + - "e.cloud.asset.v1.IamPolicyAnalysisOutput" + - "ConfigB\003\340A\002\"%\n#AnalyzeIamPolicyLongrunni" + - "ngResponse\"\267\005\n\nSavedQuery\022\014\n\004name\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\007cr" + - "eator\030\004 \001(\tB\003\340A\003\0229\n\020last_update_time\030\005 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\031\n\014l" + - "ast_updater\030\006 \001(\tB\003\340A\003\022=\n\006labels\030\007 \003(\0132-" + - ".google.cloud.asset.v1.SavedQuery.Labels" + - "Entry\022?\n\007content\030\010 \001(\0132..google.cloud.as" + - "set.v1.SavedQuery.QueryContent\032s\n\014QueryC" + - "ontent\022R\n\031iam_policy_analysis_query\030\001 \001(" + - "\0132-.google.cloud.asset.v1.IamPolicyAnaly" + - "sisQueryH\000B\017\n\rquery_content\032-\n\013LabelsEnt" + - "ry\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/SavedQuery\022" + - "-projects/{project}/savedQueries/{saved_" + - "query}\022+folders/{folder}/savedQueries/{s" + - "aved_query}\0227organizations/{organization" + - "}/savedQueries/{saved_query}\"\261\001\n\027CreateS" + - "avedQueryRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&" + - "\022$cloudasset.googleapis.com/SavedQuery\022;" + - "\n\013saved_query\030\002 \001(\0132!.google.cloud.asset" + - ".v1.SavedQueryB\003\340A\002\022\033\n\016saved_query_id\030\003 " + - "\001(\tB\003\340A\002\"R\n\024GetSavedQueryRequest\022:\n\004name" + - "\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.googleapis.co" + - "m/SavedQuery\"\235\001\n\027ListSavedQueriesRequest" + - "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$cloudasset.goo" + - "gleapis.com/SavedQuery\022\023\n\006filter\030\004 \001(\tB\003" + - "\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_toke" + - "n\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueriesResponse" + - "\0228\n\rsaved_queries\030\001 \003(\0132!.google.cloud.a" + - "sset.v1.SavedQuery\022\027\n\017next_page_token\030\002 " + - "\001(\t\"\214\001\n\027UpdateSavedQueryRequest\022;\n\013saved" + - "_query\030\001 \001(\0132!.google.cloud.asset.v1.Sav" + - "edQueryB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog" + - "le.protobuf.FieldMaskB\003\340A\002\"U\n\027DeleteSave" + - "dQueryRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$clo" + - "udasset.googleapis.com/SavedQuery\"\326\001\n\022An" + - "alyzeMoveRequest\022\025\n\010resource\030\001 \001(\tB\003\340A\002\022" + - "\037\n\022destination_parent\030\002 \001(\tB\003\340A\002\022D\n\004view" + - "\030\003 \001(\01626.google.cloud.asset.v1.AnalyzeMo" + - "veRequest.AnalysisView\"B\n\014AnalysisView\022\035" + - "\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022" + - "\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveResponse\022:\n\rmov" + - "e_analysis\030\001 \003(\0132#.google.cloud.asset.v1" + - ".MoveAnalysis\"\222\001\n\014MoveAnalysis\022\024\n\014displa" + - "y_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\0132).google." + - "cloud.asset.v1.MoveAnalysisResultH\000\022#\n\005e" + - "rror\030\003 \001(\0132\022.google.rpc.StatusH\000B\010\n\006resu" + - "lt\"~\n\022MoveAnalysisResult\0223\n\010blockers\030\001 \003" + - "(\0132!.google.cloud.asset.v1.MoveImpact\0223\n" + - "\010warnings\030\002 \003(\0132!.google.cloud.asset.v1." + - "MoveImpact\"\034\n\nMoveImpact\022\016\n\006detail\030\001 \001(\t" + - "\"\327\001\n\027QueryAssetsOutputConfig\022`\n\024bigquery" + - "_destination\030\001 \001(\0132B.google.cloud.asset." + - "v1.QueryAssetsOutputConfig.BigQueryDesti" + - "nation\032Z\n\023BigQueryDestination\022\024\n\007dataset" + - "\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\031\n\021write" + - "_disposition\030\003 \001(\t\"\276\003\n\022QueryAssetsReques" + - "t\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.go" + - "ogleapis.com/Asset\022\030\n\tstatement\030\002 \001(\tB\003\340" + - "A\001H\000\022\034\n\rjob_reference\030\003 \001(\tB\003\340A\001H\000\022\026\n\tpa" + - "ge_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003" + - "\340A\001\022/\n\007timeout\030\006 \001(\0132\031.google.protobuf.D" + - "urationB\003\340A\001\022B\n\020read_time_window\030\007 \001(\0132!" + - ".google.cloud.asset.v1.TimeWindowB\003\340A\001H\001" + - "\0224\n\tread_time\030\010 \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\001H\001\022J\n\routput_config\030\t \001(\0132.." + - "google.cloud.asset.v1.QueryAssetsOutputC" + - "onfigB\003\340A\001B\007\n\005queryB\006\n\004time\"\360\001\n\023QueryAss" + - "etsResponse\022\025\n\rjob_reference\030\001 \001(\t\022\014\n\004do" + - "ne\030\002 \001(\010\022#\n\005error\030\003 \001(\0132\022.google.rpc.Sta" + - "tusH\000\022:\n\014query_result\030\004 \001(\0132\".google.clo" + - "ud.asset.v1.QueryResultH\000\022G\n\routput_conf" + - "ig\030\005 \001(\0132..google.cloud.asset.v1.QueryAs" + - "setsOutputConfigH\000B\n\n\010response\"\225\001\n\013Query" + - "Result\022%\n\004rows\030\001 \003(\0132\027.google.protobuf.S" + - "truct\0222\n\006schema\030\002 \001(\0132\".google.cloud.ass" + - "et.v1.TableSchema\022\027\n\017next_page_token\030\003 \001" + - "(\t\022\022\n\ntotal_rows\030\004 \001(\003\"F\n\013TableSchema\0227\n" + - "\006fields\030\001 \003(\0132\'.google.cloud.asset.v1.Ta" + - "bleFieldSchema\"v\n\020TableFieldSchema\022\r\n\005fi" + - "eld\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\014\n\004mode\030\003 \001(\t\0227\n" + - "\006fields\030\004 \003(\0132\'.google.cloud.asset.v1.Ta" + - "bleFieldSchema\"Y\n#BatchGetEffectiveIamPo" + - "liciesRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022" + - "\030\n\005names\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEf" + - "fectiveIamPoliciesResponse\022f\n\016policy_res" + - "ults\030\002 \003(\0132N.google.cloud.asset.v1.Batch" + - "GetEffectiveIamPoliciesResponse.Effectiv" + - "eIamPolicy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022ful" + - "l_resource_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132" + - "Y.google.cloud.asset.v1.BatchGetEffectiv" + - "eIamPoliciesResponse.EffectiveIamPolicy." + - "PolicyInfo\032N\n\nPolicyInfo\022\031\n\021attached_res" + - "ource\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam" + - ".v1.Policy\"\262\003\n\021AnalyzerOrgPolicy\022\031\n\021atta" + - "ched_resource\030\001 \001(\t\022\030\n\020applied_resource\030" + - "\005 \001(\t\022<\n\005rules\030\002 \003(\0132-.google.cloud.asse" + - "t.v1.AnalyzerOrgPolicy.Rule\022\033\n\023inherit_f" + - "rom_parent\030\003 \001(\010\022\r\n\005reset\030\004 \001(\010\032\375\001\n\004Rule" + - "\022L\n\006values\030\003 \001(\0132:.google.cloud.asset.v1" + - ".AnalyzerOrgPolicy.Rule.StringValuesH\000\022\023" + - "\n\tallow_all\030\004 \001(\010H\000\022\022\n\010deny_all\030\005 \001(\010H\000\022" + - "\021\n\007enforce\030\006 \001(\010H\000\022$\n\tcondition\030\007 \001(\0132\021." + - "google.type.Expr\032=\n\014StringValues\022\026\n\016allo" + - "wed_values\030\001 \003(\t\022\025\n\rdenied_values\030\002 \003(\tB" + - "\006\n\004kind\"\221\n\n\033AnalyzerOrgPolicyConstraint\022" + - "b\n\031google_defined_constraint\030\001 \001(\0132=.goo" + - "gle.cloud.asset.v1.AnalyzerOrgPolicyCons" + - "traint.ConstraintH\000\022`\n\021custom_constraint" + - "\030\002 \001(\0132C.google.cloud.asset.v1.AnalyzerO" + - "rgPolicyConstraint.CustomConstraintH\000\032\277\004" + - "\n\nConstraint\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + - "me\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022k\n\022constra" + - "int_default\030\004 \001(\0162O.google.cloud.asset.v" + - "1.AnalyzerOrgPolicyConstraint.Constraint" + - ".ConstraintDefault\022g\n\017list_constraint\030\005 " + - "\001(\0132L.google.cloud.asset.v1.AnalyzerOrgP" + - "olicyConstraint.Constraint.ListConstrain" + - "tH\000\022m\n\022boolean_constraint\030\006 \001(\0132O.google" + - ".cloud.asset.v1.AnalyzerOrgPolicyConstra" + - "int.Constraint.BooleanConstraintH\000\032=\n\016Li" + - "stConstraint\022\023\n\013supports_in\030\001 \001(\010\022\026\n\016sup" + - "ports_under\030\002 \001(\010\032\023\n\021BooleanConstraint\"L" + - "\n\021ConstraintDefault\022\"\n\036CONSTRAINT_DEFAUL" + - "T_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\021\n\017" + - "constraint_type\032\320\003\n\020CustomConstraint\022\014\n\004" + - "name\030\001 \001(\t\022\026\n\016resource_types\030\002 \003(\t\022d\n\014me" + - "thod_types\030\003 \003(\0162N.google.cloud.asset.v1" + - ".AnalyzerOrgPolicyConstraint.CustomConst" + - "raint.MethodType\022\021\n\tcondition\030\004 \001(\t\022c\n\013a" + - "ction_type\030\005 \001(\0162N.google.cloud.asset.v1" + - ".AnalyzerOrgPolicyConstraint.CustomConst" + - "raint.ActionType\022\024\n\014display_name\030\006 \001(\t\022\023" + - "\n\013description\030\007 \001(\t\"M\n\nMethodType\022\033\n\027MET" + - "HOD_TYPE_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UP" + - "DATE\020\002\022\n\n\006DELETE\020\003\">\n\nActionType\022\033\n\027ACTI" + - "ON_TYPE_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY" + - "\020\002B\027\n\025constraint_definition\"\222\001\n\031AnalyzeO" + - "rgPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n" + - "\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026" + - "\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_token\030\005 \001" + - "(\tB\014\n\n_page_size\"\370\002\n\032AnalyzeOrgPoliciesR" + - "esponse\022]\n\022org_policy_results\030\001 \003(\0132A.go" + - "ogle.cloud.asset.v1.AnalyzeOrgPoliciesRe" + - "sponse.OrgPolicyResult\022F\n\nconstraint\030\002 \001" + - "(\01322.google.cloud.asset.v1.AnalyzerOrgPo" + - "licyConstraint\022\027\n\017next_page_token\030\003 \001(\t\032" + - "\231\001\n\017OrgPolicyResult\022E\n\023consolidated_poli" + - "cy\030\001 \001(\0132(.google.cloud.asset.v1.Analyze" + - "rOrgPolicy\022?\n\rpolicy_bundle\030\002 \003(\0132(.goog" + - "le.cloud.asset.v1.AnalyzerOrgPolicy\"\242\001\n)" + - "AnalyzeOrgPolicyGovernedContainersReques" + - "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\027\n\nconstraint\030\002 \001(" + - "\tB\003\340A\002\022\016\n\006filter\030\003 \001(\t\022\026\n\tpage_size\030\004 \001(" + - "\005H\000\210\001\001\022\022\n\npage_token\030\005 \001(\tB\014\n\n_page_size" + - "\"\311\003\n*AnalyzeOrgPolicyGovernedContainersR" + - "esponse\022p\n\023governed_containers\030\001 \003(\0132S.g" + - "oogle.cloud.asset.v1.AnalyzeOrgPolicyGov" + - "ernedContainersResponse.GovernedContaine" + - "r\022F\n\nconstraint\030\002 \001(\01322.google.cloud.ass" + - "et.v1.AnalyzerOrgPolicyConstraint\022\027\n\017nex" + - "t_page_token\030\003 \001(\t\032\307\001\n\021GovernedContainer" + - "\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006parent\030\002" + - " \001(\t\022E\n\023consolidated_policy\030\003 \001(\0132(.goog" + - "le.cloud.asset.v1.AnalyzerOrgPolicy\022?\n\rp" + - "olicy_bundle\030\004 \003(\0132(.google.cloud.asset." + - "v1.AnalyzerOrgPolicy\"\236\001\n%AnalyzeOrgPolic" + - "yGovernedAssetsRequest\022\022\n\005scope\030\001 \001(\tB\003\340" + - "A\002\022\027\n\nconstraint\030\002 \001(\tB\003\340A\002\022\016\n\006filter\030\003 " + - "\001(\t\022\026\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npage_toke" + - "n\030\005 \001(\tB\014\n\n_page_size\"\200\007\n&AnalyzeOrgPoli" + - "cyGovernedAssetsResponse\022d\n\017governed_ass" + - "ets\030\001 \003(\0132K.google.cloud.asset.v1.Analyz" + - "eOrgPolicyGovernedAssetsResponse.Governe" + - "dAsset\022F\n\nconstraint\030\002 \001(\01322.google.clou" + - "d.asset.v1.AnalyzerOrgPolicyConstraint\022\027" + - "\n\017next_page_token\030\003 \001(\t\032v\n\020GovernedResou" + - "rce\022\032\n\022full_resource_name\030\001 \001(\t\022\016\n\006paren" + - "t\030\002 \001(\t\022\017\n\007project\030\005 \001(\t\022\017\n\007folders\030\006 \003(" + - "\t\022\024\n\014organization\030\007 \001(\t\032\215\001\n\021GovernedIamP" + - "olicy\022\031\n\021attached_resource\030\001 \001(\t\022%\n\006poli" + - "cy\030\002 \001(\0132\025.google.iam.v1.Policy\022\017\n\007proje" + - "ct\030\005 \001(\t\022\017\n\007folders\030\006 \003(\t\022\024\n\014organizatio" + - "n\030\007 \001(\t\032\206\003\n\rGovernedAsset\022k\n\021governed_re" + - "source\030\001 \001(\0132N.google.cloud.asset.v1.Ana" + - "lyzeOrgPolicyGovernedAssetsResponse.Gove" + - "rnedResourceH\000\022n\n\023governed_iam_policy\030\002 " + - "\001(\0132O.google.cloud.asset.v1.AnalyzeOrgPo" + - "licyGovernedAssetsResponse.GovernedIamPo" + - "licyH\000\022E\n\023consolidated_policy\030\003 \001(\0132(.go" + - "ogle.cloud.asset.v1.AnalyzerOrgPolicy\022?\n" + - "\rpolicy_bundle\030\004 \003(\0132(.google.cloud.asse" + - "t.v1.AnalyzerOrgPolicyB\020\n\016governed_asset" + - "*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_UNSPECI" + - "FIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\n" + - "ORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014OS_IN" + - "VENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\321 \n\014AssetSer" + - "vice\022\336\001\n\014ExportAssets\022*.google.cloud.ass" + - "et.v1.ExportAssetsRequest\032\035.google.longr" + - "unning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{parent=*" + - "/*}:exportAssets:\001*\312AW\n*google.cloud.ass" + - "et.v1.ExportAssetsResponse\022)google.cloud" + - ".asset.v1.ExportAssetsRequest\022\213\001\n\nListAs" + - "sets\022(.google.cloud.asset.v1.ListAssetsR" + - "equest\032).google.cloud.asset.v1.ListAsset" + - "sResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*}/asse" + - "ts\332A\006parent\022\262\001\n\025BatchGetAssetsHistory\0223." + - "google.cloud.asset.v1.BatchGetAssetsHist" + - "oryRequest\0324.google.cloud.asset.v1.Batch" + - "GetAssetsHistoryResponse\".\202\323\344\223\002(\022&/v1/{p" + - "arent=*/*}:batchGetAssetsHistory\022\177\n\nCrea" + - "teFeed\022(.google.cloud.asset.v1.CreateFee" + - "dRequest\032\033.google.cloud.asset.v1.Feed\"*\202" + - "\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A\006paren" + - "t\022t\n\007GetFeed\022%.google.cloud.asset.v1.Get" + - "FeedRequest\032\033.google.cloud.asset.v1.Feed" + - "\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A\004name\022" + - "\207\001\n\tListFeeds\022\'.google.cloud.asset.v1.Li" + - "stFeedsRequest\032(.google.cloud.asset.v1.L" + - "istFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{parent=*/" + - "*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(.googl" + - "e.cloud.asset.v1.UpdateFeedRequest\032\033.goo" + - "gle.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/v1/{fe" + - "ed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\nDelete" + - "Feed\022(.google.cloud.asset.v1.DeleteFeedR" + - "equest\032\026.google.protobuf.Empty\"%\202\323\344\223\002\030*\026" + - "/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022Search" + - "AllResources\0220.google.cloud.asset.v1.Sea" + - "rchAllResourcesRequest\0321.google.cloud.as" + - "set.v1.SearchAllResourcesResponse\"D\202\323\344\223\002", - "$\022\"/v1/{scope=*/*}:searchAllResources\332A\027" + - "scope,query,asset_types\022\273\001\n\024SearchAllIam" + - "Policies\0222.google.cloud.asset.v1.SearchA" + - "llIamPoliciesRequest\0323.google.cloud.asse" + - "t.v1.SearchAllIamPoliciesResponse\":\202\323\344\223\002" + - "&\022$/v1/{scope=*/*}:searchAllIamPolicies\332" + - "A\013scope,query\022\254\001\n\020AnalyzeIamPolicy\022..goo" + - "gle.cloud.asset.v1.AnalyzeIamPolicyReque" + - "st\032/.google.cloud.asset.v1.AnalyzeIamPol" + - "icyResponse\"7\202\323\344\223\0021\022//v1/{analysis_query" + - ".scope=*/*}:analyzeIamPolicy\022\270\002\n\033Analyze" + - "IamPolicyLongrunning\0229.google.cloud.asse" + - "t.v1.AnalyzeIamPolicyLongrunningRequest\032" + - "\035.google.longrunning.Operation\"\276\001\202\323\344\223\002?\"" + - ":/v1/{analysis_query.scope=*/*}:analyzeI" + - "amPolicyLongrunning:\001*\312Av\n9google.cloud." + - "asset.v1.AnalyzeIamPolicyLongrunningResp" + - "onse\0229google.cloud.asset.v1.AnalyzeIamPo" + - "licyLongrunningMetadata\022\214\001\n\013AnalyzeMove\022" + - ").google.cloud.asset.v1.AnalyzeMoveReque" + - "st\032*.google.cloud.asset.v1.AnalyzeMoveRe" + - "sponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}:analy" + - "zeMove\022\215\001\n\013QueryAssets\022).google.cloud.as" + - "set.v1.QueryAssetsRequest\032*.google.cloud" + - ".asset.v1.QueryAssetsResponse\"\'\202\323\344\223\002!\"\034/" + - "v1/{parent=*/*}:queryAssets:\001*\022\275\001\n\020Creat" + - "eSavedQuery\022..google.cloud.asset.v1.Crea" + - "teSavedQueryRequest\032!.google.cloud.asset" + - ".v1.SavedQuery\"V\202\323\344\223\002,\"\035/v1/{parent=*/*}" + - "/savedQueries:\013saved_query\332A!parent,save" + - "d_query,saved_query_id\022\215\001\n\rGetSavedQuery" + - "\022+.google.cloud.asset.v1.GetSavedQueryRe" + - "quest\032!.google.cloud.asset.v1.SavedQuery" + - "\",\202\323\344\223\002\037\022\035/v1/{name=*/*/savedQueries/*}\332" + - "A\004name\022\243\001\n\020ListSavedQueries\022..google.clo" + - "ud.asset.v1.ListSavedQueriesRequest\032/.go" + - "ogle.cloud.asset.v1.ListSavedQueriesResp" + - "onse\".\202\323\344\223\002\037\022\035/v1/{parent=*/*}/savedQuer" + - "ies\332A\006parent\022\277\001\n\020UpdateSavedQuery\022..goog" + - "le.cloud.asset.v1.UpdateSavedQueryReques" + - "t\032!.google.cloud.asset.v1.SavedQuery\"X\202\323" + - "\344\223\00282)/v1/{saved_query.name=*/*/savedQue" + - "ries/*}:\013saved_query\332A\027saved_query,updat" + - "e_mask\022\210\001\n\020DeleteSavedQuery\022..google.clo" + - "ud.asset.v1.DeleteSavedQueryRequest\032\026.go" + - "ogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1/{name=*" + - "/*/savedQueries/*}\332A\004name\022\316\001\n\034BatchGetEf" + - "fectiveIamPolicies\022:.google.cloud.asset." + - "v1.BatchGetEffectiveIamPoliciesRequest\032;" + - ".google.cloud.asset.v1.BatchGetEffective" + - "IamPoliciesResponse\"5\202\323\344\223\002/\022-/v1/{scope=" + - "*/*}/effectiveIamPolicies:batchGet\022\277\001\n\022A" + - "nalyzeOrgPolicies\0220.google.cloud.asset.v" + - "1.AnalyzeOrgPoliciesRequest\0321.google.clo" + - "ud.asset.v1.AnalyzeOrgPoliciesResponse\"D" + - "\202\323\344\223\002$\022\"/v1/{scope=*/*}:analyzeOrgPolici" + - "es\332A\027scope,constraint,filter\022\377\001\n\"Analyze" + - "OrgPolicyGovernedContainers\022@.google.clo" + - "ud.asset.v1.AnalyzeOrgPolicyGovernedCont" + - "ainersRequest\032A.google.cloud.asset.v1.An" + - "alyzeOrgPolicyGovernedContainersResponse" + - "\"T\202\323\344\223\0024\0222/v1/{scope=*/*}:analyzeOrgPoli" + - "cyGovernedContainers\332A\027scope,constraint," + - "filter\022\357\001\n\036AnalyzeOrgPolicyGovernedAsset" + - "s\022<.google.cloud.asset.v1.AnalyzeOrgPoli" + - "cyGovernedAssetsRequest\032=.google.cloud.a" + - "sset.v1.AnalyzeOrgPolicyGovernedAssetsRe" + - "sponse\"P\202\323\344\223\0020\022./v1/{scope=*/*}:analyzeO" + - "rgPolicyGovernedAssets\332A\027scope,constrain" + - "t,filter\032M\312A\031cloudasset.googleapis.com\322A" + - ".https://www.googleapis.com/auth/cloud-p" + - "latformB\221\001\n\031com.google.cloud.asset.v1B\021A" + - "ssetServiceProtoP\001Z/cloud.google.com/go/" + - "asset/apiv1/assetpb;assetpb\252\002\025Google.Clo" + - "ud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V1b\006pro" + - "to3" - }; - 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.StructProto.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_QueryAssetsOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor, - new java.lang.String[] { "BigqueryDestination", }); - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor = - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsOutputConfig_BigQueryDestination_descriptor, - new java.lang.String[] { "Dataset", "Table", "WriteDisposition", }); - internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_asset_v1_QueryAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsRequest_descriptor, - new java.lang.String[] { "Parent", "Statement", "JobReference", "PageSize", "PageToken", "Timeout", "ReadTimeWindow", "ReadTime", "OutputConfig", "Query", "Time", }); - internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_asset_v1_QueryAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryAssetsResponse_descriptor, - new java.lang.String[] { "JobReference", "Done", "Error", "QueryResult", "OutputConfig", "Response", }); - internal_static_google_cloud_asset_v1_QueryResult_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_asset_v1_QueryResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_QueryResult_descriptor, - new java.lang.String[] { "Rows", "Schema", "NextPageToken", "TotalRows", }); - internal_static_google_cloud_asset_v1_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_asset_v1_TableSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TableSchema_descriptor, - new java.lang.String[] { "Fields", }); - internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_asset_v1_TableFieldSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TableFieldSchema_descriptor, - new java.lang.String[] { "Field", "Type", "Mode", "Fields", }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - 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(51); - 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", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor, - new java.lang.String[] { "AttachedResource", "AppliedResource", "Rules", "InheritFromParent", "Reset", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor, - new java.lang.String[] { "Values", "AllowAll", "DenyAll", "Enforce", "Condition", "Kind", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicy_Rule_StringValues_descriptor, - new java.lang.String[] { "AllowedValues", "DeniedValues", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor, - new java.lang.String[] { "GoogleDefinedConstraint", "CustomConstraint", "ConstraintDefinition", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "ConstraintDefault", "ListConstraint", "BooleanConstraint", "ConstraintType", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_ListConstraint_descriptor, - new java.lang.String[] { "SupportsIn", "SupportsUnder", }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor = - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzerOrgPolicyConstraint_CustomConstraint_descriptor, - new java.lang.String[] { "Name", "ResourceTypes", "MethodTypes", "Condition", "ActionType", "DisplayName", "Description", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesRequest_descriptor, - new java.lang.String[] { "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor, - new java.lang.String[] { "OrgPolicyResults", "Constraint", "NextPageToken", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPoliciesResponse_OrgPolicyResult_descriptor, - new java.lang.String[] { "ConsolidatedPolicy", "PolicyBundle", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersRequest_descriptor, - new java.lang.String[] { "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor, - new java.lang.String[] { "GovernedContainers", "Constraint", "NextPageToken", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer_descriptor, - new java.lang.String[] { "FullResourceName", "Parent", "ConsolidatedPolicy", "PolicyBundle", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsRequest_descriptor, - new java.lang.String[] { "Scope", "Constraint", "Filter", "PageSize", "PageToken", "PageSize", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor, - new java.lang.String[] { "GovernedAssets", "Constraint", "NextPageToken", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource_descriptor, - new java.lang.String[] { "FullResourceName", "Parent", "Project", "Folders", "Organization", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy_descriptor, - new java.lang.String[] { "AttachedResource", "Policy", "Project", "Folders", "Organization", }); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset_descriptor, - new java.lang.String[] { "GovernedResource", "GovernedIamPolicy", "ConsolidatedPolicy", "PolicyBundle", "GovernedAsset", }); - 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.StructProto.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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index cf666128a512..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java deleted file mode 100644 index fb82dab2672d..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java deleted file mode 100644 index 66de7ef847e8..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java deleted file mode 100644 index d6416c9411ab..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java deleted file mode 100644 index 032e6dc27a07..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java b/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java deleted file mode 100644 index 55a6b3b6bd65..000000000000 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/QueryAssetsOutputConfigOrBuilder.java +++ /dev/null @@ -1,36 +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 QueryAssetsOutputConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.QueryAssetsOutputConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * BigQuery destination where the query results will be saved.
-   * 
- * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * @return Whether the bigqueryDestination field is set. - */ - boolean hasBigqueryDestination(); - /** - *
-   * BigQuery destination where the query results will be saved.
-   * 
- * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - * @return The bigqueryDestination. - */ - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination getBigqueryDestination(); - /** - *
-   * BigQuery destination where the query results will be saved.
-   * 
- * - * .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1; - */ - com.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); -} diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java deleted file mode 100644 index 109048f422cd..000000000000 --- a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java +++ /dev/null @@ -1,129 +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\"\302\002\n\030StandardResour" + - "ceMetadata\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\024\n\014display_name\030\004 " + - "\001(\t\022\023\n\013description\030\005 \001(\t\022\035\n\025additional_a" + - "ttributes\030\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006lab" + - "els\030\014 \003(\0132B.google.cloud.asset.v1p1beta1" + - ".StandardResourceMetadata.LabelsEntry\022\024\n" + - "\014network_tags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicy" + - "SearchResult\022\020\n\010resource\030\001 \001(\t\022\017\n\007projec" + - "t\030\003 \001(\t\022%\n\006policy\030\004 \001(\0132\025.google.iam.v1." + - "Policy\022T\n\013explanation\030\005 \001(\0132?.google.clo" + - "ud.asset.v1p1beta1.IamPolicySearchResult" + - ".Explanation\032\351\001\n\013Explanation\022t\n\023matched_" + - "permissions\030\001 \003(\0132W.google.cloud.asset.v" + - "1p1beta1.IamPolicySearchResult.Explanati" + - "on.MatchedPermissionsEntry\032d\n\027MatchedPer" + - "missionsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(" + - "\0132).google.cloud.asset.v1p1beta1.Permiss" + - "ions:\0028\001\"\"\n\013Permissions\022\023\n\013permissions\030\001" + - " \003(\tB\251\001\n com.google.cloud.asset.v1p1beta" + - "1B\nAssetProtoP\001Z6cloud.google.com/go/ass" + - "et/apiv1p1beta1/assetpb;assetpb\370\001\001\252\002\034Goo" + - "gle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud" + - "\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java deleted file mode 100644 index 7e557d49ae1d..000000000000 --- a/owl-bot-staging/java-asset/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\255" + - "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" + - "etServiceProtoP\001Z6cloud.google.com/go/as" + - "set/apiv1p1beta1/assetpb;assetpb\252\002\034Googl" + - "e.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud\\A" + - "sset\\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/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java deleted file mode 100644 index dc26749c58a8..000000000000 --- a/owl-bot-staging/java-asset/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java +++ /dev/null @@ -1,671 +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 interface AsyncService { - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AssetService. - *
-   * Asset service definition.
-   * 
- */ - public static abstract class AssetServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AssetServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AssetService. - *
-   * 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); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AssetService. - *
-   * 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); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService. - *
-   * 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - 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>( - service, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>( - service, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( - service, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>( - service, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_FEED))) - .build(); - } - - 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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java deleted file mode 100644 index e928c7937ebd..000000000000 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java +++ /dev/null @@ -1,108 +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\032googl" + - "e/iam/v1/policy.proto\032\034google/protobuf/s" + - "truct.proto\032\037google/protobuf/timestamp.p" + - "roto\"\216\001\n\rTemporalAsset\0228\n\006window\030\001 \001(\0132(" + - ".google.cloud.asset.v1p2beta1.TimeWindow" + - "\022\017\n\007deleted\030\002 \001(\010\0222\n\005asset\030\003 \001(\0132#.googl" + - "e.cloud.asset.v1p2beta1.Asset\"j\n\nTimeWin" + - "dow\022.\n\nstart_time\030\001 \001(\0132\032.google.protobu" + - "f.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.p" + - "rotobuf.Timestamp\"\241\001\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.v1p2beta1.Resource\022" + - ")\n\niam_policy\030\004 \001(\0132\025.google.iam.v1.Poli" + - "cy\022\021\n\tancestors\030\006 \003(\t\"\240\001\n\010Resource\022\017\n\007ve" + - "rsion\030\001 \001(\t\022\036\n\026discovery_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.StructB\251\001\n com.google." + - "cloud.asset.v1p2beta1B\nAssetProtoP\001Z6clo" + - "ud.google.com/go/asset/apiv1p2beta1/asse" + - "tpb;assetpb\370\001\001\252\002\034Google.Cloud.Asset.v1p2" + - "beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.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.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java deleted file mode 100644 index 7079ec7273ab..000000000000 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java +++ /dev/null @@ -1,245 +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\033" + - "google/protobuf/empty.proto\032 google/prot" + - "obuf/field_mask.proto\"u\n\021CreateFeedReque" + - "st\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\t" + - "B\003\340A\002\0225\n\004feed\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.googlea" + - "pis.com/Feed\"\'\n\020ListFeedsRequest\022\023\n\006pare" + - "nt\030\001 \001(\tB\003\340A\002\"F\n\021ListFeedsResponse\0221\n\005fe" + - "eds\030\001 \003(\0132\".google.cloud.asset.v1p2beta1" + - ".Feed\"\200\001\n\021UpdateFeedRequest\0225\n\004feed\030\001 \001(" + - "\0132\".google.cloud.asset.v1p2beta1.FeedB\003\340" + - "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu" + - "f.FieldMaskB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n" + - "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudasset.googleap" + - "is.com/Feed\"f\n\014OutputConfig\022G\n\017gcs_desti" + - "nation\030\001 \001(\0132,.google.cloud.asset.v1p2be" + - "ta1.GcsDestinationH\000B\r\n\013destination\"-\n\016G" + - "csDestination\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_u" + - "ri\"\"\n\021PubsubDestination\022\r\n\005topic\030\001 \001(\t\"p" + - "\n\020FeedOutputConfig\022M\n\022pubsub_destination" + - "\030\001 \001(\0132/.google.cloud.asset.v1p2beta1.Pu" + - "bsubDestinationH\000B\r\n\013destination\"\351\002\n\004Fee" + - "d\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).google.cloud.asset.v1p2beta1.Cont" + - "entType\022O\n\022feed_output_config\030\005 \001(\0132..go" + - "ogle.cloud.asset.v1p2beta1.FeedOutputCon" + - "figB\003\340A\002:\221\001\352A\215\001\n\036cloudasset.googleapis.c" + - "om/Feed\022\037projects/{project}/feeds/{feed}" + - "\022\035folders/{folder}/feeds/{feed}\022)organiz" + - "ations/{organization}/feeds/{feed} \001*I\n\013" + - "ContentType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020" + - "\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014Asse" + - "tService\022\224\001\n\nCreateFeed\022/.google.cloud.a" + - "sset.v1p2beta1.CreateFeedRequest\032\".googl" + - "e.cloud.asset.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v" + - "1p2beta1/{parent=*/*}/feeds:\001*\332A\006parent\022" + - "\211\001\n\007GetFeed\022,.google.cloud.asset.v1p2bet" + - "a1.GetFeedRequest\032\".google.cloud.asset.v" + - "1p2beta1.Feed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=" + - "*/*/feeds/*}\332A\004name\022\234\001\n\tListFeeds\022..goog" + - "le.cloud.asset.v1p2beta1.ListFeedsReques" + - "t\032/.google.cloud.asset.v1p2beta1.ListFee" + - "dsResponse\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*" + - "/*}/feeds\332A\006parent\022\227\001\n\nUpdateFeed\022/.goog" + - "le.cloud.asset.v1p2beta1.UpdateFeedReque" + - "st\032\".google.cloud.asset.v1p2beta1.Feed\"4" + - "\202\323\344\223\002\'2\"/v1p2beta1/{feed.name=*/*/feeds/" + - "*}:\001*\332A\004feed\022\203\001\n\nDeleteFeed\022/.google.clo" + - "ud.asset.v1p2beta1.DeleteFeedRequest\032\026.g" + - "oogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1" + - "/{name=*/*/feeds/*}\332A\004name\032M\312A\031cloudasse" + - "t.googleapis.com\322A.https://www.googleapi" + - "s.com/auth/cloud-platformB\255\001\n com.google" + - ".cloud.asset.v1p2beta1B\021AssetServiceProt" + - "oP\001Z6cloud.google.com/go/asset/apiv1p2be" + - "ta1/assetpb;assetpb\252\002\034Google.Cloud.Asset" + - ".V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta" + - "1b\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.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.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.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index 7e01ca30edd5..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java deleted file mode 100644 index 1e57a7098971..000000000000 --- a/owl-bot-staging/java-asset/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/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java deleted file mode 100644 index 0abf6836980d..000000000000 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java +++ /dev/null @@ -1,107 +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\031googl" + - "e/api/resource.proto\032)google/cloud/orgpo" + - "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" + - "olicy.proto\032:google/identity/accessconte" + - "xtmanager/v1/access_level.proto\032;google/" + - "identity/accesscontextmanager/v1/access_" + - "policy.proto\032?google/identity/accesscont" + - "extmanager/v1/service_perimeter.proto\032\034g" + - "oogle/protobuf/struct.proto\"\220\004\n\005Asset\022\014\n" + - "\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228\n\010resou" + - "rce\030\003 \001(\0132&.google.cloud.asset.v1p5beta1" + - ".Resource\022)\n\niam_policy\030\004 \001(\0132\025.google.i" + - "am.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.googl" + - "e.cloud.orgpolicy.v1.Policy\022N\n\raccess_po" + - "licy\030\007 \001(\01325.google.identity.accessconte" + - "xtmanager.v1.AccessPolicyH\000\022L\n\014access_le" + - "vel\030\010 \001(\01324.google.identity.accesscontex" + - "tmanager.v1.AccessLevelH\000\022V\n\021service_per" + - "imeter\030\t \001(\01329.google.identity.accesscon" + - "textmanager.v1.ServicePerimeterH\000\022\021\n\tanc" + - "estors\030\n \003(\t:\'\352A$\n\037cloudasset.googleapis" + - ".com/Asset\022\001*B\027\n\025access_context_policy\"\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\251\001\n com.google.cloud.asset.v1p5beta1B\n" + - "AssetProtoP\001Z6cloud.google.com/go/asset/" + - "apiv1p5beta1/assetpb;assetpb\370\001\001\252\002\034Google" + - ".Cloud.Asset.V1p5Beta1\312\002\034Google\\Cloud\\As" + - "set\\V1p5beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - 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.StructProto.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.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.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java deleted file mode 100644 index f5f6c25a2266..000000000000 --- a/owl-bot-staging/java-asset/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java +++ /dev/null @@ -1,109 +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\031google/api/resource.proto\032)goo" + - "gle/cloud/asset/v1p5beta1/assets.proto\032\037" + - "google/protobuf/timestamp.proto\"\370\001\n\021List" + - "AssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" + - "loudasset.googleapis.com/Asset\022-\n\tread_t" + - "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n" + - "\013asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\016" + - "2).google.cloud.asset.v1p5beta1.ContentT" + - "ype\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001" + - "(\t\"\221\001\n\022ListAssetsResponse\022-\n\tread_time\030\001" + - " \001(\0132\032.google.protobuf.Timestamp\0223\n\006asse" + - "ts\030\002 \003(\0132#.google.cloud.asset.v1p5beta1." + - "Asset\022\027\n\017next_page_token\030\003 \001(\t*l\n\013Conten" + - "tType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010R" + - "ESOURCE\020\001\022\016\n\nIAM_POLICY\020\002\022\016\n\nORG_POLICY\020" + - "\004\022\021\n\rACCESS_POLICY\020\0052\200\002\n\014AssetService\022\240\001" + - "\n\nListAssets\022/.google.cloud.asset.v1p5be" + - "ta1.ListAssetsRequest\0320.google.cloud.ass" + - "et.v1p5beta1.ListAssetsResponse\"/\202\323\344\223\002 \022" + - "\036/v1p5beta1/{parent=*/*}/assets\332A\006parent" + - "\032M\312A\031cloudasset.googleapis.com\322A.https:/" + - "/www.googleapis.com/auth/cloud-platformB" + - "\255\001\n com.google.cloud.asset.v1p5beta1B\021As" + - "setServiceProtoP\001Z6cloud.google.com/go/a" + - "sset/apiv1p5beta1/assetpb;assetpb\252\002\034Goog" + - "le.Cloud.Asset.V1P5Beta1\312\002\034Google\\Cloud\\" + - "Asset\\V1p5beta1b\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.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.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java deleted file mode 100644 index 46329d850465..000000000000 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java +++ /dev/null @@ -1,157 +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\031googl" + - "e/api/resource.proto\032)google/cloud/orgpo" + - "licy/v1/orgpolicy.proto\032\032google/iam/v1/p" + - "olicy.proto\032:google/identity/accessconte" + - "xtmanager/v1/access_level.proto\032;google/" + - "identity/accesscontextmanager/v1/access_" + - "policy.proto\032?google/identity/accesscont" + - "extmanager/v1/service_perimeter.proto\032\034g" + - "oogle/protobuf/struct.proto\032\037google/prot" + - "obuf/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\nasset_type\030\002 \001(\t\0228\n\010res" + - "ource\030\003 \001(\0132&.google.cloud.asset.v1p7bet" + - "a1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.google" + - ".iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.goo" + - "gle.cloud.orgpolicy.v1.Policy\022N\n\raccess_" + - "policy\030\007 \001(\01325.google.identity.accesscon" + - "textmanager.v1.AccessPolicyH\000\022L\n\014access_" + - "level\030\010 \001(\01324.google.identity.accesscont" + - "extmanager.v1.AccessLevelH\000\022V\n\021service_p" + - "erimeter\030\t \001(\01329.google.identity.accessc" + - "ontextmanager.v1.ServicePerimeterH\000\022C\n\016r" + - "elated_assets\030\r \001(\0132+.google.cloud.asset" + - ".v1p7beta1.RelatedAssets\022\021\n\tancestors\030\n " + - "\003(\t:\'\352A$\n\037cloudasset.googleapis.com/Asse" + - "t\022\001*B\027\n\025access_context_policy\"\262\001\n\010Resour" + - "ce\022\017\n\007version\030\001 \001(\t\022\036\n\026discovery_documen" + - "t_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014r" + - "esource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004dat" + - "a\030\006 \001(\0132\027.google.protobuf.Struct\022\020\n\010loca" + - "tion\030\010 \001(\t\"\242\001\n\rRelatedAssets\022U\n\027relation" + - "ship_attributes\030\001 \001(\01324.google.cloud.ass" + - "et.v1p7beta1.RelationshipAttributes\022:\n\006a" + - "ssets\030\002 \003(\0132*.google.cloud.asset.v1p7bet" + - "a1.RelatedAsset\"r\n\026RelationshipAttribute" + - "s\022\014\n\004type\030\004 \001(\t\022\034\n\024source_resource_type\030" + - "\001 \001(\t\022\034\n\024target_resource_type\030\002 \001(\t\022\016\n\006a" + - "ction\030\003 \001(\t\"j\n\014RelatedAsset\0223\n\005asset\030\001 \001" + - "(\tB$\372A!\n\037cloudasset.googleapis.com/Asset" + - "\022\022\n\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\tB" + - "\251\001\n com.google.cloud.asset.v1p7beta1B\nAs" + - "setProtoP\001Z6cloud.google.com/go/asset/ap" + - "iv1p7beta1/assetpb;assetpb\370\001\001\252\002\034Google.C" + - "loud.Asset.V1P7Beta1\312\002\034Google\\Cloud\\Asse" + - "t\\V1p7beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - 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.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.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.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java deleted file mode 100644 index 6a413362591b..000000000000 --- a/owl-bot-staging/java-asset/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java +++ /dev/null @@ -1,199 +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/longrunning/operations.proto\032\037google" + - "/protobuf/timestamp.proto\"\267\002\n\023ExportAsse" + - "tsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloud" + - "asset.googleapis.com/Asset\022-\n\tread_time\030" + - "\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013ass" + - "et_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).g" + - "oogle.cloud.asset.v1p7beta1.ContentType\022" + - "F\n\routput_config\030\005 \001(\0132*.google.cloud.as" + - "set.v1p7beta1.OutputConfigB\003\340A\002\022\032\n\022relat" + - "ionship_types\030\006 \003(\t\"\313\001\n\024ExportAssetsResp" + - "onse\022-\n\tread_time\030\001 \001(\0132\032.google.protobu" + - "f.Timestamp\022A\n\routput_config\030\002 \001(\0132*.goo" + - "gle.cloud.asset.v1p7beta1.OutputConfig\022A" + - "\n\routput_result\030\003 \001(\0132*.google.cloud.ass" + - "et.v1p7beta1.OutputResult\"\271\001\n\014OutputConf" + - "ig\022G\n\017gcs_destination\030\001 \001(\0132,.google.clo" + - "ud.asset.v1p7beta1.GcsDestinationH\000\022Q\n\024b" + - "igquery_destination\030\002 \001(\01321.google.cloud" + - ".asset.v1p7beta1.BigQueryDestinationH\000B\r" + - "\n\013destination\"]\n\014OutputResult\022C\n\ngcs_res" + - "ult\030\001 \001(\0132-.google.cloud.asset.v1p7beta1" + - ".GcsOutputResultH\000B\010\n\006result\"\037\n\017GcsOutpu" + - "tResult\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\n" + - "object_uri\"\273\001\n\023BigQueryDestination\022\024\n\007da" + - "taset\030\001 \001(\tB\003\340A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005" + - "force\030\003 \001(\010\022C\n\016partition_spec\030\004 \001(\0132+.go" + - "ogle.cloud.asset.v1p7beta1.PartitionSpec" + - "\022&\n\036separate_tables_per_asset_type\030\005 \001(\010" + - "\"\260\001\n\rPartitionSpec\022O\n\rpartition_key\030\001 \001(" + - "\01628.google.cloud.asset.v1p7beta1.Partiti" + - "onSpec.PartitionKey\"N\n\014PartitionKey\022\035\n\031P" + - "ARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_TIME\020" + - "\001\022\020\n\014REQUEST_TIME\020\002*~\n\013ContentType\022\034\n\030CO" + - "NTENT_TYPE_UNSPECIFIED\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\014RELATIONSHIP\020\0072\332\002\n\014AssetSer" + - "vice\022\372\001\n\014ExportAssets\0221.google.cloud.ass" + - "et.v1p7beta1.ExportAssetsRequest\032\035.googl" + - "e.longrunning.Operation\"\227\001\202\323\344\223\002)\"$/v1p7b" + - "eta1/{parent=*/*}:exportAssets:\001*\312Ae\n1go" + - "ogle.cloud.asset.v1p7beta1.ExportAssetsR" + - "esponse\0220google.cloud.asset.v1p7beta1.Ex" + - "portAssetsRequest\032M\312A\031cloudasset.googlea" + - "pis.com\322A.https://www.googleapis.com/aut" + - "h/cloud-platformB\255\001\n com.google.cloud.as" + - "set.v1p7beta1B\021AssetServiceProtoP\001Z6clou" + - "d.google.com/go/asset/apiv1p7beta1/asset" + - "pb;assetpb\252\002\034Google.Cloud.Asset.V1P7Beta" + - "1\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.longrunning.OperationsProto.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.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}